| /rockchip-linux_mpp/kmpp/base/inc/ |
| H A D | kmpp_obj_macro.h | 21 #define CONCAT_1(a) a argument 22 #define CONCAT_2(a,b) a##b argument 23 #define CONCAT_3(a,b,c) a##b##c argument 24 #define CONCAT_4(a,b,c,d) a##b##c##d argument 25 #define CONCAT_5(a,b,c,d,e) a##b##c##d##e argument 26 #define CONCAT_6(a,b,c,d,e,f) a##b##c##d##e##f argument 32 #define CONCAT_US1(a) a argument 33 #define CONCAT_US2(a,b) a##_##b argument 34 #define CONCAT_US3(a,b,c) a##_##b##_##c argument 35 #define CONCAT_US4(a,b,c,d) a##_##b##_##c##_##d argument [all …]
|
| /rockchip-linux_mpp/osal/inc/ |
| H A D | mpp_common.h | 15 #define MPP_MAX(a, b) ((a) > (b) ? (a) : (b)) argument 16 #define MPP_MAX3(a, b, c) MPP_MAX(MPP_MAX(a,b),c) argument 17 #define MPP_MAX4(a, b, c, d) MPP_MAX((a), MPP_MAX3((b), (c), (d))) argument 19 #define MPP_MIN(a,b) ((a) > (b) ? (b) : (a)) argument 20 #define MPP_MIN3(a,b,c) MPP_MIN(MPP_MIN(a,b),c) argument 21 #define MPP_MIN4(a, b, c, d) MPP_MIN((a), MPP_MIN3((b), (c), (d))) argument 23 #define MPP_DIV(a, b) ((b) ? (a) / (b) : (a)) argument 26 #define MPP_SIGN(a) ((a) < (0) ? (-1) : (1)) argument 27 #define MPP_DIV_SIGN(a, b) (((a) + (MPP_SIGN(a) * (b)) / 2) / (b)) argument 29 #define MPP_SWAP(type, a, b) do {type SWAP_tmp = b; b = a; a = SWAP_tmp;} while(0) argument [all …]
|
| /rockchip-linux_mpp/osal/ |
| H A D | mpp_common.c | 49 RK_S32 axb_div_c(RK_S32 a, RK_S32 b, RK_S32 c) in axb_div_c() argument 57 if (a == 0 || b == 0) in axb_div_c() 59 else if ((a * b / b) == a && c != 0) in axb_div_c() 60 return (a * b / c); in axb_div_c() 62 if (a < 0) { in axb_div_c() 64 a = -a; in axb_div_c() 78 if (b > a) { in axb_div_c() 80 b = a; in axb_div_c() 81 a = tmp; in axb_div_c() 84 for (--left; (((RK_U32)a << left) >> left) != (RK_U32)a; --left) in axb_div_c() [all …]
|
| H A D | mpp_list.c | 448 struct list_head *a, struct list_head *b) in merge() argument 454 if (cmp(priv, a, b) <= 0) { in merge() 455 *tail = a; in merge() 456 tail = &a->next; in merge() 457 a = a->next; in merge() 458 if (!a) { in merge() 467 *tail = a; in merge() 483 struct list_head *a, struct list_head *b) in merge_final() argument 490 if (cmp(priv, a, b) <= 0) { in merge_final() 491 tail->next = a; in merge_final() [all …]
|
| /rockchip-linux_mpp/mpp/vproc/iep2/ |
| H A D | iep2.h | 35 #define RKCLIP(a, min, max) ((a < min) ? (min) : ((a > max) ? max : a)) argument 36 #define RKABS(a) (RK_U32)(((a) >= 0) ? (a) : -(a)) argument 37 #define RKMIN(a, b) (((a) < (b)) ? (a) : (b)) argument 38 #define RKMAX(a, b) (((a) > (b)) ? (a) : (b)) argument
|
| H A D | iep2_pd.c | 32 #define RKMIN(a, b) (((a) < (b)) ? (a) : (b)) argument 33 #define RKMAX(a, b) (((a) > (b)) ? (a) : (b)) argument
|
| /rockchip-linux_mpp/mpp/vproc/inc/ |
| H A D | vdpp_api.h | 14 #define CEIL(a) (int)( (double)(a) > (int)(a) ? (int)((a)+1) : (int)(a) ) argument 15 #define FLOOR(a) (int)( (double)(a) < (int)(a) ? (int)((a)-1) : (int)(a) ) argument 16 #define ROUND(a) (int)( (a) > 0 ? ((double) (a) + 0.5) : ((double) (a) - 0.5) ) argument
|
| /rockchip-linux_mpp/tools/ |
| H A D | mpp_doxyfile | 4 # doxygen (www.doxygen.org) for a project. 6 # All text after a double hash (##) is considered a comment and is placed in 9 # All text after a single hash (#) is considered a comment and will be ignored. 29 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded by 32 # title of most generated pages and in a few other places. 37 # The PROJECT_NUMBER tag can be used to enter a project or revision number. This 44 # for a project that appears at the top of each page and should give viewer a 57 # into which the generated documentation will be written. If a relative path is 66 # option can be useful when feeding doxygen a huge amount of source files, where 96 # description of a member or function before the detailed description [all …]
|
| /rockchip-linux_mpp/mpp/codec/ |
| H A D | mpp_rc.c | 35 #define SIGN(a) ((a) < (0) ? (-1) : (1)) argument 36 #define DIV(a, b) (((a) + (SIGN(a) * (b)) / 2) / (b)) argument 168 RK_S32 a = p->p * p->coef_p + p->i * p->coef_i + p->d * p->coef_d; in mpp_pid_calc() local 174 mpp_rc_dbg_rc("RC: pid ctx %p a %10d b %d\n", p, a, b); in mpp_pid_calc() 176 return DIV(a, b); in mpp_pid_calc()
|
| /rockchip-linux_mpp/LICENSES/ |
| H A D | Apache-2.0 | 5 pair into a comment according to the placement guidelines in the 42 or translation of a Source form, including but not limited to compiled 46 made available under the License, as indicated by a copyright notice that 53 a whole, an original work of authorship. For the purposes of this License, 69 marked or otherwise designated in writing by the copyright owner as "Not a 73 behalf of whom a Contribution has been received by Licensor and 77 License, each Contributor hereby grants to You a perpetual, worldwide, 84 License, each Contributor hereby grants to You a perpetual, worldwide, 92 against any entity (including a cross-claim or counterclaim in a 93 lawsuit) alleging that the Work or a Contribution incorporated within [all …]
|
| H A D | MIT | 4 To use the MIT License put the following SPDX tag/value pair into a 14 Permission is hereby granted, free of charge, to any person obtaining a
|
| /rockchip-linux_mpp/doc/design/ |
| H A D | 4.mpp_task.txt | 30 thread. Each task queue has two port: input port and output port. And from a 37 successfully enqueue a task then the task is on this status. 39 INPUT_HOLD : When input port user successfully dequeue a task then the task is 42 OUTPUT_PORT: When input port user successfully enqueue a task then the task is 46 OUTPUT_HOLD: When output port user successfully dequeue a task then the task is 50 There are three transaction functions on a port: poll / dequeue / enqueue. 80 Mpp task transaction of a complete work flow
|
| H A D | 2.kernel_driver.txt | 6 The first one is vcodec_service/vpu_service/mpp_service which is a high 61 will have a kernel session. Client will commit tasks to session. Then hardware 65 When client commits a task to kernel the task will be set to waiting status and 67 get task from waiting list to running list and run. When hardware finishs a task
|
| H A D | 1.mpp_design.txt | 4 The mpp is a middleware library for Rockchip SoC's cross platform media process. 13 The first one is vcodec_service/vpu_service/mpp_service which is a high 100 provides a general call flow for different video format. Software process will 102 hardware with a common task interface which combines the buffer information and
|
| H A D | 3.mpp_buffer.txt | 18 unused list for later reuse. There is a good reason for doing so. When video 19 resolution comes to 4K the buffer size will be above 12M. It will take a long
|
| /rockchip-linux_mpp/mpp/hal/rkdec/h264d/ |
| H A D | hal_h264d_vdpu_com.h | 112 RK_S32 compare_p(const void *a, const void *b); 113 RK_S32 compare_b0(const void *a, const void *b); 114 RK_S32 compare_b1(const void *a, const void *b);
|
| H A D | hal_h264d_vdpu_com.c | 441 RK_S32 compare_p(const void *a, const void *b) in compare_p() argument 444 H264dRefsList_t *p0 = (H264dRefsList_t *)a; in compare_p() 465 RK_S32 compare_b0(const void *a, const void *b) in compare_b0() argument 468 H264dRefsList_t *p0 = (H264dRefsList_t *)a; in compare_b0() 495 RK_S32 compare_b1(const void *a, const void *b) in compare_b1() argument 498 H264dRefsList_t *p0 = (H264dRefsList_t *)a; in compare_b1()
|
| /rockchip-linux_mpp/mpp/codec/rc/ |
| H A D | rc_base.c | 34 #define SIGN(a) ((a) < (0) ? (-1) : (1)) argument 35 #define DIV(a, b) (((a) + (SIGN(a) * (b)) / 2) / (b)) argument
|
| /rockchip-linux_mpp/build/android/ |
| H A D | README.md | 3 CMake is great, and so is Android. This is a collection of CMake scripts that may be useful to the … 31 To build a cmake-based C/C++ project for Android you need: 45 …get to explicitly specify `Release` or `Debug` because CMake builds without a build configuration … 51 * `Release` builds without debug info (without `-g`) (because _ndk-build_ always creates a stripped… 78 … API to build for. Can be set either to full name (example: `android-8`) or a numeric value (examp… 103 * `gabi++_static` - use the GAbi++ runtime as a static library. 106 * `gabi++_shared` - use the GAbi++ runtime as a shared library. 109 * `stlport_static` - use the STLport runtime as a static library. 112 * `stlport_shared` - use the STLport runtime as a shared library. 115 * **`gnustl_static`** - use the GNU STL as a static library. [all …]
|
| H A D | android.toolchain.cmake | 135 # gabi++_static -> Use the GAbi++ runtime as a static library. 139 # gabi++_shared -> Use the GAbi++ runtime as a shared library. 143 # stlport_static -> Use the STLport runtime as a static library. 147 # stlport_shared -> Use the STLport runtime as a shared library. 151 # gnustl_static -> Use the GNU STL as a static library. 153 # gnustl_shared -> Use the GNU STL as a shared library. 405 …message( STATUS " If you prefer to use a different location, please define a cmake or environment… 412 …message( STATUS " If you prefer to use a different location, please define the variable: ANDROID_… 424 …STRINGS "${ANDROID_NDK}/RELEASE.TXT" ANDROID_NDK_RELEASE_FULL LIMIT_COUNT 1 REGEX "r[0-9]+[a-z]?" ) 425 string( REGEX MATCH "r([0-9]+)([a-z]?)" ANDROID_NDK_RELEASE "${ANDROID_NDK_RELEASE_FULL}" ) [all …]
|
| /rockchip-linux_mpp/mpp/codec/dec/jpeg/ |
| H A D | jpegd_parser.h | 28 #define JPEG_IDENTIFIER(a, b, c, d) \ argument 30 ((RK_U32)(b) << 16) | ((RK_U32)(a) << 24))
|
| /rockchip-linux_mpp/debian/ |
| H A D | changelog | 48 * [osal]: fixup for a compiler warning 57 * [m2vd]: a various of fixup 160 * [drm]: fix a various of bugs in drm allocator 203 * [pkgconfig]: offer a sample for pkgconfig 204 * [build]: a simple build rules 229 * [mpp]: a fixup for wrong place scope symbols 245 * build: a simple build rules
|
| H A D | copyright | 10 You may obtain a copy of the License at 35 You should have received a copy of the GNU General Public License 41 # Please also look if there are files or directories which have a
|
| /rockchip-linux_mpp/mpp/ |
| H A D | CMakeLists.txt | 77 COMMAND ${CMAKE_AR} rcs lib${MPP_SHARED}.a *.o 79 COMMAND ${CMAKE_STRIP} --strip-debug lib${MPP_SHARED}.a
|
| /rockchip-linux_mpp/ |
| H A D | readme.txt | 10 a. inc directory in each module folder is for external module usage. 15 a. for cross platform compiling use cmake as the compiling management system. 19 a. MODULE_TAG 270 and generates a protocol standard output. This output will be send to HAL to 351 Easy to use and get a demo quickly 355 2. The decoder memory usage can not be control. Decoder is on a free-to-run
|