• Home
  • Raw
  • Download

Lines Matching refs:DCTSIZE

35 #if DCTSIZE != 8
130 int workspace[DCTSIZE*4]; /* buffers data between passes */
138 for (ctr = DCTSIZE; ctr > 0; inptr++, quantptr++, wsptr++, ctr--) {
140 if (ctr == DCTSIZE-4)
142 if (inptr[DCTSIZE*1] == 0 && inptr[DCTSIZE*2] == 0 &&
143 inptr[DCTSIZE*3] == 0 && inptr[DCTSIZE*5] == 0 &&
144 inptr[DCTSIZE*6] == 0 && inptr[DCTSIZE*7] == 0) {
146 int dcval = DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]) << PASS1_BITS;
148 wsptr[DCTSIZE*0] = dcval;
149 wsptr[DCTSIZE*1] = dcval;
150 wsptr[DCTSIZE*2] = dcval;
151 wsptr[DCTSIZE*3] = dcval;
158 tmp0 = DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]);
161 z2 = DEQUANTIZE(inptr[DCTSIZE*2], quantptr[DCTSIZE*2]);
162 z3 = DEQUANTIZE(inptr[DCTSIZE*6], quantptr[DCTSIZE*6]);
171 z1 = DEQUANTIZE(inptr[DCTSIZE*7], quantptr[DCTSIZE*7]);
172 z2 = DEQUANTIZE(inptr[DCTSIZE*5], quantptr[DCTSIZE*5]);
173 z3 = DEQUANTIZE(inptr[DCTSIZE*3], quantptr[DCTSIZE*3]);
174 z4 = DEQUANTIZE(inptr[DCTSIZE*1], quantptr[DCTSIZE*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);
213 wsptr += DCTSIZE; /* advance pointer to next row */
260 wsptr += DCTSIZE; /* advance pointer to next row */
282 int workspace[DCTSIZE*2]; /* buffers data between passes */ in jpeg_idct_2x2()
290 for (ctr = DCTSIZE; ctr > 0; inptr++, quantptr++, wsptr++, ctr--) { in jpeg_idct_2x2()
292 if (ctr == DCTSIZE-2 || ctr == DCTSIZE-4 || ctr == DCTSIZE-6) in jpeg_idct_2x2()
294 if (inptr[DCTSIZE*1] == 0 && inptr[DCTSIZE*3] == 0 && in jpeg_idct_2x2()
295 inptr[DCTSIZE*5] == 0 && inptr[DCTSIZE*7] == 0) { in jpeg_idct_2x2()
297 int dcval = DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]) << PASS1_BITS; in jpeg_idct_2x2()
299 wsptr[DCTSIZE*0] = dcval; in jpeg_idct_2x2()
300 wsptr[DCTSIZE*1] = dcval; in jpeg_idct_2x2()
307 z1 = DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]); in jpeg_idct_2x2()
312 z1 = DEQUANTIZE(inptr[DCTSIZE*7], quantptr[DCTSIZE*7]); in jpeg_idct_2x2()
314 z1 = DEQUANTIZE(inptr[DCTSIZE*5], quantptr[DCTSIZE*5]); in jpeg_idct_2x2()
316 z1 = DEQUANTIZE(inptr[DCTSIZE*3], quantptr[DCTSIZE*3]); in jpeg_idct_2x2()
318 z1 = DEQUANTIZE(inptr[DCTSIZE*1], quantptr[DCTSIZE*1]); in jpeg_idct_2x2()
323 wsptr[DCTSIZE*0] = (int) DESCALE(tmp10 + tmp0, CONST_BITS-PASS1_BITS+2); in jpeg_idct_2x2()
324 wsptr[DCTSIZE*1] = (int) DESCALE(tmp10 - tmp0, CONST_BITS-PASS1_BITS+2); in jpeg_idct_2x2()
343 wsptr += DCTSIZE; /* advance pointer to next row */ in jpeg_idct_2x2()
368 wsptr += DCTSIZE; /* advance pointer to next row */ in jpeg_idct_2x2()