Home
last modified time | relevance | path

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

12

/external/opencv3/3rdparty/libjpeg/
Djidctint.c101 #define CONST_BITS 13 macro
104 #define CONST_BITS 13
115 #if CONST_BITS == 13
238 z2 <<= CONST_BITS;
239 z3 <<= CONST_BITS;
241 z2 += ONE << (CONST_BITS-PASS1_BITS-1);
283 wsptr[DCTSIZE*0] = (int) RIGHT_SHIFT(tmp10 + tmp3, CONST_BITS-PASS1_BITS);
284 wsptr[DCTSIZE*7] = (int) RIGHT_SHIFT(tmp10 - tmp3, CONST_BITS-PASS1_BITS);
285 wsptr[DCTSIZE*1] = (int) RIGHT_SHIFT(tmp11 + tmp2, CONST_BITS-PASS1_BITS);
286 wsptr[DCTSIZE*6] = (int) RIGHT_SHIFT(tmp11 - tmp2, CONST_BITS-PASS1_BITS);
[all …]
Djfdctint.c96 #define CONST_BITS 13 macro
99 #define CONST_BITS 13
110 #if CONST_BITS == 13
201 z1 += ONE << (CONST_BITS-PASS1_BITS-1);
203 CONST_BITS-PASS1_BITS);
205 CONST_BITS-PASS1_BITS);
218 z1 += ONE << (CONST_BITS-PASS1_BITS-1);
233 RIGHT_SHIFT(tmp0 + tmp10 + tmp12, CONST_BITS-PASS1_BITS);
235 RIGHT_SHIFT(tmp1 + tmp11 + tmp13, CONST_BITS-PASS1_BITS);
237 RIGHT_SHIFT(tmp2 + tmp11 + tmp12, CONST_BITS-PASS1_BITS);
[all …]
Djfdctfst.c69 #define CONST_BITS 8 macro
79 #if CONST_BITS == 8
107 #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.c298 #define CONST_BITS 14 in start_pass() macro
316 CONST_BITS-IFAST_SCALE_BITS); in start_pass()
Djcdctmgr.c384 #define CONST_BITS 14 in start_pass_fdctmgr() macro
408 CONST_BITS-3); in start_pass_fdctmgr()
Djdct.h349 #define CONST_SCALE (ONE << CONST_BITS)
/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/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] */

12