Lines Matching refs:wsptr
128 int * wsptr; variable
139 wsptr = workspace;
140 for (ctr = DCTSIZE; ctr > 0; inptr++, quantptr++, wsptr++, ctr--) {
151 wsptr[DCTSIZE*0] = dcval;
152 wsptr[DCTSIZE*1] = dcval;
153 wsptr[DCTSIZE*2] = dcval;
154 wsptr[DCTSIZE*3] = dcval;
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);
199 wsptr = workspace;
205 if (wsptr[1] == 0 && wsptr[2] == 0 && wsptr[3] == 0 &&
206 wsptr[5] == 0 && wsptr[6] == 0 && wsptr[7] == 0) {
208 JSAMPLE dcval = range_limit[(int) DESCALE((INT32) wsptr[0], PASS1_BITS+3)
216 wsptr += DCTSIZE; /* advance pointer to next row */
223 tmp0 = LEFT_SHIFT((INT32) wsptr[0], CONST_BITS+1);
225 tmp2 = MULTIPLY((INT32) wsptr[2], FIX_1_847759065)
226 + MULTIPLY((INT32) wsptr[6], - FIX_0_765366865);
233 z1 = (INT32) wsptr[7];
234 z2 = (INT32) wsptr[5];
235 z3 = (INT32) wsptr[3];
236 z4 = (INT32) wsptr[1];
263 wsptr += DCTSIZE; /* advance pointer to next row */
281 int * wsptr; in jpeg_idct_2x2() local
292 wsptr = workspace; in jpeg_idct_2x2()
293 for (ctr = DCTSIZE; ctr > 0; inptr++, quantptr++, wsptr++, ctr--) { in jpeg_idct_2x2()
303 wsptr[DCTSIZE*0] = dcval; in jpeg_idct_2x2()
304 wsptr[DCTSIZE*1] = dcval; in jpeg_idct_2x2()
327 wsptr[DCTSIZE*0] = (int) DESCALE(tmp10 + tmp0, CONST_BITS-PASS1_BITS+2); in jpeg_idct_2x2()
328 wsptr[DCTSIZE*1] = (int) DESCALE(tmp10 - tmp0, CONST_BITS-PASS1_BITS+2); in jpeg_idct_2x2()
333 wsptr = workspace; in jpeg_idct_2x2()
339 if (wsptr[1] == 0 && wsptr[3] == 0 && wsptr[5] == 0 && wsptr[7] == 0) { in jpeg_idct_2x2()
341 JSAMPLE dcval = range_limit[(int) DESCALE((INT32) wsptr[0], PASS1_BITS+3) in jpeg_idct_2x2()
347 wsptr += DCTSIZE; /* advance pointer to next row */ in jpeg_idct_2x2()
354 tmp10 = LEFT_SHIFT((INT32) wsptr[0], CONST_BITS+2); in jpeg_idct_2x2()
358 tmp0 = MULTIPLY((INT32) wsptr[7], - FIX_0_720959822) /* sqrt(2) * (c7-c5+c3-c1) */ in jpeg_idct_2x2()
359 + MULTIPLY((INT32) wsptr[5], FIX_0_850430095) /* sqrt(2) * (-c1+c3+c5+c7) */ in jpeg_idct_2x2()
360 + MULTIPLY((INT32) wsptr[3], - FIX_1_272758580) /* sqrt(2) * (-c1+c3-c5-c7) */ in jpeg_idct_2x2()
361 + MULTIPLY((INT32) wsptr[1], FIX_3_624509785); /* sqrt(2) * (c1+c3+c5+c7) */ in jpeg_idct_2x2()
372 wsptr += DCTSIZE; /* advance pointer to next row */ in jpeg_idct_2x2()