Home
last modified time | relevance | path

Searched refs:CONST_BITS (Results 1 – 14 of 14) sorted by relevance

/external/libjpeg-turbo/
Djidctint.c103 #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 …]
Djidctred.c46 #define CONST_BITS 13 macro
49 #define CONST_BITS 13
60 #if CONST_BITS == 13
163 tmp0 = LEFT_SHIFT(tmp0, CONST_BITS+1);
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);
224 tmp0 = LEFT_SHIFT((JLONG) wsptr[0], CONST_BITS+1);
252 CONST_BITS+PASS1_BITS+3+1)
[all …]
Djfdctint.c81 #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);
246 CONST_BITS+PASS1_BITS);
[all …]
Djfdctfst.c71 #define CONST_BITS 8 macro
81 #if CONST_BITS == 8
109 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
Djidctfst.c80 #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))
Djddctmgr.c267 #define CONST_BITS 14 in start_pass() macro
285 CONST_BITS-IFAST_SCALE_BITS); in start_pass()
Djcdctmgr.c286 #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()
Djdct.h164 #define CONST_SCALE (ONE << CONST_BITS)
/external/libjpeg-turbo/simd/
Djsimd_arm64_neon.S138 #define CONST_BITS 13 macro
292 … sshll2 v23.4s, v22.8h, #(CONST_BITS) /* tmp0h tmp0 = LEFT_SHIFT(z2 + z3, CONST_BITS); */
297 … sshll2 v27.4s, v26.8h, #(CONST_BITS) /* tmp1h tmp1 = LEFT_SHIFT(z2 - z3, CONST_BITS); */
300 … sshll v22.4s, v22.4h, #(CONST_BITS) /* tmp0l tmp0 = LEFT_SHIFT(z2 + z3, CONST_BITS); */
301 … sshll v26.4s, v26.4h, #(CONST_BITS) /* tmp1l tmp1 = LEFT_SHIFT(z2 - z3, CONST_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)
[all …]
Djfdctint-altivec.c41 #define CONST_BITS 13 macro
43 #define DESCALE_P1 (CONST_BITS - PASS1_BITS)
44 #define DESCALE_P2 (CONST_BITS + PASS1_BITS)
Djidctint-altivec.c41 #define CONST_BITS 13 macro
43 #define DESCALE_P1 (CONST_BITS - PASS1_BITS)
44 #define DESCALE_P2 (CONST_BITS + PASS1_BITS + 3)
245 const_bits = { __4X(CONST_BITS) }; in jsimd_idct_islow_altivec()
Djfdctfst-altivec.c40 #define CONST_BITS 8 macro
42 #define CONST_SHIFT (16 - PRE_MULTIPLY_SCALE_BITS - CONST_BITS - 1)
Djidctfst-altivec.c41 #define CONST_BITS 8 macro
44 #define CONST_SHIFT (16 - PRE_MULTIPLY_SCALE_BITS - CONST_BITS - 1)
Djsimd_arm_neon.S924 #define CONST_BITS 13 macro
953 .short 1 << (CONST_BITS+1) /* d2[2] */