Home
last modified time | relevance | path

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

/external/jpeg/
Djfdctint.c79 #define PASS1_BITS 2 macro
82 #define PASS1_BITS 1 /* lose a little precision to avoid overflow */
173 dataptr[0] = (DCTELEM) ((tmp10 + tmp11) << PASS1_BITS);
174 dataptr[4] = (DCTELEM) ((tmp10 - tmp11) << PASS1_BITS);
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);
[all …]
Djidctint.c79 #define PASS1_BITS 2 macro
82 #define PASS1_BITS 1 /* lose a little precision to avoid overflow */
186 int dcval = DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]) << PASS1_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);
263 wsptr[DCTSIZE*5] = (int) DESCALE(tmp12 - tmp1, CONST_BITS-PASS1_BITS);
264 wsptr[DCTSIZE*3] = (int) DESCALE(tmp13 + tmp0, CONST_BITS-PASS1_BITS);
[all …]
Djidctred.c44 #define PASS1_BITS 2 macro
47 #define PASS1_BITS 1 /* lose a little precision to avoid overflow */
146 int dcval = DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]) << PASS1_BITS;
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);
205 JSAMPLE dcval = range_limit[(int) DESCALE((INT32) wsptr[0], PASS1_BITS+3)
248 CONST_BITS+PASS1_BITS+3+1)
251 CONST_BITS+PASS1_BITS+3+1)
[all …]
Djidctfst.c78 #define PASS1_BITS 2 macro
81 #define PASS1_BITS 1 /* lose a little precision to avoid overflow */
132 DESCALE((coef)*(quantval), IFAST_SCALE_BITS-PASS1_BITS)
296 JSAMPLE dcval = range_limit[IDESCALE(wsptr[0], PASS1_BITS+3)
347 outptr[0] = range_limit[IDESCALE(tmp0 + tmp7, PASS1_BITS+3)
349 outptr[7] = range_limit[IDESCALE(tmp0 - tmp7, PASS1_BITS+3)
351 outptr[1] = range_limit[IDESCALE(tmp1 + tmp6, PASS1_BITS+3)
353 outptr[6] = range_limit[IDESCALE(tmp1 - tmp6, PASS1_BITS+3)
355 outptr[2] = range_limit[IDESCALE(tmp2 + tmp5, PASS1_BITS+3)
357 outptr[5] = range_limit[IDESCALE(tmp2 - tmp5, PASS1_BITS+3)
[all …]