Lines Matching refs:x
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
44 ((const RK_U8*)(x))[0])
49 #define MPP_RB32(x) ((((const RK_U8*)(x))[0] << 24) | \ argument
50 (((const RK_U8*)(x))[1] << 16) | \
51 (((const RK_U8*)(x))[2] << 8) | \
52 ((const RK_U8*)(x))[3])
59 #define MPP_RL32(x) ((((const RK_U8*)(x))[3] << 24) | \ argument
60 (((const RK_U8*)(x))[2] << 16) | \
61 (((const RK_U8*)(x))[1] << 8) | \
62 ((const RK_U8*)(x))[0])
69 #define MPP_RB64(x) (((RK_U64)((const RK_U8*)(x))[0] << 56) | \ argument
70 ((RK_U64)((const RK_U8*)(x))[1] << 48) | \
71 ((RK_U64)((const RK_U8*)(x))[2] << 40) | \
72 ((RK_U64)((const RK_U8*)(x))[3] << 32) | \
73 ((RK_U64)((const RK_U8*)(x))[4] << 24) | \
74 ((RK_U64)((const RK_U8*)(x))[5] << 16) | \
75 ((RK_U64)((const RK_U8*)(x))[6] << 8) | \
76 (RK_U64)((const RK_U8*)(x))[7])
87 #define MPP_RL64(x) (((RK_U64)((const RK_U8*)(x))[7] << 56) | \ argument
88 ((RK_U64)((const RK_U8*)(x))[6] << 48) | \
89 ((RK_U64)((const RK_U8*)(x))[5] << 40) | \
90 ((RK_U64)((const RK_U8*)(x))[4] << 32) | \
91 ((RK_U64)((const RK_U8*)(x))[3] << 24) | \
92 ((RK_U64)((const RK_U8*)(x))[2] << 16) | \
93 ((RK_U64)((const RK_U8*)(x))[1] << 8) | \
94 (RK_U64)((const RK_U8*)(x))[0])
105 #define MPP_RB24(x) ((((const RK_U8*)(x))[0] << 16) | \ argument
106 (((const RK_U8*)(x))[1] << 8) | \
107 ((const RK_U8*)(x))[2])
113 #define MPP_RL24(x) ((((const RK_U8*)(x))[2] << 16) | \ argument
114 (((const RK_U8*)(x))[1] << 8) | \
115 ((const RK_U8*)(x))[0])
149 #define mkdir(x) mkdir(x, S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH) argument
190 static __inline RK_S32 mpp_ceil_log2(RK_S32 x) in mpp_ceil_log2() argument
192 return mpp_log2((x - 1) << 1); in mpp_ceil_log2()