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 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 PASS1_BITS);
192 wsptr[DCTSIZE*0] = (int) DESCALE(tmp10 + tmp2, CONST_BITS-PASS1_BITS+1);
193 wsptr[DCTSIZE*3] = (int) DESCALE(tmp10 - tmp2, CONST_BITS-PASS1_BITS+1);
194 wsptr[DCTSIZE*1] = (int) DESCALE(tmp12 + tmp0, CONST_BITS-PASS1_BITS+1);
195 wsptr[DCTSIZE*2] = (int) DESCALE(tmp12 - tmp0, CONST_BITS-PASS1_BITS+1);
209 JSAMPLE dcval = range_limit[(int) DESCALE((JLONG) wsptr[0], PASS1_BITS+3)
252 CONST_BITS+PASS1_BITS+3+1)
255 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)
299 JSAMPLE dcval = range_limit[IDESCALE(wsptr[0], PASS1_BITS+3)
350 outptr[0] = range_limit[IDESCALE(tmp0 + tmp7, PASS1_BITS+3)
352 outptr[7] = range_limit[IDESCALE(tmp0 - tmp7, PASS1_BITS+3)
354 outptr[1] = range_limit[IDESCALE(tmp1 + tmp6, PASS1_BITS+3)
356 outptr[6] = range_limit[IDESCALE(tmp1 - tmp6, PASS1_BITS+3)
358 outptr[2] = range_limit[IDESCALE(tmp2 + tmp5, PASS1_BITS+3)
360 outptr[5] = range_limit[IDESCALE(tmp2 - tmp5, PASS1_BITS+3)
[all …]
/external/libjpeg-turbo/simd/
Djfdctint-altivec.c42 #define PASS1_BITS 2 macro
43 #define DESCALE_P1 (CONST_BITS - PASS1_BITS)
44 #define DESCALE_P2 (CONST_BITS + PASS1_BITS)
208 pw_descale_p2x = { __8X(1 << (PASS1_BITS - 1)) }; in jsimd_fdct_islow_altivec()
209 __vector unsigned short pass1_bits = { __8X(PASS1_BITS) }; in jsimd_fdct_islow_altivec()
Djsimd_arm64_neon.S139 #define PASS1_BITS 2 macro
244 shl v10.8h, v2.8h, #(PASS1_BITS)
402 sqrshrn v28.8b, v2.8h, #(CONST_BITS+PASS1_BITS+3-16)
404 sqrshrn v29.8b, v3.8h, #(CONST_BITS+PASS1_BITS+3-16)
406 sqrshrn v30.8b, v4.8h, #(CONST_BITS+PASS1_BITS+3-16)
408 sqrshrn v31.8b, v5.8h, #(CONST_BITS+PASS1_BITS+3-16)
410 sqrshrn2 v28.16b, v6.8h, #(CONST_BITS+PASS1_BITS+3-16)
412 sqrshrn2 v29.16b, v7.8h, #(CONST_BITS+PASS1_BITS+3-16)
414 sqrshrn2 v30.16b, v8.8h, #(CONST_BITS+PASS1_BITS+3-16)
416 sqrshrn2 v31.16b, v9.8h, #(CONST_BITS+PASS1_BITS+3-16)
[all …]
Djidctint-altivec.c42 #define PASS1_BITS 2 macro
43 #define DESCALE_P1 (CONST_BITS - PASS1_BITS)
44 #define DESCALE_P2 (CONST_BITS + PASS1_BITS + 3)
239 __vector unsigned short pass1_bits = { __8X(PASS1_BITS) }; in jsimd_idct_islow_altivec()
Djidctfst-mmx.asm32 %error "'IFAST_SCALE_BITS' must be equal to 'PASS1_BITS'."
Djidctfst-sse2.asm32 %error "'IFAST_SCALE_BITS' must be equal to 'PASS1_BITS'."
Djidctfst-sse2-64.asm33 %error "'IFAST_SCALE_BITS' must be equal to 'PASS1_BITS'."
Djidctfst-altivec.c42 #define PASS1_BITS 2 macro
136 pass1_bits3 = { __8X(PASS1_BITS + 3) }; in jsimd_idct_ifast_altivec()