Home
last modified time | relevance | path

Searched defs:x (Results 1 – 25 of 38) sorted by relevance

12

/rockchip-linux_mpp/mpp/hal/vpu/h264e/
H A Dhal_h264e_vepu2_reg_tbl.h26 #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 Dhal_h264e_vepu1_reg_tbl.h36 #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 Dmpp_common.h13 #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 Dmpp_singleton.h63 #define SNGL_TO_STR(x) #x argument
64 #define SNGL_TO_FUNC(x) __mpp_singleton_add_##x argument
H A Dmpp_time.h13 #define msleep(x) usleep((x)*1000) argument
H A Dmpp_debug.h74 #define MPP_STRINGS(x) MPP_TO_STRING(x) argument
75 #define MPP_TO_STRING(x) #x argument
H A Dmpp_hash.h184 #define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) argument
/rockchip-linux_mpp/mpp/codec/dec/avs2/
H A Davs2d_parse.c33 #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 Dkmpp_obj_macro.h17 #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 Dh265e_enctropy.c27 #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 Dvp8d_data.h28 #define swap32bit(x) ((x>>24)|((x>>8)&0xff00)|((x<<8)&0xff0000)|(x<<24)) argument
/rockchip-linux_mpp/utils/
H A Dmpp_enc_roi_utils.h25 RK_U16 x; /**< horizontal position of top left corner */ member
H A Dutils.c375 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 Diep2_roi.h25 int x; member
H A Diep2_gmv.c106 int8_t x = map[i] - MVL; in iep2_update_gmv() local
/rockchip-linux_mpp/inc/
H A Drk_type.h84 #define RK_UNUSED(x) ((void)((x))) argument
94 #define rk_unused(x) ((void)((x))) argument
/rockchip-linux_mpp/test/
H A Dmpi_rc2_test.c184 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 Dmpp_parse_cfg.c13 #define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) argument
H A Dvpu_api_test.c16 #define BSWAP32(x) \ argument
/rockchip-linux_mpp/mpp/codec/dec/av1/
H A Dav1d_parser.c169 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 Dh265d_refs.c35 #define HEVC_ALIGN(value, x) ((value + (x-1)) & (~(x-1))) argument
/rockchip-linux_mpp/mpp/hal/vpu/vp8e/
H A Dhal_vp8e_base.c143 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 Ddrm_mode.h135 __u32 x, y; /**< Position on the frameuffer */ member
431 __s32 x; member
442 __s32 x; member
/rockchip-linux_mpp/mpp/base/
H A Dmpp_meta.c32 #define WRITE_ONCE(x, val) ((*(volatile typeof(x) *) &(x)) = (val)) argument
/rockchip-linux_mpp/mpp/hal/rkenc/common/
H A Dvepu541_common.c57 RK_S32 x, y; in vepu541_set_one_roi() local

12