• Home
  • Raw
  • Download

Lines Matching refs:DCTSIZE

38 #if DCTSIZE != 8
133 int workspace[DCTSIZE * 4]; /* buffers data between passes */
141 for (ctr = DCTSIZE; ctr > 0; inptr++, quantptr++, wsptr++, ctr--) {
143 if (ctr == DCTSIZE - 4)
145 if (inptr[DCTSIZE * 1] == 0 && inptr[DCTSIZE * 2] == 0 &&
146 inptr[DCTSIZE * 3] == 0 && inptr[DCTSIZE * 5] == 0 &&
147 inptr[DCTSIZE * 6] == 0 && inptr[DCTSIZE * 7] == 0) {
149 int dcval = LEFT_SHIFT(DEQUANTIZE(inptr[DCTSIZE * 0],
150 quantptr[DCTSIZE * 0]), PASS1_BITS);
152 wsptr[DCTSIZE * 0] = dcval;
153 wsptr[DCTSIZE * 1] = dcval;
154 wsptr[DCTSIZE * 2] = dcval;
155 wsptr[DCTSIZE * 3] = dcval;
162 tmp0 = DEQUANTIZE(inptr[DCTSIZE * 0], quantptr[DCTSIZE * 0]);
165 z2 = DEQUANTIZE(inptr[DCTSIZE * 2], quantptr[DCTSIZE * 2]);
166 z3 = DEQUANTIZE(inptr[DCTSIZE * 6], quantptr[DCTSIZE * 6]);
175 z1 = DEQUANTIZE(inptr[DCTSIZE * 7], quantptr[DCTSIZE * 7]);
176 z2 = DEQUANTIZE(inptr[DCTSIZE * 5], quantptr[DCTSIZE * 5]);
177 z3 = DEQUANTIZE(inptr[DCTSIZE * 3], quantptr[DCTSIZE * 3]);
178 z4 = DEQUANTIZE(inptr[DCTSIZE * 1], quantptr[DCTSIZE * 1]);
192 wsptr[DCTSIZE * 0] =
194 wsptr[DCTSIZE * 3] =
196 wsptr[DCTSIZE * 1] =
198 wsptr[DCTSIZE * 2] =
221 wsptr += DCTSIZE; /* advance pointer to next row */
268 wsptr += DCTSIZE; /* advance pointer to next row */
290 int workspace[DCTSIZE * 2]; /* buffers data between passes */ in jpeg_idct_2x2()
298 for (ctr = DCTSIZE; ctr > 0; inptr++, quantptr++, wsptr++, ctr--) { in jpeg_idct_2x2()
300 if (ctr == DCTSIZE - 2 || ctr == DCTSIZE - 4 || ctr == DCTSIZE - 6) in jpeg_idct_2x2()
302 if (inptr[DCTSIZE * 1] == 0 && inptr[DCTSIZE * 3] == 0 && in jpeg_idct_2x2()
303 inptr[DCTSIZE * 5] == 0 && inptr[DCTSIZE * 7] == 0) { in jpeg_idct_2x2()
305 int dcval = LEFT_SHIFT(DEQUANTIZE(inptr[DCTSIZE * 0], in jpeg_idct_2x2()
306 quantptr[DCTSIZE * 0]), PASS1_BITS); in jpeg_idct_2x2()
308 wsptr[DCTSIZE * 0] = dcval; in jpeg_idct_2x2()
309 wsptr[DCTSIZE * 1] = dcval; in jpeg_idct_2x2()
316 z1 = DEQUANTIZE(inptr[DCTSIZE * 0], quantptr[DCTSIZE * 0]); in jpeg_idct_2x2()
321 z1 = DEQUANTIZE(inptr[DCTSIZE * 7], quantptr[DCTSIZE * 7]); in jpeg_idct_2x2()
323 z1 = DEQUANTIZE(inptr[DCTSIZE * 5], quantptr[DCTSIZE * 5]); in jpeg_idct_2x2()
325 z1 = DEQUANTIZE(inptr[DCTSIZE * 3], quantptr[DCTSIZE * 3]); in jpeg_idct_2x2()
327 z1 = DEQUANTIZE(inptr[DCTSIZE * 1], quantptr[DCTSIZE * 1]); in jpeg_idct_2x2()
332 wsptr[DCTSIZE * 0] = in jpeg_idct_2x2()
334 wsptr[DCTSIZE * 1] = in jpeg_idct_2x2()
354 wsptr += DCTSIZE; /* advance pointer to next row */ in jpeg_idct_2x2()
379 wsptr += DCTSIZE; /* advance pointer to next row */ in jpeg_idct_2x2()