Searched refs:CONST_BITS (Results 1 – 11 of 11) sorted by relevance
/external/libjpeg-turbo/ |
D | jidctint.c | 103 #define CONST_BITS 13 macro 106 #define CONST_BITS 13 117 #if CONST_BITS == 13 242 tmp0 = LEFT_SHIFT(z2 + z3, CONST_BITS); 243 tmp1 = LEFT_SHIFT(z2 - z3, CONST_BITS); 284 wsptr[DCTSIZE * 0] = (int)DESCALE(tmp10 + tmp3, CONST_BITS - PASS1_BITS); 285 wsptr[DCTSIZE * 7] = (int)DESCALE(tmp10 - tmp3, CONST_BITS - PASS1_BITS); 286 wsptr[DCTSIZE * 1] = (int)DESCALE(tmp11 + tmp2, CONST_BITS - PASS1_BITS); 287 wsptr[DCTSIZE * 6] = (int)DESCALE(tmp11 - tmp2, CONST_BITS - PASS1_BITS); 288 wsptr[DCTSIZE * 2] = (int)DESCALE(tmp12 + tmp1, CONST_BITS - PASS1_BITS); [all …]
|
D | jidctred.c | 46 #define CONST_BITS 13 macro 49 #define CONST_BITS 13 60 #if CONST_BITS == 13 163 tmp0 = LEFT_SHIFT(tmp0, CONST_BITS + 1); 193 (int)DESCALE(tmp10 + tmp2, CONST_BITS - PASS1_BITS + 1); 195 (int)DESCALE(tmp10 - tmp2, CONST_BITS - PASS1_BITS + 1); 197 (int)DESCALE(tmp12 + tmp0, CONST_BITS - PASS1_BITS + 1); 199 (int)DESCALE(tmp12 - tmp0, CONST_BITS - PASS1_BITS + 1); 228 tmp0 = LEFT_SHIFT((JLONG)wsptr[0], CONST_BITS + 1); 256 CONST_BITS + PASS1_BITS + 3 + 1) & [all …]
|
D | jfdctint.c | 81 #define CONST_BITS 13 macro 84 #define CONST_BITS 13 95 #if CONST_BITS == 13 181 CONST_BITS - PASS1_BITS); 183 CONST_BITS - PASS1_BITS); 208 dataptr[7] = (DCTELEM)DESCALE(tmp4 + z1 + z3, CONST_BITS - PASS1_BITS); 209 dataptr[5] = (DCTELEM)DESCALE(tmp5 + z2 + z4, CONST_BITS - PASS1_BITS); 210 dataptr[3] = (DCTELEM)DESCALE(tmp6 + z2 + z3, CONST_BITS - PASS1_BITS); 211 dataptr[1] = (DCTELEM)DESCALE(tmp7 + z1 + z4, CONST_BITS - PASS1_BITS); 247 CONST_BITS + PASS1_BITS); [all …]
|
D | jfdctfst.c | 71 #define CONST_BITS 8 macro 81 #if CONST_BITS == 8 109 #define MULTIPLY(var, const) ((DCTELEM)DESCALE((var) * (const), CONST_BITS))
|
D | jidctfst.c | 80 #define CONST_BITS 8 macro 83 #define CONST_BITS 8 94 #if CONST_BITS == 8 122 #define MULTIPLY(var, const) ((DCTELEM)DESCALE((var) * (const), CONST_BITS))
|
D | jddctmgr.c | 267 #define CONST_BITS 14 in start_pass() macro 285 CONST_BITS - IFAST_SCALE_BITS); in start_pass()
|
D | jcdctmgr.c | 286 #define CONST_BITS 14 in start_pass_fdctmgr() macro 311 CONST_BITS - 3), &dtbl[i]) && in start_pass_fdctmgr() 318 CONST_BITS - 3); in start_pass_fdctmgr()
|
D | jdct.h | 164 #define CONST_SCALE (ONE << CONST_BITS)
|
/external/libjpeg-turbo/simd/arm/ |
D | jidctred-neon.c | 37 #define CONST_BITS 13 macro 110 int32x4_t tmp10_l = vshll_n_s16(vget_low_s16(row0), CONST_BITS + 2); in jsimd_idct_2x2_neon() 111 int32x4_t tmp10_h = vshll_n_s16(vget_high_s16(row0), CONST_BITS + 2); in jsimd_idct_2x2_neon() 124 row0 = vcombine_s16(vrshrn_n_s32(vaddq_s32(tmp10_l, tmp0_l), CONST_BITS), in jsimd_idct_2x2_neon() 125 vrshrn_n_s32(vaddq_s32(tmp10_h, tmp0_h), CONST_BITS)); in jsimd_idct_2x2_neon() 126 row1 = vcombine_s16(vrshrn_n_s32(vsubq_s32(tmp10_l, tmp0_l), CONST_BITS), in jsimd_idct_2x2_neon() 127 vrshrn_n_s32(vsubq_s32(tmp10_h, tmp0_h), CONST_BITS)); in jsimd_idct_2x2_neon() 144 int32x4_t tmp10 = vshll_n_s16(vget_low_s16(cols_0246), CONST_BITS + 2); in jsimd_idct_2x2_neon() 156 CONST_BITS + PASS1_BITS + 3 + 2 - 16); in jsimd_idct_2x2_neon() 262 int32x4_t tmp0 = vshll_n_s16(vget_high_s16(row0), CONST_BITS + 1); in jsimd_idct_4x4_neon() [all …]
|
D | jidctint-neon.c | 38 #define CONST_BITS 13 macro 41 #define DESCALE_P1 (CONST_BITS - PASS1_BITS) 42 #define DESCALE_P2 (CONST_BITS + PASS1_BITS + 3) 379 int32x4_t tmp0 = vshll_n_s16(vadd_s16(z2_s16, z3_s16), CONST_BITS); in jsimd_idct_islow_pass1_regular() 380 int32x4_t tmp1 = vshll_n_s16(vsub_s16(z2_s16, z3_s16), CONST_BITS); in jsimd_idct_islow_pass1_regular() 501 int32x4_t tmp0 = vshll_n_s16(z2_s16, CONST_BITS); in jsimd_idct_islow_pass1_sparse() 502 int32x4_t tmp1 = vshll_n_s16(z2_s16, CONST_BITS); in jsimd_idct_islow_pass1_sparse() 590 int32x4_t tmp0 = vshll_n_s16(vadd_s16(z2_s16, z3_s16), CONST_BITS); in jsimd_idct_islow_pass2_regular() 591 int32x4_t tmp1 = vshll_n_s16(vsub_s16(z2_s16, z3_s16), CONST_BITS); in jsimd_idct_islow_pass2_regular() 732 int32x4_t tmp0 = vshll_n_s16(z2_s16, CONST_BITS); in jsimd_idct_islow_pass2_sparse() [all …]
|
D | jfdctint-neon.c | 61 #define CONST_BITS 13 macro 64 #define DESCALE_P1 (CONST_BITS - PASS1_BITS) 65 #define DESCALE_P2 (CONST_BITS + PASS1_BITS)
|