| /rockchip-linux_mpp/mpp/hal/vpu/h264e/ |
| H A D | hal_h264e_vepu2_reg_tbl.h | 26 #define VEPU_REG_VP8_QUT_DC_Y2(x) (((x) & 0x3fff) << 16) argument 27 #define VEPU_REG_VP8_QUT_DC_Y1(x) (((x) & 0x3fff) << 0) argument 29 #define VEPU_REG_VP8_QUT_AC_Y1(x) (((x) & 0x3fff) << 16) argument 30 #define VEPU_REG_VP8_QUT_DC_CHR(x) (((x) & 0x3fff) << 0) argument 32 #define VEPU_REG_VP8_QUT_AC_CHR(x) (((x) & 0x3fff) << 16) argument 33 #define VEPU_REG_VP8_QUT_AC_Y2(x) (((x) & 0x3fff) << 0) argument 35 #define VEPU_REG_VP8_QUT_ZB_DC_CHR(x) (((x) & 0x1ff) << 18) argument 36 #define VEPU_REG_VP8_QUT_ZB_DC_Y2(x) (((x) & 0x1ff) << 9) argument 37 #define VEPU_REG_VP8_QUT_ZB_DC_Y1(x) (((x) & 0x1ff) << 0) argument 39 #define VEPU_REG_VP8_QUT_ZB_AC_CHR(x) (((x) & 0x1ff) << 18) argument [all …]
|
| H A D | hal_h264e_vepu1_reg_tbl.h | 36 #define VEPU_REG_AXI_CTRL_WRITE_ID(x) (((x) & 0xff) << 24) argument 37 #define VEPU_REG_AXI_CTRL_READ_ID(x) (((x) & 0xff) << 16) argument 40 #define VEPU_REG_INPUT_SWAP16_(x) (((x) & 1) << 14) argument 41 #define VEPU_REG_AXI_CTRL_BURST_LEN(x) (((x) & 0x3f) << 8) argument 48 #define VEPU_REG_INPUT_SWAP32_(x) (((x) & 1) << 2) argument 51 #define VEPU_REG_INPUT_SWAP8_(x) ((x) & 1) argument 70 #define VEPU_REG_MB_WIDTH(x) (((x) & 0x1ff) << 19) argument 71 #define VEPU_REG_MB_HEIGHT(x) (((x) & 0x1ff) << 10) argument 73 #define VEPU_REG_PIC_TYPE(x) (((x) & 0x3) << 3) argument 74 #define VEPU_REG_ENCODE_FORMAT(x) (((x) & 0x3) << 1) argument [all …]
|
| /rockchip-linux_mpp/osal/inc/ |
| H A D | mpp_common.h | 13 #define MPP_ABS(x) ((x) < (0) ? -(x) : (x)) argument 31 #define MPP_ALIGN(x, a) (((x)+(a)-1)&~((a)-1)) argument 32 #define MPP_ALIGN_DOWN(x, a) ((x)&~((a)-1)) argument 33 #define MPP_ALIGN_GEN(x, a) (((x)+(a)-1)/(a)*(a)) argument 38 #define MPP_RB16(x) ((((const RK_U8*)(x))[0] << 8) | ((const RK_U8*)(x))[1]) argument 43 #define MPP_RL16(x) ((((const RK_U8*)(x))[1] << 8) | \ argument 49 #define MPP_RB32(x) ((((const RK_U8*)(x))[0] << 24) | \ argument 59 #define MPP_RL32(x) ((((const RK_U8*)(x))[3] << 24) | \ argument 69 #define MPP_RB64(x) (((RK_U64)((const RK_U8*)(x))[0] << 56) | \ argument 87 #define MPP_RL64(x) (((RK_U64)((const RK_U8*)(x))[7] << 56) | \ argument [all …]
|
| H A D | mpp_singleton.h | 63 #define SNGL_TO_STR(x) #x argument 64 #define SNGL_TO_FUNC(x) __mpp_singleton_add_##x argument
|
| H A D | mpp_time.h | 13 #define msleep(x) usleep((x)*1000) argument
|
| H A D | mpp_debug.h | 74 #define MPP_STRINGS(x) MPP_TO_STRING(x) argument 75 #define MPP_TO_STRING(x) #x argument
|
| H A D | mpp_hash.h | 184 #define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) argument
|
| /rockchip-linux_mpp/mpp/codec/dec/avs2/ |
| H A D | avs2d_parse.c | 33 #define AVS2_ISPIC(x) ((x) == 0xB3 || (x) == 0xB6) argument 34 #define AVS2_ISUNIT(x) ((x) == 0xB0 || (x) == 0xB1 || (x) == 0xB2 || AVS2_ISPIC(x)) argument 35 #define AVS2_IS_START_CODE(x) (((x) & 0xffffff00) == 0x100) argument 37 #define AVS2_IS_SLICE_START_CODE(x) ((x) >= AVS2_SLICE_MIN_START_CODE && (x) <= AVS2_SLICE_MAX_STAR… argument 38 #define AVS2_IS_HEADER(x) ((x) >= AVS2_VIDEO_SEQUENCE_START_CODE && (x) <= AVS2_VIDEO_EDIT_CODE) argument 39 #define AVS2_IS_PIC_START_CODE(x) ((x) == AVS2_I_PICTURE_START_CODE || (x) == AVS2_PB_PICTURE_START… argument
|
| /rockchip-linux_mpp/kmpp/base/inc/ |
| H A D | kmpp_obj_macro.h | 17 #define _TO_STR(x) #x argument 18 #define TO_STR(x) _TO_STR(x) argument 65 #define KMPP_OBJ_DEF(x) CONCAT_US(x, def) argument 66 #define KMPP_OBJ_DEF_DEUBG(x) CONCAT_US(x, debug) argument 108 #define FLAG_BASE(x) ((0 & 0xff) | ((0 & 0xf) << 8) | (ELEM_FLAG_START << 12) | (0 << 16) | (0 … argument 109 #define FLAG_AT(x) ((x & 0xff) | ((0 & 0xf) << 8) | (ELEM_FLAG_OFFSET << 12) | (0 << 16) | (0 … argument 112 #define FLAG_REC(s, x) ((x & 0xff) | ((s & 0xf) << 8) | (ELEM_FLAG_OFFSET << 12) | (1 << 16) | (0 … argument
|
| /rockchip-linux_mpp/mpp/codec/enc/h265/ |
| H A D | h265e_enctropy.c | 27 #define CLZ32(id, x) id = (unsigned long)__builtin_clz(x) ^ 31 argument 29 #define CLZ32(id, x) _BitScanReverse(&id, x) argument
|
| /rockchip-linux_mpp/mpp/codec/dec/vp8/ |
| H A D | vp8d_data.h | 28 #define swap32bit(x) ((x>>24)|((x>>8)&0xff00)|((x<<8)&0xff0000)|(x<<24)) argument
|
| /rockchip-linux_mpp/utils/ |
| H A D | mpp_enc_roi_utils.h | 25 RK_U16 x; /**< horizontal position of top left corner */ member
|
| H A D | utils.c | 375 RK_U32 y = 0, x = 0; in calc_frm_crc() local 671 RK_U32 x, y; in fill_MPP_FMT_YUV420SP() local 695 RK_U32 x, y; in fill_MPP_FMT_YUV422SP() local 712 static void get_rgb_color(RK_U32 *R, RK_U32 *G, RK_U32 *B, RK_S32 x, RK_S32 y, RK_S32 frm_cnt) in get_rgb_color() 1083 RK_U32 x, y, i; in fill_image() local
|
| /rockchip-linux_mpp/mpp/vproc/iep2/ |
| H A D | iep2_roi.h | 25 int x; member
|
| H A D | iep2_gmv.c | 106 int8_t x = map[i] - MVL; in iep2_update_gmv() local
|
| /rockchip-linux_mpp/inc/ |
| H A D | rk_type.h | 84 #define RK_UNUSED(x) ((void)((x))) argument 94 #define rk_unused(x) ((void)((x))) argument
|
| /rockchip-linux_mpp/test/ |
| H A D | mpi_rc2_test.c | 184 RK_U32 x, y; in mpi_rc_calc_psnr() local 270 int x = 0; in ssim_4x4x2_core() local 300 int x = 0; in calc_ssim() local 946 #define CHECK_RET(x) do { \ argument
|
| H A D | mpp_parse_cfg.c | 13 #define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) argument
|
| H A D | vpu_api_test.c | 16 #define BSWAP32(x) \ argument
|
| /rockchip-linux_mpp/mpp/codec/dec/av1/ |
| H A D | av1d_parser.c | 169 RK_S32 x = decode_unsigned_subexp_with_ref(sub_exp, high - low, r - low); in decode_signed_subexp_with_ref() local 217 static RK_U16 round_two(RK_U64 x, RK_U16 n) in round_two() 224 static RK_S64 round_two_signed(RK_S64 x, RK_U16 n) in round_two_signed()
|
| /rockchip-linux_mpp/mpp/codec/dec/h265/ |
| H A D | h265d_refs.c | 35 #define HEVC_ALIGN(value, x) ((value + (x-1)) & (~(x-1))) argument
|
| /rockchip-linux_mpp/mpp/hal/vpu/vp8e/ |
| H A D | hal_vp8e_base.c | 143 RK_U32 x, y, mb, mask, id; in set_segmentation() local 531 RK_S32 y, x; in set_new_frame() local
|
| /rockchip-linux_mpp/osal/linux/ |
| H A D | drm_mode.h | 135 __u32 x, y; /**< Position on the frameuffer */ member 431 __s32 x; member 442 __s32 x; member
|
| /rockchip-linux_mpp/mpp/base/ |
| H A D | mpp_meta.c | 32 #define WRITE_ONCE(x, val) ((*(volatile typeof(x) *) &(x)) = (val)) argument
|
| /rockchip-linux_mpp/mpp/hal/rkenc/common/ |
| H A D | vepu541_common.c | 57 RK_S32 x, y; in vepu541_set_one_roi() local
|