| /rockchip-linux_mpp/kmpp/base/inc/ |
| H A D | kmpp_obj_macro.h | 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 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 36 #define CONCAT_US5(a,b,c,d,e) a##_##b##_##c##_##d##_##e argument 37 #define CONCAT_US6(a,b,c,d,e,f) a##_##b##_##c##_##d##_##e##_##f 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 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 34 #define MPP_VSWAP(a, b) { a ^= b; b ^= a; a ^= b; } 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() 66 if (b < 0) { in axb_div_c() 68 b = -b; in axb_div_c() 78 if (b > a) { in axb_div_c() 79 tmp = b; in axb_div_c() 80 b = a; in axb_div_c() 89 while (((RK_U32)b >> right) > (RK_U32)c) 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() 459 *tail = b; in merge() 463 *tail = b; in merge() 464 tail = &b->next; in merge() 465 b = b->next; in merge() 466 if (!b) { 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() 498 tail->next = b; in merge_final() [all …]
|
| /rockchip-linux_mpp/mpp/vproc/iep2/ |
| H A D | iep2.h | 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/codec/ |
| H A D | mpp_rc.c | 36 #define DIV(a, b) (((a) + (SIGN(a) * (b)) / 2) / (b)) argument 169 RK_S32 b = p->div; 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/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 445 H264dRefsList_t *p1 = (H264dRefsList_t *)b; in compare_p() 465 RK_S32 compare_b0(const void *a, const void *b) in compare_b0() argument 469 H264dRefsList_t *p1 = (H264dRefsList_t *)b; in compare_b0() 495 RK_S32 compare_b1(const void *a, const void *b) in compare_b1() argument 499 H264dRefsList_t *p1 = (H264dRefsList_t *)b; in compare_b1()
|
| /rockchip-linux_mpp/mpp/codec/dec/vp9/ |
| H A D | vpx_rac.c | 22 static unsigned int bytestream_get_ ## name(const uint8_t **b) \ 24 (*b) += bytes; \ 25 return read(*b - bytes); \
|
| H A D | vp9d_parser.h | 115 VP9Block *b_base, *b; member
|
| /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/mpp/codec/rc/ |
| H A D | rc_base.c | 35 #define DIV(a, b) (((a) + (SIGN(a) * (b)) / 2) / (b)) argument
|
| /rockchip-linux_mpp/inc/ |
| H A D | mpp_meta.h | 12 #define FOURCC_META(a, b, c, d) ((RK_U32)(a) << 24 | \ argument 13 ((RK_U32)(b) << 16) | \
|
| /rockchip-linux_mpp/mpp/hal/rkdec/h265d/ |
| H A D | hal_h265d_vdpu382.c | 68 RK_U32 b; member 526 RK_U32 b = filterd_fbc_on[ctu_idx][chroma_fmt_idc].b; in h265d_refine_rcb_size() local 528 rcb_bits = height * (a * bit_depth + b); in h265d_refine_rcb_size() 532 RK_U32 b = filterd_fbc_off[ctu_idx][chroma_fmt_idc].b; in h265d_refine_rcb_size() local 534 rcb_bits = height * (a * bit_depth + b); in h265d_refine_rcb_size() 607 #define pocdistance(a, b) (((a) > (b)) ? ((a) - (b)) : ((b) - (a))) argument
|
| H A D | hal_h265d_vdpu34x.c | 70 RK_U32 b; member 754 RK_U32 b = filterd_fbc_on[ctu_idx][chroma_fmt_idc].b; in h265d_refine_rcb_size() local 756 rcb_bits = height * (a * bit_depth + b); in h265d_refine_rcb_size() 760 RK_U32 b = filterd_fbc_off[ctu_idx][chroma_fmt_idc].b; in h265d_refine_rcb_size() local 762 rcb_bits = height * (a * bit_depth + b + (bit_depth == 10 ? 16 : 0)); in h265d_refine_rcb_size() 836 #define pocdistance(a, b) (((a) > (b)) ? ((a) - (b)) : ((b) - (a))) argument
|
| H A D | hal_h265d_vdpu384a.c | 38 RK_U32 b; member 49 #define pocdistance(a, b) (((a) > (b)) ? ((a) - (b)) : ((b) - (a))) argument
|
| H A D | hal_h265d_vdpu383.c | 39 RK_U32 b; member 70 #define pocdistance(a, b) (((a) > (b)) ? ((a) - (b)) : ((b) - (a))) argument
|
| /rockchip-linux_mpp/mpp/hal/rkdec/ |
| H A D | vdpu34x_com.c | 112 static RK_S32 vdpu34x_compare_rcb_size(const void *a, const void *b) in vdpu34x_compare_rcb_size() argument 115 Vdpu34xRcbInfo *p1 = (Vdpu34xRcbInfo *)b; in vdpu34x_compare_rcb_size()
|
| H A D | vdpu382_com.c | 112 RK_S32 vdpu382_compare_rcb_size(const void *a, const void *b) in vdpu382_compare_rcb_size() argument 116 Vdpu382RcbInfo *p1 = (Vdpu382RcbInfo *)b; in vdpu382_compare_rcb_size()
|
| H A D | vdpu383_com.c | 99 RK_S32 vdpu383_compare_rcb_size(const void *a, const void *b) in vdpu383_compare_rcb_size() argument 103 Vdpu383RcbInfo *p1 = (Vdpu383RcbInfo *)b; in vdpu383_compare_rcb_size()
|
| H A D | vdpu384a_com.c | 111 RK_S32 vdpu384a_compare_rcb_size(const void *a, const void *b) in vdpu384a_compare_rcb_size() argument 115 Vdpu384aRcbInfo *p1 = (Vdpu384aRcbInfo *)b; in vdpu384a_compare_rcb_size()
|
| /rockchip-linux_mpp/test/ |
| H A D | mpi_rc2_test.c | 269 int b = 0; in ssim_4x4x2_core() local 279 b = pix2[x + y * stride2]; in ssim_4x4x2_core() 281 s2 += b; in ssim_4x4x2_core() 283 ss += b * b; in ssim_4x4x2_core() 284 s12 += a * b; in ssim_4x4x2_core()
|
| /rockchip-linux_mpp/mpp/vproc/rga/ |
| H A D | rga.h | 103 RK_U8 b; member
|
| /rockchip-linux_mpp/ |
| H A D | readme.txt | 11 b. module internal header file should be put along with the implement file. 16 b. use cmake out-of-source build, final binary and library will be install to 20 b. system header
|