Home
last modified time | relevance | path

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

/external/libjpeg-turbo/
Djidctint.c102 #define CONST_BITS 13 macro
105 #define CONST_BITS 13
116 #if CONST_BITS == 13
241 tmp0 = LEFT_SHIFT(z2 + z3, CONST_BITS);
242 tmp1 = LEFT_SHIFT(z2 - z3, CONST_BITS);
283 wsptr[DCTSIZE*0] = (int) DESCALE(tmp10 + tmp3, CONST_BITS-PASS1_BITS);
284 wsptr[DCTSIZE*7] = (int) DESCALE(tmp10 - tmp3, CONST_BITS-PASS1_BITS);
285 wsptr[DCTSIZE*1] = (int) DESCALE(tmp11 + tmp2, CONST_BITS-PASS1_BITS);
286 wsptr[DCTSIZE*6] = (int) DESCALE(tmp11 - tmp2, CONST_BITS-PASS1_BITS);
287 wsptr[DCTSIZE*2] = (int) DESCALE(tmp12 + tmp1, CONST_BITS-PASS1_BITS);
[all …]
Djidctred.c45 #define CONST_BITS 13 macro
48 #define CONST_BITS 13
59 #if CONST_BITS == 13
162 tmp0 = LEFT_SHIFT(tmp0, CONST_BITS+1);
191 wsptr[DCTSIZE*0] = (int) DESCALE(tmp10 + tmp2, CONST_BITS-PASS1_BITS+1);
192 wsptr[DCTSIZE*3] = (int) DESCALE(tmp10 - tmp2, CONST_BITS-PASS1_BITS+1);
193 wsptr[DCTSIZE*1] = (int) DESCALE(tmp12 + tmp0, CONST_BITS-PASS1_BITS+1);
194 wsptr[DCTSIZE*2] = (int) DESCALE(tmp12 - tmp0, CONST_BITS-PASS1_BITS+1);
223 tmp0 = LEFT_SHIFT((INT32) wsptr[0], CONST_BITS+1);
251 CONST_BITS+PASS1_BITS+3+1)
[all …]
Djfdctint.c80 #define CONST_BITS 13 macro
83 #define CONST_BITS 13
94 #if CONST_BITS == 13
180 CONST_BITS-PASS1_BITS);
182 CONST_BITS-PASS1_BITS);
207 dataptr[7] = (DCTELEM) DESCALE(tmp4 + z1 + z3, CONST_BITS-PASS1_BITS);
208 dataptr[5] = (DCTELEM) DESCALE(tmp5 + z2 + z4, CONST_BITS-PASS1_BITS);
209 dataptr[3] = (DCTELEM) DESCALE(tmp6 + z2 + z3, CONST_BITS-PASS1_BITS);
210 dataptr[1] = (DCTELEM) DESCALE(tmp7 + z1 + z4, CONST_BITS-PASS1_BITS);
245 CONST_BITS+PASS1_BITS);
[all …]
Djfdctfst.c68 #define CONST_BITS 8 macro
78 #if CONST_BITS == 8
106 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
Djidctfst.c77 #define CONST_BITS 8 macro
80 #define CONST_BITS 8
91 #if CONST_BITS == 8
119 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
Djddctmgr.c266 #define CONST_BITS 14 in start_pass() macro
284 CONST_BITS-IFAST_SCALE_BITS); in start_pass()
Djcdctmgr.c281 #define CONST_BITS 14 in start_pass_fdctmgr() macro
306 CONST_BITS-3), &dtbl[i]) in start_pass_fdctmgr()
313 CONST_BITS-3); in start_pass_fdctmgr()
Djdct.h163 #define CONST_SCALE (ONE << CONST_BITS)
/external/pdfium/third_party/libjpeg/
Dfpdfapi_jidctint.c78 #define CONST_BITS 13 macro
81 #define CONST_BITS 13
92 #if CONST_BITS == 13
216 tmp0 = (z2 + z3) << CONST_BITS;
217 tmp1 = (z2 - z3) << CONST_BITS;
258 wsptr[DCTSIZE*0] = (int) DESCALE(tmp10 + tmp3, CONST_BITS-PASS1_BITS);
259 wsptr[DCTSIZE*7] = (int) DESCALE(tmp10 - tmp3, CONST_BITS-PASS1_BITS);
260 wsptr[DCTSIZE*1] = (int) DESCALE(tmp11 + tmp2, CONST_BITS-PASS1_BITS);
261 wsptr[DCTSIZE*6] = (int) DESCALE(tmp11 - tmp2, CONST_BITS-PASS1_BITS);
262 wsptr[DCTSIZE*2] = (int) DESCALE(tmp12 + tmp1, CONST_BITS-PASS1_BITS);
[all …]
Dfpdfapi_jidctred.c43 #define CONST_BITS 13 macro
46 #define CONST_BITS 13
57 #if CONST_BITS == 13
159 tmp0 <<= (CONST_BITS+1);
188 wsptr[DCTSIZE*0] = (int) DESCALE(tmp10 + tmp2, CONST_BITS-PASS1_BITS+1);
189 wsptr[DCTSIZE*3] = (int) DESCALE(tmp10 - tmp2, CONST_BITS-PASS1_BITS+1);
190 wsptr[DCTSIZE*1] = (int) DESCALE(tmp12 + tmp0, CONST_BITS-PASS1_BITS+1);
191 wsptr[DCTSIZE*2] = (int) DESCALE(tmp12 - tmp0, CONST_BITS-PASS1_BITS+1);
220 tmp0 = ((INT32) wsptr[0]) << (CONST_BITS+1);
248 CONST_BITS+PASS1_BITS+3+1)
[all …]
Dfpdfapi_jfdctint.c78 #define CONST_BITS 13 macro
81 #define CONST_BITS 13
92 #if CONST_BITS == 13
178 CONST_BITS-PASS1_BITS);
180 CONST_BITS-PASS1_BITS);
205 dataptr[7] = (DCTELEM) DESCALE(tmp4 + z1 + z3, CONST_BITS-PASS1_BITS);
206 dataptr[5] = (DCTELEM) DESCALE(tmp5 + z2 + z4, CONST_BITS-PASS1_BITS);
207 dataptr[3] = (DCTELEM) DESCALE(tmp6 + z2 + z3, CONST_BITS-PASS1_BITS);
208 dataptr[1] = (DCTELEM) DESCALE(tmp7 + z1 + z4, CONST_BITS-PASS1_BITS);
243 CONST_BITS+PASS1_BITS);
[all …]
Dfpdfapi_jfdctfst.c68 #define CONST_BITS 8 macro
78 #if CONST_BITS == 8
106 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
Dfpdfapi_jidctfst.c77 #define CONST_BITS 8 macro
80 #define CONST_BITS 8
91 #if CONST_BITS == 8
119 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
Dfpdfapi_jddctmgr.c184 #define CONST_BITS 14 in start_pass() macro
202 CONST_BITS-IFAST_SCALE_BITS); in start_pass()
Dfpdfapi_jcdctmgr.c98 #define CONST_BITS 14 in start_pass_fdctmgr() macro
122 CONST_BITS-3); in start_pass_fdctmgr()
Djdct.h132 #define CONST_SCALE (ONE << CONST_BITS)
/external/libgdx/gdx/jni/gdx2d/
Djpgd.cpp55 #define CONST_BITS 13 macro
96 const int tmp0 = (ACCESS_COL(0) + ACCESS_COL(4)) << CONST_BITS; in idct()
97 const int tmp1 = (ACCESS_COL(0) - ACCESS_COL(4)) << CONST_BITS; in idct()
116 pTemp[0] = DESCALE(tmp10 + btmp3, CONST_BITS-PASS1_BITS); in idct()
117 pTemp[7] = DESCALE(tmp10 - btmp3, CONST_BITS-PASS1_BITS); in idct()
118 pTemp[1] = DESCALE(tmp11 + btmp2, CONST_BITS-PASS1_BITS); in idct()
119 pTemp[6] = DESCALE(tmp11 - btmp2, CONST_BITS-PASS1_BITS); in idct()
120 pTemp[2] = DESCALE(tmp12 + btmp1, CONST_BITS-PASS1_BITS); in idct()
121 pTemp[5] = DESCALE(tmp12 - btmp1, CONST_BITS-PASS1_BITS); in idct()
122 pTemp[3] = DESCALE(tmp13 + btmp0, CONST_BITS-PASS1_BITS); in idct()
[all …]
/external/libjpeg-turbo/simd/
Djsimd_arm_neon.S919 #define CONST_BITS 13 macro
948 .short 1 << (CONST_BITS+1) /* d2[2] */
Djsimd_arm64_neon.S1080 #define CONST_BITS 13 macro
1109 .short 1 << (CONST_BITS+1) /* v2.h[2] */