/external/libjpeg-turbo/ |
D | jidctint.c | 104 #define PASS1_BITS 2 macro 107 #define PASS1_BITS 1 /* lose a little precision to avoid overflow */ 212 quantptr[DCTSIZE * 0]), PASS1_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); 289 wsptr[DCTSIZE * 5] = (int)DESCALE(tmp12 - tmp1, CONST_BITS - PASS1_BITS); 290 wsptr[DCTSIZE * 3] = (int)DESCALE(tmp13 + tmp0, CONST_BITS - PASS1_BITS); [all …]
|
D | jfdctint.c | 82 #define PASS1_BITS 2 macro 85 #define PASS1_BITS 1 /* lose a little precision to avoid overflow */ 176 dataptr[0] = (DCTELEM)LEFT_SHIFT(tmp10 + tmp11, PASS1_BITS); 177 dataptr[4] = (DCTELEM)LEFT_SHIFT(tmp10 - tmp11, PASS1_BITS); 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); [all …]
|
D | jidctred.c | 47 #define PASS1_BITS 2 macro 50 #define PASS1_BITS 1 /* lose a little precision to avoid overflow */ 150 quantptr[DCTSIZE * 0]), PASS1_BITS); 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); 214 PASS1_BITS + 3) & RANGE_MASK]; 256 CONST_BITS + PASS1_BITS + 3 + 1) & 259 CONST_BITS + PASS1_BITS + 3 + 1) & [all …]
|
D | jidctfst.c | 81 #define PASS1_BITS 2 macro 84 #define PASS1_BITS 1 /* lose a little precision to avoid overflow */ 135 DESCALE((coef) * (quantval), IFAST_SCALE_BITS - PASS1_BITS) 300 range_limit[IDESCALE(wsptr[0], PASS1_BITS + 3) & RANGE_MASK]; 351 range_limit[IDESCALE(tmp0 + tmp7, PASS1_BITS + 3) & RANGE_MASK]; 353 range_limit[IDESCALE(tmp0 - tmp7, PASS1_BITS + 3) & RANGE_MASK]; 355 range_limit[IDESCALE(tmp1 + tmp6, PASS1_BITS + 3) & RANGE_MASK]; 357 range_limit[IDESCALE(tmp1 - tmp6, PASS1_BITS + 3) & RANGE_MASK]; 359 range_limit[IDESCALE(tmp2 + tmp5, PASS1_BITS + 3) & RANGE_MASK]; 361 range_limit[IDESCALE(tmp2 - tmp5, PASS1_BITS + 3) & RANGE_MASK]; [all …]
|
/external/libjpeg-turbo/simd/loongson/ |
D | jfdctint-mmi.c | 37 #define PASS1_BITS 2 macro 38 #define DESCALE_P1 (CONST_BITS - PASS1_BITS) 39 #define DESCALE_P2 (CONST_BITS + PASS1_BITS) 87 _uint64_set_pi16((1 << (PASS1_BITS - 1)), (1 << (PASS1_BITS - 1)), 88 (1 << (PASS1_BITS - 1)), (1 << (PASS1_BITS - 1))) 290 out0 = _mm_slli_pi16(out0, PASS1_BITS); \ 291 out4 = _mm_slli_pi16(out4, PASS1_BITS); \ 364 out0 = _mm_srai_pi16(out0, PASS1_BITS); \ 365 out4 = _mm_srai_pi16(out4, PASS1_BITS); \
|
D | jidctint-mmi.c | 37 #define PASS1_BITS 2 macro 38 #define DESCALE_P1 (CONST_BITS - PASS1_BITS) 39 #define DESCALE_P2 (CONST_BITS + PASS1_BITS + 3) 297 dcval = _mm_slli_pi16(dcval, PASS1_BITS); /* dcval=(00 10 20 30) */ \
|
/external/libjpeg-turbo/simd/powerpc/ |
D | jfdctint-altivec.c | 42 #define PASS1_BITS 2 macro 43 #define DESCALE_P1 (CONST_BITS - PASS1_BITS) 44 #define DESCALE_P2 (CONST_BITS + PASS1_BITS) 204 pw_descale_p2x = { __8X(1 << (PASS1_BITS - 1)) }; in jsimd_fdct_islow_altivec() 205 __vector unsigned short pass1_bits = { __8X(PASS1_BITS) }; in jsimd_fdct_islow_altivec()
|
D | jidctint-altivec.c | 42 #define PASS1_BITS 2 macro 43 #define DESCALE_P1 (CONST_BITS - PASS1_BITS) 44 #define DESCALE_P2 (CONST_BITS + PASS1_BITS + 3) 237 __vector unsigned short pass1_bits = { __8X(PASS1_BITS) }; in jsimd_idct_islow_altivec()
|
D | jidctfst-altivec.c | 42 #define PASS1_BITS 2 macro 134 pass1_bits3 = { __8X(PASS1_BITS + 3) }; in jsimd_idct_ifast_altivec()
|
/external/libjpeg-turbo/simd/arm64/ |
D | jsimd_neon.S | 99 #define PASS1_BITS 2 macro 386 #define PASS1_BITS 2 macro 446 shl v10.8h, v2.8h, #(PASS1_BITS) 604 sqrshrn v28.8b, v2.8h, #(CONST_BITS+PASS1_BITS+3-16) 606 sqrshrn v29.8b, v3.8h, #(CONST_BITS+PASS1_BITS+3-16) 608 sqrshrn v30.8b, v4.8h, #(CONST_BITS+PASS1_BITS+3-16) 610 sqrshrn v31.8b, v5.8h, #(CONST_BITS+PASS1_BITS+3-16) 612 sqrshrn2 v28.16b, v6.8h, #(CONST_BITS+PASS1_BITS+3-16) 614 sqrshrn2 v29.16b, v7.8h, #(CONST_BITS+PASS1_BITS+3-16) 616 sqrshrn2 v30.16b, v8.8h, #(CONST_BITS+PASS1_BITS+3-16) [all …]
|
/external/libjpeg-turbo/simd/i386/ |
D | jidctfst-sse2.asm | 33 %error "'IFAST_SCALE_BITS' must be equal to 'PASS1_BITS'."
|
D | jidctfst-mmx.asm | 33 %error "'IFAST_SCALE_BITS' must be equal to 'PASS1_BITS'."
|
/external/libjpeg-turbo/simd/x86_64/ |
D | jidctfst-sse2.asm | 33 %error "'IFAST_SCALE_BITS' must be equal to 'PASS1_BITS'."
|