Home
last modified time | relevance | path

Searched refs:PASS1_BITS (Results 1 – 11 of 11) sorted by relevance

/external/libjpeg-turbo/
Djidctint.c104 #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 …]
Djfdctint.c82 #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 …]
Djidctred.c47 #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 …]
Djidctfst.c81 #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/arm/
Djidctred-neon.c38 #define PASS1_BITS 2 macro
156 CONST_BITS + PASS1_BITS + 3 + 2 - 16); in jsimd_idct_2x2_neon()
240 int16x8_t dcval = vshlq_n_s16(row0, PASS1_BITS); in jsimd_idct_4x4_neon()
249 int16x4_t dcval = vshl_n_s16(vget_low_s16(row0), PASS1_BITS); in jsimd_idct_4x4_neon()
291 CONST_BITS - PASS1_BITS + 1)); in jsimd_idct_4x4_neon()
293 CONST_BITS - PASS1_BITS + 1)); in jsimd_idct_4x4_neon()
295 CONST_BITS - PASS1_BITS + 1)); in jsimd_idct_4x4_neon()
297 CONST_BITS - PASS1_BITS + 1)); in jsimd_idct_4x4_neon()
302 int16x4_t dcval = vshl_n_s16(vget_high_s16(row0), PASS1_BITS); in jsimd_idct_4x4_neon()
344 CONST_BITS - PASS1_BITS + 1), dcval); in jsimd_idct_4x4_neon()
[all …]
Djidctfst-neon.c51 #define PASS1_BITS 2 macro
412 int8x16_t cols_01_s8 = vcombine_s8(vqshrn_n_s16(col0, PASS1_BITS + 3), in jsimd_idct_ifast_neon()
413 vqshrn_n_s16(col1, PASS1_BITS + 3)); in jsimd_idct_ifast_neon()
414 int8x16_t cols_45_s8 = vcombine_s8(vqshrn_n_s16(col4, PASS1_BITS + 3), in jsimd_idct_ifast_neon()
415 vqshrn_n_s16(col5, PASS1_BITS + 3)); in jsimd_idct_ifast_neon()
416 int8x16_t cols_23_s8 = vcombine_s8(vqshrn_n_s16(col2, PASS1_BITS + 3), in jsimd_idct_ifast_neon()
417 vqshrn_n_s16(col3, PASS1_BITS + 3)); in jsimd_idct_ifast_neon()
418 int8x16_t cols_67_s8 = vcombine_s8(vqshrn_n_s16(col6, PASS1_BITS + 3), in jsimd_idct_ifast_neon()
419 vqshrn_n_s16(col7, PASS1_BITS + 3)); in jsimd_idct_ifast_neon()
Djfdctint-neon.c62 #define PASS1_BITS 2 macro
64 #define DESCALE_P1 (CONST_BITS - PASS1_BITS)
65 #define DESCALE_P2 (CONST_BITS + PASS1_BITS)
138 col0 = vshlq_n_s16(vaddq_s16(tmp10, tmp11), PASS1_BITS); in jsimd_fdct_islow_neon()
139 col4 = vshlq_n_s16(vsubq_s16(tmp10, tmp11), PASS1_BITS); in jsimd_fdct_islow_neon()
277 row0 = vrshrq_n_s16(vaddq_s16(tmp10, tmp11), PASS1_BITS); in jsimd_fdct_islow_neon()
278 row4 = vrshrq_n_s16(vsubq_s16(tmp10, tmp11), PASS1_BITS); in jsimd_fdct_islow_neon()
Djidctint-neon.c39 #define PASS1_BITS 2 macro
41 #define DESCALE_P1 (CONST_BITS - PASS1_BITS)
42 #define DESCALE_P2 (CONST_BITS + PASS1_BITS + 3)
233 int16x4_t dcval = vshl_n_s16(vmul_s16(row0, quant_row0), PASS1_BITS); in jsimd_idct_islow_neon()
291 int16x4_t dcval = vshl_n_s16(vmul_s16(row0, quant_row0), PASS1_BITS); in jsimd_idct_islow_neon()
/external/libjpeg-turbo/simd/i386/
Djidctfst-mmx.asm31 %error "'IFAST_SCALE_BITS' must be equal to 'PASS1_BITS'."
Djidctfst-sse2.asm31 %error "'IFAST_SCALE_BITS' must be equal to 'PASS1_BITS'."
/external/libjpeg-turbo/simd/x86_64/
Djidctfst-sse2.asm32 %error "'IFAST_SCALE_BITS' must be equal to 'PASS1_BITS'."