Lines Matching refs:wsptr
180 int * wsptr; variable
193 wsptr = workspace;
211 wsptr[DCTSIZE*0] = dcval;
212 wsptr[DCTSIZE*1] = dcval;
213 wsptr[DCTSIZE*2] = dcval;
214 wsptr[DCTSIZE*3] = dcval;
215 wsptr[DCTSIZE*4] = dcval;
216 wsptr[DCTSIZE*5] = dcval;
217 wsptr[DCTSIZE*6] = dcval;
218 wsptr[DCTSIZE*7] = dcval;
222 wsptr++;
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);
287 wsptr[DCTSIZE*2] = (int) RIGHT_SHIFT(tmp12 + tmp1, CONST_BITS-PASS1_BITS);
288 wsptr[DCTSIZE*5] = (int) RIGHT_SHIFT(tmp12 - tmp1, CONST_BITS-PASS1_BITS);
289 wsptr[DCTSIZE*3] = (int) RIGHT_SHIFT(tmp13 + tmp0, CONST_BITS-PASS1_BITS);
290 wsptr[DCTSIZE*4] = (int) RIGHT_SHIFT(tmp13 - tmp0, CONST_BITS-PASS1_BITS);
294 wsptr++;
301 wsptr = workspace;
313 if (wsptr[1] == 0 && wsptr[2] == 0 && wsptr[3] == 0 && wsptr[4] == 0 &&
314 wsptr[5] == 0 && wsptr[6] == 0 && wsptr[7] == 0) {
316 JSAMPLE dcval = range_limit[(int) DESCALE((INT32) wsptr[0], PASS1_BITS+3)
328 wsptr += DCTSIZE; /* advance pointer to next row */
336 z2 = (INT32) wsptr[2];
337 z3 = (INT32) wsptr[6];
344 z2 = (INT32) wsptr[0] + (ONE << (PASS1_BITS+2));
345 z3 = (INT32) wsptr[4];
359 tmp0 = (INT32) wsptr[7];
360 tmp1 = (INT32) wsptr[5];
361 tmp2 = (INT32) wsptr[3];
362 tmp3 = (INT32) wsptr[1];
412 wsptr += DCTSIZE; /* advance pointer to next row */
436 int * wsptr; in jpeg_idct_7x7() local
447 wsptr = workspace; in jpeg_idct_7x7()
448 for (ctr = 0; ctr < 7; ctr++, inptr++, quantptr++, wsptr++) { in jpeg_idct_7x7()
488 wsptr[7*0] = (int) RIGHT_SHIFT(tmp10 + tmp0, CONST_BITS-PASS1_BITS); in jpeg_idct_7x7()
489 wsptr[7*6] = (int) RIGHT_SHIFT(tmp10 - tmp0, CONST_BITS-PASS1_BITS); in jpeg_idct_7x7()
490 wsptr[7*1] = (int) RIGHT_SHIFT(tmp11 + tmp1, CONST_BITS-PASS1_BITS); in jpeg_idct_7x7()
491 wsptr[7*5] = (int) RIGHT_SHIFT(tmp11 - tmp1, CONST_BITS-PASS1_BITS); in jpeg_idct_7x7()
492 wsptr[7*2] = (int) RIGHT_SHIFT(tmp12 + tmp2, CONST_BITS-PASS1_BITS); in jpeg_idct_7x7()
493 wsptr[7*4] = (int) RIGHT_SHIFT(tmp12 - tmp2, CONST_BITS-PASS1_BITS); in jpeg_idct_7x7()
494 wsptr[7*3] = (int) RIGHT_SHIFT(tmp13, CONST_BITS-PASS1_BITS); in jpeg_idct_7x7()
499 wsptr = workspace; in jpeg_idct_7x7()
506 tmp13 = (INT32) wsptr[0] + (ONE << (PASS1_BITS+2)); in jpeg_idct_7x7()
509 z1 = (INT32) wsptr[2]; in jpeg_idct_7x7()
510 z2 = (INT32) wsptr[4]; in jpeg_idct_7x7()
511 z3 = (INT32) wsptr[6]; in jpeg_idct_7x7()
525 z1 = (INT32) wsptr[1]; in jpeg_idct_7x7()
526 z2 = (INT32) wsptr[3]; in jpeg_idct_7x7()
527 z3 = (INT32) wsptr[5]; in jpeg_idct_7x7()
563 wsptr += 7; /* advance pointer to next row */ in jpeg_idct_7x7()
585 int * wsptr; in jpeg_idct_6x6() local
596 wsptr = workspace; in jpeg_idct_6x6()
597 for (ctr = 0; ctr < 6; ctr++, inptr++, quantptr++, wsptr++) { in jpeg_idct_6x6()
625 wsptr[6*0] = (int) RIGHT_SHIFT(tmp10 + tmp0, CONST_BITS-PASS1_BITS); in jpeg_idct_6x6()
626 wsptr[6*5] = (int) RIGHT_SHIFT(tmp10 - tmp0, CONST_BITS-PASS1_BITS); in jpeg_idct_6x6()
627 wsptr[6*1] = (int) (tmp11 + tmp1); in jpeg_idct_6x6()
628 wsptr[6*4] = (int) (tmp11 - tmp1); in jpeg_idct_6x6()
629 wsptr[6*2] = (int) RIGHT_SHIFT(tmp12 + tmp2, CONST_BITS-PASS1_BITS); in jpeg_idct_6x6()
630 wsptr[6*3] = (int) RIGHT_SHIFT(tmp12 - tmp2, CONST_BITS-PASS1_BITS); in jpeg_idct_6x6()
635 wsptr = workspace; in jpeg_idct_6x6()
642 tmp0 = (INT32) wsptr[0] + (ONE << (PASS1_BITS+2)); in jpeg_idct_6x6()
644 tmp2 = (INT32) wsptr[4]; in jpeg_idct_6x6()
648 tmp10 = (INT32) wsptr[2]; in jpeg_idct_6x6()
655 z1 = (INT32) wsptr[1]; in jpeg_idct_6x6()
656 z2 = (INT32) wsptr[3]; in jpeg_idct_6x6()
657 z3 = (INT32) wsptr[5]; in jpeg_idct_6x6()
684 wsptr += 6; /* advance pointer to next row */ in jpeg_idct_6x6()
706 int * wsptr; in jpeg_idct_5x5() local
717 wsptr = workspace; in jpeg_idct_5x5()
718 for (ctr = 0; ctr < 5; ctr++, inptr++, quantptr++, wsptr++) { in jpeg_idct_5x5()
745 wsptr[5*0] = (int) RIGHT_SHIFT(tmp10 + tmp0, CONST_BITS-PASS1_BITS); in jpeg_idct_5x5()
746 wsptr[5*4] = (int) RIGHT_SHIFT(tmp10 - tmp0, CONST_BITS-PASS1_BITS); in jpeg_idct_5x5()
747 wsptr[5*1] = (int) RIGHT_SHIFT(tmp11 + tmp1, CONST_BITS-PASS1_BITS); in jpeg_idct_5x5()
748 wsptr[5*3] = (int) RIGHT_SHIFT(tmp11 - tmp1, CONST_BITS-PASS1_BITS); in jpeg_idct_5x5()
749 wsptr[5*2] = (int) RIGHT_SHIFT(tmp12, CONST_BITS-PASS1_BITS); in jpeg_idct_5x5()
754 wsptr = workspace; in jpeg_idct_5x5()
761 tmp12 = (INT32) wsptr[0] + (ONE << (PASS1_BITS+2)); in jpeg_idct_5x5()
763 tmp0 = (INT32) wsptr[2]; in jpeg_idct_5x5()
764 tmp1 = (INT32) wsptr[4]; in jpeg_idct_5x5()
774 z2 = (INT32) wsptr[1]; in jpeg_idct_5x5()
775 z3 = (INT32) wsptr[3]; in jpeg_idct_5x5()
799 wsptr += 5; /* advance pointer to next row */ in jpeg_idct_5x5()
821 int * wsptr; in jpeg_idct_4x4() local
832 wsptr = workspace; in jpeg_idct_4x4()
833 for (ctr = 0; ctr < 4; ctr++, inptr++, quantptr++, wsptr++) { in jpeg_idct_4x4()
858 wsptr[4*0] = (int) (tmp10 + tmp0); in jpeg_idct_4x4()
859 wsptr[4*3] = (int) (tmp10 - tmp0); in jpeg_idct_4x4()
860 wsptr[4*1] = (int) (tmp12 + tmp2); in jpeg_idct_4x4()
861 wsptr[4*2] = (int) (tmp12 - tmp2); in jpeg_idct_4x4()
866 wsptr = workspace; in jpeg_idct_4x4()
873 tmp0 = (INT32) wsptr[0] + (ONE << (PASS1_BITS+2)); in jpeg_idct_4x4()
874 tmp2 = (INT32) wsptr[2]; in jpeg_idct_4x4()
882 z2 = (INT32) wsptr[1]; in jpeg_idct_4x4()
883 z3 = (INT32) wsptr[3]; in jpeg_idct_4x4()
904 wsptr += 4; /* advance pointer to next row */ in jpeg_idct_4x4()
925 int * wsptr; in jpeg_idct_3x3() local
936 wsptr = workspace; in jpeg_idct_3x3()
937 for (ctr = 0; ctr < 3; ctr++, inptr++, quantptr++, wsptr++) { in jpeg_idct_3x3()
956 wsptr[3*0] = (int) RIGHT_SHIFT(tmp10 + tmp0, CONST_BITS-PASS1_BITS); in jpeg_idct_3x3()
957 wsptr[3*2] = (int) RIGHT_SHIFT(tmp10 - tmp0, CONST_BITS-PASS1_BITS); in jpeg_idct_3x3()
958 wsptr[3*1] = (int) RIGHT_SHIFT(tmp2, CONST_BITS-PASS1_BITS); in jpeg_idct_3x3()
963 wsptr = workspace; in jpeg_idct_3x3()
970 tmp0 = (INT32) wsptr[0] + (ONE << (PASS1_BITS+2)); in jpeg_idct_3x3()
972 tmp2 = (INT32) wsptr[2]; in jpeg_idct_3x3()
979 tmp12 = (INT32) wsptr[1]; in jpeg_idct_3x3()
994 wsptr += 3; /* advance pointer to next row */ in jpeg_idct_3x3()
1097 int * wsptr; in jpeg_idct_9x9() local
1108 wsptr = workspace; in jpeg_idct_9x9()
1109 for (ctr = 0; ctr < 8; ctr++, inptr++, quantptr++, wsptr++) { in jpeg_idct_9x9()
1156 wsptr[8*0] = (int) RIGHT_SHIFT(tmp10 + tmp0, CONST_BITS-PASS1_BITS); in jpeg_idct_9x9()
1157 wsptr[8*8] = (int) RIGHT_SHIFT(tmp10 - tmp0, CONST_BITS-PASS1_BITS); in jpeg_idct_9x9()
1158 wsptr[8*1] = (int) RIGHT_SHIFT(tmp11 + tmp1, CONST_BITS-PASS1_BITS); in jpeg_idct_9x9()
1159 wsptr[8*7] = (int) RIGHT_SHIFT(tmp11 - tmp1, CONST_BITS-PASS1_BITS); in jpeg_idct_9x9()
1160 wsptr[8*2] = (int) RIGHT_SHIFT(tmp12 + tmp2, CONST_BITS-PASS1_BITS); in jpeg_idct_9x9()
1161 wsptr[8*6] = (int) RIGHT_SHIFT(tmp12 - tmp2, CONST_BITS-PASS1_BITS); in jpeg_idct_9x9()
1162 wsptr[8*3] = (int) RIGHT_SHIFT(tmp13 + tmp3, CONST_BITS-PASS1_BITS); in jpeg_idct_9x9()
1163 wsptr[8*5] = (int) RIGHT_SHIFT(tmp13 - tmp3, CONST_BITS-PASS1_BITS); in jpeg_idct_9x9()
1164 wsptr[8*4] = (int) RIGHT_SHIFT(tmp14, CONST_BITS-PASS1_BITS); in jpeg_idct_9x9()
1169 wsptr = workspace; in jpeg_idct_9x9()
1176 tmp0 = (INT32) wsptr[0] + (ONE << (PASS1_BITS+2)); in jpeg_idct_9x9()
1179 z1 = (INT32) wsptr[2]; in jpeg_idct_9x9()
1180 z2 = (INT32) wsptr[4]; in jpeg_idct_9x9()
1181 z3 = (INT32) wsptr[6]; in jpeg_idct_9x9()
1201 z1 = (INT32) wsptr[1]; in jpeg_idct_9x9()
1202 z2 = (INT32) wsptr[3]; in jpeg_idct_9x9()
1203 z3 = (INT32) wsptr[5]; in jpeg_idct_9x9()
1204 z4 = (INT32) wsptr[7]; in jpeg_idct_9x9()
1246 wsptr += 8; /* advance pointer to next row */ in jpeg_idct_9x9()
1269 int * wsptr; in jpeg_idct_10x10() local
1280 wsptr = workspace; in jpeg_idct_10x10()
1281 for (ctr = 0; ctr < 8; ctr++, inptr++, quantptr++, wsptr++) { in jpeg_idct_10x10()
1338 wsptr[8*0] = (int) RIGHT_SHIFT(tmp20 + tmp10, CONST_BITS-PASS1_BITS); in jpeg_idct_10x10()
1339 wsptr[8*9] = (int) RIGHT_SHIFT(tmp20 - tmp10, CONST_BITS-PASS1_BITS); in jpeg_idct_10x10()
1340 wsptr[8*1] = (int) RIGHT_SHIFT(tmp21 + tmp11, CONST_BITS-PASS1_BITS); in jpeg_idct_10x10()
1341 wsptr[8*8] = (int) RIGHT_SHIFT(tmp21 - tmp11, CONST_BITS-PASS1_BITS); in jpeg_idct_10x10()
1342 wsptr[8*2] = (int) (tmp22 + tmp12); in jpeg_idct_10x10()
1343 wsptr[8*7] = (int) (tmp22 - tmp12); in jpeg_idct_10x10()
1344 wsptr[8*3] = (int) RIGHT_SHIFT(tmp23 + tmp13, CONST_BITS-PASS1_BITS); in jpeg_idct_10x10()
1345 wsptr[8*6] = (int) RIGHT_SHIFT(tmp23 - tmp13, CONST_BITS-PASS1_BITS); in jpeg_idct_10x10()
1346 wsptr[8*4] = (int) RIGHT_SHIFT(tmp24 + tmp14, CONST_BITS-PASS1_BITS); in jpeg_idct_10x10()
1347 wsptr[8*5] = (int) RIGHT_SHIFT(tmp24 - tmp14, CONST_BITS-PASS1_BITS); in jpeg_idct_10x10()
1352 wsptr = workspace; in jpeg_idct_10x10()
1359 z3 = (INT32) wsptr[0] + (ONE << (PASS1_BITS+2)); in jpeg_idct_10x10()
1361 z4 = (INT32) wsptr[4]; in jpeg_idct_10x10()
1369 z2 = (INT32) wsptr[2]; in jpeg_idct_10x10()
1370 z3 = (INT32) wsptr[6]; in jpeg_idct_10x10()
1383 z1 = (INT32) wsptr[1]; in jpeg_idct_10x10()
1384 z2 = (INT32) wsptr[3]; in jpeg_idct_10x10()
1385 z3 = (INT32) wsptr[5]; in jpeg_idct_10x10()
1387 z4 = (INT32) wsptr[7]; in jpeg_idct_10x10()
1441 wsptr += 8; /* advance pointer to next row */ in jpeg_idct_10x10()
1464 int * wsptr; in jpeg_idct_11x11() local
1475 wsptr = workspace; in jpeg_idct_11x11()
1476 for (ctr = 0; ctr < 8; ctr++, inptr++, quantptr++, wsptr++) { in jpeg_idct_11x11()
1530 wsptr[8*0] = (int) RIGHT_SHIFT(tmp20 + tmp10, CONST_BITS-PASS1_BITS); in jpeg_idct_11x11()
1531 wsptr[8*10] = (int) RIGHT_SHIFT(tmp20 - tmp10, CONST_BITS-PASS1_BITS); in jpeg_idct_11x11()
1532 wsptr[8*1] = (int) RIGHT_SHIFT(tmp21 + tmp11, CONST_BITS-PASS1_BITS); in jpeg_idct_11x11()
1533 wsptr[8*9] = (int) RIGHT_SHIFT(tmp21 - tmp11, CONST_BITS-PASS1_BITS); in jpeg_idct_11x11()
1534 wsptr[8*2] = (int) RIGHT_SHIFT(tmp22 + tmp12, CONST_BITS-PASS1_BITS); in jpeg_idct_11x11()
1535 wsptr[8*8] = (int) RIGHT_SHIFT(tmp22 - tmp12, CONST_BITS-PASS1_BITS); in jpeg_idct_11x11()
1536 wsptr[8*3] = (int) RIGHT_SHIFT(tmp23 + tmp13, CONST_BITS-PASS1_BITS); in jpeg_idct_11x11()
1537 wsptr[8*7] = (int) RIGHT_SHIFT(tmp23 - tmp13, CONST_BITS-PASS1_BITS); in jpeg_idct_11x11()
1538 wsptr[8*4] = (int) RIGHT_SHIFT(tmp24 + tmp14, CONST_BITS-PASS1_BITS); in jpeg_idct_11x11()
1539 wsptr[8*6] = (int) RIGHT_SHIFT(tmp24 - tmp14, CONST_BITS-PASS1_BITS); in jpeg_idct_11x11()
1540 wsptr[8*5] = (int) RIGHT_SHIFT(tmp25, CONST_BITS-PASS1_BITS); in jpeg_idct_11x11()
1545 wsptr = workspace; in jpeg_idct_11x11()
1552 tmp10 = (INT32) wsptr[0] + (ONE << (PASS1_BITS+2)); in jpeg_idct_11x11()
1555 z1 = (INT32) wsptr[2]; in jpeg_idct_11x11()
1556 z2 = (INT32) wsptr[4]; in jpeg_idct_11x11()
1557 z3 = (INT32) wsptr[6]; in jpeg_idct_11x11()
1577 z1 = (INT32) wsptr[1]; in jpeg_idct_11x11()
1578 z2 = (INT32) wsptr[3]; in jpeg_idct_11x11()
1579 z3 = (INT32) wsptr[5]; in jpeg_idct_11x11()
1580 z4 = (INT32) wsptr[7]; in jpeg_idct_11x11()
1635 wsptr += 8; /* advance pointer to next row */ in jpeg_idct_11x11()
1658 int * wsptr; in jpeg_idct_12x12() local
1669 wsptr = workspace; in jpeg_idct_12x12()
1670 for (ctr = 0; ctr < 8; ctr++, inptr++, quantptr++, wsptr++) { in jpeg_idct_12x12()
1733 wsptr[8*0] = (int) RIGHT_SHIFT(tmp20 + tmp10, CONST_BITS-PASS1_BITS); in jpeg_idct_12x12()
1734 wsptr[8*11] = (int) RIGHT_SHIFT(tmp20 - tmp10, CONST_BITS-PASS1_BITS); in jpeg_idct_12x12()
1735 wsptr[8*1] = (int) RIGHT_SHIFT(tmp21 + tmp11, CONST_BITS-PASS1_BITS); in jpeg_idct_12x12()
1736 wsptr[8*10] = (int) RIGHT_SHIFT(tmp21 - tmp11, CONST_BITS-PASS1_BITS); in jpeg_idct_12x12()
1737 wsptr[8*2] = (int) RIGHT_SHIFT(tmp22 + tmp12, CONST_BITS-PASS1_BITS); in jpeg_idct_12x12()
1738 wsptr[8*9] = (int) RIGHT_SHIFT(tmp22 - tmp12, CONST_BITS-PASS1_BITS); in jpeg_idct_12x12()
1739 wsptr[8*3] = (int) RIGHT_SHIFT(tmp23 + tmp13, CONST_BITS-PASS1_BITS); in jpeg_idct_12x12()
1740 wsptr[8*8] = (int) RIGHT_SHIFT(tmp23 - tmp13, CONST_BITS-PASS1_BITS); in jpeg_idct_12x12()
1741 wsptr[8*4] = (int) RIGHT_SHIFT(tmp24 + tmp14, CONST_BITS-PASS1_BITS); in jpeg_idct_12x12()
1742 wsptr[8*7] = (int) RIGHT_SHIFT(tmp24 - tmp14, CONST_BITS-PASS1_BITS); in jpeg_idct_12x12()
1743 wsptr[8*5] = (int) RIGHT_SHIFT(tmp25 + tmp15, CONST_BITS-PASS1_BITS); in jpeg_idct_12x12()
1744 wsptr[8*6] = (int) RIGHT_SHIFT(tmp25 - tmp15, CONST_BITS-PASS1_BITS); in jpeg_idct_12x12()
1749 wsptr = workspace; in jpeg_idct_12x12()
1756 z3 = (INT32) wsptr[0] + (ONE << (PASS1_BITS+2)); in jpeg_idct_12x12()
1759 z4 = (INT32) wsptr[4]; in jpeg_idct_12x12()
1765 z1 = (INT32) wsptr[2]; in jpeg_idct_12x12()
1768 z2 = (INT32) wsptr[6]; in jpeg_idct_12x12()
1788 z1 = (INT32) wsptr[1]; in jpeg_idct_12x12()
1789 z2 = (INT32) wsptr[3]; in jpeg_idct_12x12()
1790 z3 = (INT32) wsptr[5]; in jpeg_idct_12x12()
1791 z4 = (INT32) wsptr[7]; in jpeg_idct_12x12()
1851 wsptr += 8; /* advance pointer to next row */ in jpeg_idct_12x12()
1874 int * wsptr; in jpeg_idct_13x13() local
1885 wsptr = workspace; in jpeg_idct_13x13()
1886 for (ctr = 0; ctr < 8; ctr++, inptr++, quantptr++, wsptr++) { in jpeg_idct_13x13()
1953 wsptr[8*0] = (int) RIGHT_SHIFT(tmp20 + tmp10, CONST_BITS-PASS1_BITS); in jpeg_idct_13x13()
1954 wsptr[8*12] = (int) RIGHT_SHIFT(tmp20 - tmp10, CONST_BITS-PASS1_BITS); in jpeg_idct_13x13()
1955 wsptr[8*1] = (int) RIGHT_SHIFT(tmp21 + tmp11, CONST_BITS-PASS1_BITS); in jpeg_idct_13x13()
1956 wsptr[8*11] = (int) RIGHT_SHIFT(tmp21 - tmp11, CONST_BITS-PASS1_BITS); in jpeg_idct_13x13()
1957 wsptr[8*2] = (int) RIGHT_SHIFT(tmp22 + tmp12, CONST_BITS-PASS1_BITS); in jpeg_idct_13x13()
1958 wsptr[8*10] = (int) RIGHT_SHIFT(tmp22 - tmp12, CONST_BITS-PASS1_BITS); in jpeg_idct_13x13()
1959 wsptr[8*3] = (int) RIGHT_SHIFT(tmp23 + tmp13, CONST_BITS-PASS1_BITS); in jpeg_idct_13x13()
1960 wsptr[8*9] = (int) RIGHT_SHIFT(tmp23 - tmp13, CONST_BITS-PASS1_BITS); in jpeg_idct_13x13()
1961 wsptr[8*4] = (int) RIGHT_SHIFT(tmp24 + tmp14, CONST_BITS-PASS1_BITS); in jpeg_idct_13x13()
1962 wsptr[8*8] = (int) RIGHT_SHIFT(tmp24 - tmp14, CONST_BITS-PASS1_BITS); in jpeg_idct_13x13()
1963 wsptr[8*5] = (int) RIGHT_SHIFT(tmp25 + tmp15, CONST_BITS-PASS1_BITS); in jpeg_idct_13x13()
1964 wsptr[8*7] = (int) RIGHT_SHIFT(tmp25 - tmp15, CONST_BITS-PASS1_BITS); in jpeg_idct_13x13()
1965 wsptr[8*6] = (int) RIGHT_SHIFT(tmp26, CONST_BITS-PASS1_BITS); in jpeg_idct_13x13()
1970 wsptr = workspace; in jpeg_idct_13x13()
1977 z1 = (INT32) wsptr[0] + (ONE << (PASS1_BITS+2)); in jpeg_idct_13x13()
1980 z2 = (INT32) wsptr[2]; in jpeg_idct_13x13()
1981 z3 = (INT32) wsptr[4]; in jpeg_idct_13x13()
1982 z4 = (INT32) wsptr[6]; in jpeg_idct_13x13()
2009 z1 = (INT32) wsptr[1]; in jpeg_idct_13x13()
2010 z2 = (INT32) wsptr[3]; in jpeg_idct_13x13()
2011 z3 = (INT32) wsptr[5]; in jpeg_idct_13x13()
2012 z4 = (INT32) wsptr[7]; in jpeg_idct_13x13()
2079 wsptr += 8; /* advance pointer to next row */ in jpeg_idct_13x13()
2102 int * wsptr; in jpeg_idct_14x14() local
2113 wsptr = workspace; in jpeg_idct_14x14()
2114 for (ctr = 0; ctr < 8; ctr++, inptr++, quantptr++, wsptr++) { in jpeg_idct_14x14()
2179 wsptr[8*0] = (int) RIGHT_SHIFT(tmp20 + tmp10, CONST_BITS-PASS1_BITS); in jpeg_idct_14x14()
2180 wsptr[8*13] = (int) RIGHT_SHIFT(tmp20 - tmp10, CONST_BITS-PASS1_BITS); in jpeg_idct_14x14()
2181 wsptr[8*1] = (int) RIGHT_SHIFT(tmp21 + tmp11, CONST_BITS-PASS1_BITS); in jpeg_idct_14x14()
2182 wsptr[8*12] = (int) RIGHT_SHIFT(tmp21 - tmp11, CONST_BITS-PASS1_BITS); in jpeg_idct_14x14()
2183 wsptr[8*2] = (int) RIGHT_SHIFT(tmp22 + tmp12, CONST_BITS-PASS1_BITS); in jpeg_idct_14x14()
2184 wsptr[8*11] = (int) RIGHT_SHIFT(tmp22 - tmp12, CONST_BITS-PASS1_BITS); in jpeg_idct_14x14()
2185 wsptr[8*3] = (int) (tmp23 + tmp13); in jpeg_idct_14x14()
2186 wsptr[8*10] = (int) (tmp23 - tmp13); in jpeg_idct_14x14()
2187 wsptr[8*4] = (int) RIGHT_SHIFT(tmp24 + tmp14, CONST_BITS-PASS1_BITS); in jpeg_idct_14x14()
2188 wsptr[8*9] = (int) RIGHT_SHIFT(tmp24 - tmp14, CONST_BITS-PASS1_BITS); in jpeg_idct_14x14()
2189 wsptr[8*5] = (int) RIGHT_SHIFT(tmp25 + tmp15, CONST_BITS-PASS1_BITS); in jpeg_idct_14x14()
2190 wsptr[8*8] = (int) RIGHT_SHIFT(tmp25 - tmp15, CONST_BITS-PASS1_BITS); in jpeg_idct_14x14()
2191 wsptr[8*6] = (int) RIGHT_SHIFT(tmp26 + tmp16, CONST_BITS-PASS1_BITS); in jpeg_idct_14x14()
2192 wsptr[8*7] = (int) RIGHT_SHIFT(tmp26 - tmp16, CONST_BITS-PASS1_BITS); in jpeg_idct_14x14()
2197 wsptr = workspace; in jpeg_idct_14x14()
2204 z1 = (INT32) wsptr[0] + (ONE << (PASS1_BITS+2)); in jpeg_idct_14x14()
2206 z4 = (INT32) wsptr[4]; in jpeg_idct_14x14()
2217 z1 = (INT32) wsptr[2]; in jpeg_idct_14x14()
2218 z2 = (INT32) wsptr[6]; in jpeg_idct_14x14()
2236 z1 = (INT32) wsptr[1]; in jpeg_idct_14x14()
2237 z2 = (INT32) wsptr[3]; in jpeg_idct_14x14()
2238 z3 = (INT32) wsptr[5]; in jpeg_idct_14x14()
2239 z4 = (INT32) wsptr[7]; in jpeg_idct_14x14()
2305 wsptr += 8; /* advance pointer to next row */ in jpeg_idct_14x14()
2328 int * wsptr; in jpeg_idct_15x15() local
2339 wsptr = workspace; in jpeg_idct_15x15()
2340 for (ctr = 0; ctr < 8; ctr++, inptr++, quantptr++, wsptr++) { in jpeg_idct_15x15()
2410 wsptr[8*0] = (int) RIGHT_SHIFT(tmp20 + tmp10, CONST_BITS-PASS1_BITS); in jpeg_idct_15x15()
2411 wsptr[8*14] = (int) RIGHT_SHIFT(tmp20 - tmp10, CONST_BITS-PASS1_BITS); in jpeg_idct_15x15()
2412 wsptr[8*1] = (int) RIGHT_SHIFT(tmp21 + tmp11, CONST_BITS-PASS1_BITS); in jpeg_idct_15x15()
2413 wsptr[8*13] = (int) RIGHT_SHIFT(tmp21 - tmp11, CONST_BITS-PASS1_BITS); in jpeg_idct_15x15()
2414 wsptr[8*2] = (int) RIGHT_SHIFT(tmp22 + tmp12, CONST_BITS-PASS1_BITS); in jpeg_idct_15x15()
2415 wsptr[8*12] = (int) RIGHT_SHIFT(tmp22 - tmp12, CONST_BITS-PASS1_BITS); in jpeg_idct_15x15()
2416 wsptr[8*3] = (int) RIGHT_SHIFT(tmp23 + tmp13, CONST_BITS-PASS1_BITS); in jpeg_idct_15x15()
2417 wsptr[8*11] = (int) RIGHT_SHIFT(tmp23 - tmp13, CONST_BITS-PASS1_BITS); in jpeg_idct_15x15()
2418 wsptr[8*4] = (int) RIGHT_SHIFT(tmp24 + tmp14, CONST_BITS-PASS1_BITS); in jpeg_idct_15x15()
2419 wsptr[8*10] = (int) RIGHT_SHIFT(tmp24 - tmp14, CONST_BITS-PASS1_BITS); in jpeg_idct_15x15()
2420 wsptr[8*5] = (int) RIGHT_SHIFT(tmp25 + tmp15, CONST_BITS-PASS1_BITS); in jpeg_idct_15x15()
2421 wsptr[8*9] = (int) RIGHT_SHIFT(tmp25 - tmp15, CONST_BITS-PASS1_BITS); in jpeg_idct_15x15()
2422 wsptr[8*6] = (int) RIGHT_SHIFT(tmp26 + tmp16, CONST_BITS-PASS1_BITS); in jpeg_idct_15x15()
2423 wsptr[8*8] = (int) RIGHT_SHIFT(tmp26 - tmp16, CONST_BITS-PASS1_BITS); in jpeg_idct_15x15()
2424 wsptr[8*7] = (int) RIGHT_SHIFT(tmp27, CONST_BITS-PASS1_BITS); in jpeg_idct_15x15()
2429 wsptr = workspace; in jpeg_idct_15x15()
2436 z1 = (INT32) wsptr[0] + (ONE << (PASS1_BITS+2)); in jpeg_idct_15x15()
2439 z2 = (INT32) wsptr[2]; in jpeg_idct_15x15()
2440 z3 = (INT32) wsptr[4]; in jpeg_idct_15x15()
2441 z4 = (INT32) wsptr[6]; in jpeg_idct_15x15()
2476 z1 = (INT32) wsptr[1]; in jpeg_idct_15x15()
2477 z2 = (INT32) wsptr[3]; in jpeg_idct_15x15()
2478 z4 = (INT32) wsptr[5]; in jpeg_idct_15x15()
2480 z4 = (INT32) wsptr[7]; in jpeg_idct_15x15()
2547 wsptr += 8; /* advance pointer to next row */ in jpeg_idct_15x15()
2570 int * wsptr; in jpeg_idct_16x16() local
2581 wsptr = workspace; in jpeg_idct_16x16()
2582 for (ctr = 0; ctr < 8; ctr++, inptr++, quantptr++, wsptr++) { in jpeg_idct_16x16()
2660 wsptr[8*0] = (int) RIGHT_SHIFT(tmp20 + tmp0, CONST_BITS-PASS1_BITS); in jpeg_idct_16x16()
2661 wsptr[8*15] = (int) RIGHT_SHIFT(tmp20 - tmp0, CONST_BITS-PASS1_BITS); in jpeg_idct_16x16()
2662 wsptr[8*1] = (int) RIGHT_SHIFT(tmp21 + tmp1, CONST_BITS-PASS1_BITS); in jpeg_idct_16x16()
2663 wsptr[8*14] = (int) RIGHT_SHIFT(tmp21 - tmp1, CONST_BITS-PASS1_BITS); in jpeg_idct_16x16()
2664 wsptr[8*2] = (int) RIGHT_SHIFT(tmp22 + tmp2, CONST_BITS-PASS1_BITS); in jpeg_idct_16x16()
2665 wsptr[8*13] = (int) RIGHT_SHIFT(tmp22 - tmp2, CONST_BITS-PASS1_BITS); in jpeg_idct_16x16()
2666 wsptr[8*3] = (int) RIGHT_SHIFT(tmp23 + tmp3, CONST_BITS-PASS1_BITS); in jpeg_idct_16x16()
2667 wsptr[8*12] = (int) RIGHT_SHIFT(tmp23 - tmp3, CONST_BITS-PASS1_BITS); in jpeg_idct_16x16()
2668 wsptr[8*4] = (int) RIGHT_SHIFT(tmp24 + tmp10, CONST_BITS-PASS1_BITS); in jpeg_idct_16x16()
2669 wsptr[8*11] = (int) RIGHT_SHIFT(tmp24 - tmp10, CONST_BITS-PASS1_BITS); in jpeg_idct_16x16()
2670 wsptr[8*5] = (int) RIGHT_SHIFT(tmp25 + tmp11, CONST_BITS-PASS1_BITS); in jpeg_idct_16x16()
2671 wsptr[8*10] = (int) RIGHT_SHIFT(tmp25 - tmp11, CONST_BITS-PASS1_BITS); in jpeg_idct_16x16()
2672 wsptr[8*6] = (int) RIGHT_SHIFT(tmp26 + tmp12, CONST_BITS-PASS1_BITS); in jpeg_idct_16x16()
2673 wsptr[8*9] = (int) RIGHT_SHIFT(tmp26 - tmp12, CONST_BITS-PASS1_BITS); in jpeg_idct_16x16()
2674 wsptr[8*7] = (int) RIGHT_SHIFT(tmp27 + tmp13, CONST_BITS-PASS1_BITS); in jpeg_idct_16x16()
2675 wsptr[8*8] = (int) RIGHT_SHIFT(tmp27 - tmp13, CONST_BITS-PASS1_BITS); in jpeg_idct_16x16()
2680 wsptr = workspace; in jpeg_idct_16x16()
2687 tmp0 = (INT32) wsptr[0] + (ONE << (PASS1_BITS+2)); in jpeg_idct_16x16()
2690 z1 = (INT32) wsptr[4]; in jpeg_idct_16x16()
2699 z1 = (INT32) wsptr[2]; in jpeg_idct_16x16()
2700 z2 = (INT32) wsptr[6]; in jpeg_idct_16x16()
2721 z1 = (INT32) wsptr[1]; in jpeg_idct_16x16()
2722 z2 = (INT32) wsptr[3]; in jpeg_idct_16x16()
2723 z3 = (INT32) wsptr[5]; in jpeg_idct_16x16()
2724 z4 = (INT32) wsptr[7]; in jpeg_idct_16x16()
2809 wsptr += 8; /* advance pointer to next row */ in jpeg_idct_16x16()
2831 int * wsptr; in jpeg_idct_16x8() local
2844 wsptr = workspace; in jpeg_idct_16x8()
2862 wsptr[DCTSIZE*0] = dcval; in jpeg_idct_16x8()
2863 wsptr[DCTSIZE*1] = dcval; in jpeg_idct_16x8()
2864 wsptr[DCTSIZE*2] = dcval; in jpeg_idct_16x8()
2865 wsptr[DCTSIZE*3] = dcval; in jpeg_idct_16x8()
2866 wsptr[DCTSIZE*4] = dcval; in jpeg_idct_16x8()
2867 wsptr[DCTSIZE*5] = dcval; in jpeg_idct_16x8()
2868 wsptr[DCTSIZE*6] = dcval; in jpeg_idct_16x8()
2869 wsptr[DCTSIZE*7] = dcval; in jpeg_idct_16x8()
2873 wsptr++; in jpeg_idct_16x8()
2934 wsptr[DCTSIZE*0] = (int) RIGHT_SHIFT(tmp10 + tmp3, CONST_BITS-PASS1_BITS); in jpeg_idct_16x8()
2935 wsptr[DCTSIZE*7] = (int) RIGHT_SHIFT(tmp10 - tmp3, CONST_BITS-PASS1_BITS); in jpeg_idct_16x8()
2936 wsptr[DCTSIZE*1] = (int) RIGHT_SHIFT(tmp11 + tmp2, CONST_BITS-PASS1_BITS); in jpeg_idct_16x8()
2937 wsptr[DCTSIZE*6] = (int) RIGHT_SHIFT(tmp11 - tmp2, CONST_BITS-PASS1_BITS); in jpeg_idct_16x8()
2938 wsptr[DCTSIZE*2] = (int) RIGHT_SHIFT(tmp12 + tmp1, CONST_BITS-PASS1_BITS); in jpeg_idct_16x8()
2939 wsptr[DCTSIZE*5] = (int) RIGHT_SHIFT(tmp12 - tmp1, CONST_BITS-PASS1_BITS); in jpeg_idct_16x8()
2940 wsptr[DCTSIZE*3] = (int) RIGHT_SHIFT(tmp13 + tmp0, CONST_BITS-PASS1_BITS); in jpeg_idct_16x8()
2941 wsptr[DCTSIZE*4] = (int) RIGHT_SHIFT(tmp13 - tmp0, CONST_BITS-PASS1_BITS); in jpeg_idct_16x8()
2945 wsptr++; in jpeg_idct_16x8()
2951 wsptr = workspace; in jpeg_idct_16x8()
2958 tmp0 = (INT32) wsptr[0] + (ONE << (PASS1_BITS+2)); in jpeg_idct_16x8()
2961 z1 = (INT32) wsptr[4]; in jpeg_idct_16x8()
2970 z1 = (INT32) wsptr[2]; in jpeg_idct_16x8()
2971 z2 = (INT32) wsptr[6]; in jpeg_idct_16x8()
2992 z1 = (INT32) wsptr[1]; in jpeg_idct_16x8()
2993 z2 = (INT32) wsptr[3]; in jpeg_idct_16x8()
2994 z3 = (INT32) wsptr[5]; in jpeg_idct_16x8()
2995 z4 = (INT32) wsptr[7]; in jpeg_idct_16x8()
3080 wsptr += 8; /* advance pointer to next row */ in jpeg_idct_16x8()
3102 int * wsptr; in jpeg_idct_14x7() local
3114 wsptr = workspace; in jpeg_idct_14x7()
3115 for (ctr = 0; ctr < 8; ctr++, inptr++, quantptr++, wsptr++) { in jpeg_idct_14x7()
3155 wsptr[8*0] = (int) RIGHT_SHIFT(tmp20 + tmp10, CONST_BITS-PASS1_BITS); in jpeg_idct_14x7()
3156 wsptr[8*6] = (int) RIGHT_SHIFT(tmp20 - tmp10, CONST_BITS-PASS1_BITS); in jpeg_idct_14x7()
3157 wsptr[8*1] = (int) RIGHT_SHIFT(tmp21 + tmp11, CONST_BITS-PASS1_BITS); in jpeg_idct_14x7()
3158 wsptr[8*5] = (int) RIGHT_SHIFT(tmp21 - tmp11, CONST_BITS-PASS1_BITS); in jpeg_idct_14x7()
3159 wsptr[8*2] = (int) RIGHT_SHIFT(tmp22 + tmp12, CONST_BITS-PASS1_BITS); in jpeg_idct_14x7()
3160 wsptr[8*4] = (int) RIGHT_SHIFT(tmp22 - tmp12, CONST_BITS-PASS1_BITS); in jpeg_idct_14x7()
3161 wsptr[8*3] = (int) RIGHT_SHIFT(tmp23, CONST_BITS-PASS1_BITS); in jpeg_idct_14x7()
3167 wsptr = workspace; in jpeg_idct_14x7()
3174 z1 = (INT32) wsptr[0] + (ONE << (PASS1_BITS+2)); in jpeg_idct_14x7()
3176 z4 = (INT32) wsptr[4]; in jpeg_idct_14x7()
3187 z1 = (INT32) wsptr[2]; in jpeg_idct_14x7()
3188 z2 = (INT32) wsptr[6]; in jpeg_idct_14x7()
3206 z1 = (INT32) wsptr[1]; in jpeg_idct_14x7()
3207 z2 = (INT32) wsptr[3]; in jpeg_idct_14x7()
3208 z3 = (INT32) wsptr[5]; in jpeg_idct_14x7()
3209 z4 = (INT32) wsptr[7]; in jpeg_idct_14x7()
3275 wsptr += 8; /* advance pointer to next row */ in jpeg_idct_14x7()
3297 int * wsptr; in jpeg_idct_12x6() local
3309 wsptr = workspace; in jpeg_idct_12x6()
3310 for (ctr = 0; ctr < 8; ctr++, inptr++, quantptr++, wsptr++) { in jpeg_idct_12x6()
3338 wsptr[8*0] = (int) RIGHT_SHIFT(tmp20 + tmp10, CONST_BITS-PASS1_BITS); in jpeg_idct_12x6()
3339 wsptr[8*5] = (int) RIGHT_SHIFT(tmp20 - tmp10, CONST_BITS-PASS1_BITS); in jpeg_idct_12x6()
3340 wsptr[8*1] = (int) (tmp21 + tmp11); in jpeg_idct_12x6()
3341 wsptr[8*4] = (int) (tmp21 - tmp11); in jpeg_idct_12x6()
3342 wsptr[8*2] = (int) RIGHT_SHIFT(tmp22 + tmp12, CONST_BITS-PASS1_BITS); in jpeg_idct_12x6()
3343 wsptr[8*3] = (int) RIGHT_SHIFT(tmp22 - tmp12, CONST_BITS-PASS1_BITS); in jpeg_idct_12x6()
3349 wsptr = workspace; in jpeg_idct_12x6()
3356 z3 = (INT32) wsptr[0] + (ONE << (PASS1_BITS+2)); in jpeg_idct_12x6()
3359 z4 = (INT32) wsptr[4]; in jpeg_idct_12x6()
3365 z1 = (INT32) wsptr[2]; in jpeg_idct_12x6()
3368 z2 = (INT32) wsptr[6]; in jpeg_idct_12x6()
3388 z1 = (INT32) wsptr[1]; in jpeg_idct_12x6()
3389 z2 = (INT32) wsptr[3]; in jpeg_idct_12x6()
3390 z3 = (INT32) wsptr[5]; in jpeg_idct_12x6()
3391 z4 = (INT32) wsptr[7]; in jpeg_idct_12x6()
3451 wsptr += 8; /* advance pointer to next row */ in jpeg_idct_12x6()
3473 int * wsptr; in jpeg_idct_10x5() local
3485 wsptr = workspace; in jpeg_idct_10x5()
3486 for (ctr = 0; ctr < 8; ctr++, inptr++, quantptr++, wsptr++) { in jpeg_idct_10x5()
3513 wsptr[8*0] = (int) RIGHT_SHIFT(tmp10 + tmp13, CONST_BITS-PASS1_BITS); in jpeg_idct_10x5()
3514 wsptr[8*4] = (int) RIGHT_SHIFT(tmp10 - tmp13, CONST_BITS-PASS1_BITS); in jpeg_idct_10x5()
3515 wsptr[8*1] = (int) RIGHT_SHIFT(tmp11 + tmp14, CONST_BITS-PASS1_BITS); in jpeg_idct_10x5()
3516 wsptr[8*3] = (int) RIGHT_SHIFT(tmp11 - tmp14, CONST_BITS-PASS1_BITS); in jpeg_idct_10x5()
3517 wsptr[8*2] = (int) RIGHT_SHIFT(tmp12, CONST_BITS-PASS1_BITS); in jpeg_idct_10x5()
3523 wsptr = workspace; in jpeg_idct_10x5()
3530 z3 = (INT32) wsptr[0] + (ONE << (PASS1_BITS+2)); in jpeg_idct_10x5()
3532 z4 = (INT32) wsptr[4]; in jpeg_idct_10x5()
3540 z2 = (INT32) wsptr[2]; in jpeg_idct_10x5()
3541 z3 = (INT32) wsptr[6]; in jpeg_idct_10x5()
3554 z1 = (INT32) wsptr[1]; in jpeg_idct_10x5()
3555 z2 = (INT32) wsptr[3]; in jpeg_idct_10x5()
3556 z3 = (INT32) wsptr[5]; in jpeg_idct_10x5()
3558 z4 = (INT32) wsptr[7]; in jpeg_idct_10x5()
3612 wsptr += 8; /* advance pointer to next row */ in jpeg_idct_10x5()
3634 int * wsptr; in jpeg_idct_8x4() local
3646 wsptr = workspace; in jpeg_idct_8x4()
3647 for (ctr = 0; ctr < 8; ctr++, inptr++, quantptr++, wsptr++) { in jpeg_idct_8x4()
3672 wsptr[8*0] = (int) (tmp10 + tmp0); in jpeg_idct_8x4()
3673 wsptr[8*3] = (int) (tmp10 - tmp0); in jpeg_idct_8x4()
3674 wsptr[8*1] = (int) (tmp12 + tmp2); in jpeg_idct_8x4()
3675 wsptr[8*2] = (int) (tmp12 - tmp2); in jpeg_idct_8x4()
3682 wsptr = workspace; in jpeg_idct_8x4()
3689 z2 = (INT32) wsptr[2]; in jpeg_idct_8x4()
3690 z3 = (INT32) wsptr[6]; in jpeg_idct_8x4()
3697 z2 = (INT32) wsptr[0] + (ONE << (PASS1_BITS+2)); in jpeg_idct_8x4()
3698 z3 = (INT32) wsptr[4]; in jpeg_idct_8x4()
3712 tmp0 = (INT32) wsptr[7]; in jpeg_idct_8x4()
3713 tmp1 = (INT32) wsptr[5]; in jpeg_idct_8x4()
3714 tmp2 = (INT32) wsptr[3]; in jpeg_idct_8x4()
3715 tmp3 = (INT32) wsptr[1]; in jpeg_idct_8x4()
3765 wsptr += DCTSIZE; /* advance pointer to next row */ in jpeg_idct_8x4()
3786 int * wsptr; in jpeg_idct_6x3() local
3798 wsptr = workspace; in jpeg_idct_6x3()
3799 for (ctr = 0; ctr < 6; ctr++, inptr++, quantptr++, wsptr++) { in jpeg_idct_6x3()
3818 wsptr[6*0] = (int) RIGHT_SHIFT(tmp10 + tmp0, CONST_BITS-PASS1_BITS); in jpeg_idct_6x3()
3819 wsptr[6*2] = (int) RIGHT_SHIFT(tmp10 - tmp0, CONST_BITS-PASS1_BITS); in jpeg_idct_6x3()
3820 wsptr[6*1] = (int) RIGHT_SHIFT(tmp2, CONST_BITS-PASS1_BITS); in jpeg_idct_6x3()
3826 wsptr = workspace; in jpeg_idct_6x3()
3833 tmp0 = (INT32) wsptr[0] + (ONE << (PASS1_BITS+2)); in jpeg_idct_6x3()
3835 tmp2 = (INT32) wsptr[4]; in jpeg_idct_6x3()
3839 tmp10 = (INT32) wsptr[2]; in jpeg_idct_6x3()
3846 z1 = (INT32) wsptr[1]; in jpeg_idct_6x3()
3847 z2 = (INT32) wsptr[3]; in jpeg_idct_6x3()
3848 z3 = (INT32) wsptr[5]; in jpeg_idct_6x3()
3875 wsptr += 6; /* advance pointer to next row */ in jpeg_idct_6x3()
3896 INT32 * wsptr; in jpeg_idct_4x2() local
3907 wsptr = workspace; in jpeg_idct_4x2()
3908 for (ctr = 0; ctr < 4; ctr++, inptr++, quantptr++, wsptr++) { in jpeg_idct_4x2()
3919 wsptr[4*0] = tmp10 + tmp0; in jpeg_idct_4x2()
3920 wsptr[4*1] = tmp10 - tmp0; in jpeg_idct_4x2()
3927 wsptr = workspace; in jpeg_idct_4x2()
3934 tmp0 = wsptr[0] + (ONE << 2); in jpeg_idct_4x2()
3935 tmp2 = wsptr[2]; in jpeg_idct_4x2()
3943 z2 = wsptr[1]; in jpeg_idct_4x2()
3944 z3 = wsptr[3]; in jpeg_idct_4x2()
3965 wsptr += 4; /* advance pointer to next row */ in jpeg_idct_4x2()
4029 int * wsptr; in jpeg_idct_8x16() local
4041 wsptr = workspace; in jpeg_idct_8x16()
4042 for (ctr = 0; ctr < 8; ctr++, inptr++, quantptr++, wsptr++) { in jpeg_idct_8x16()
4120 wsptr[8*0] = (int) RIGHT_SHIFT(tmp20 + tmp0, CONST_BITS-PASS1_BITS); in jpeg_idct_8x16()
4121 wsptr[8*15] = (int) RIGHT_SHIFT(tmp20 - tmp0, CONST_BITS-PASS1_BITS); in jpeg_idct_8x16()
4122 wsptr[8*1] = (int) RIGHT_SHIFT(tmp21 + tmp1, CONST_BITS-PASS1_BITS); in jpeg_idct_8x16()
4123 wsptr[8*14] = (int) RIGHT_SHIFT(tmp21 - tmp1, CONST_BITS-PASS1_BITS); in jpeg_idct_8x16()
4124 wsptr[8*2] = (int) RIGHT_SHIFT(tmp22 + tmp2, CONST_BITS-PASS1_BITS); in jpeg_idct_8x16()
4125 wsptr[8*13] = (int) RIGHT_SHIFT(tmp22 - tmp2, CONST_BITS-PASS1_BITS); in jpeg_idct_8x16()
4126 wsptr[8*3] = (int) RIGHT_SHIFT(tmp23 + tmp3, CONST_BITS-PASS1_BITS); in jpeg_idct_8x16()
4127 wsptr[8*12] = (int) RIGHT_SHIFT(tmp23 - tmp3, CONST_BITS-PASS1_BITS); in jpeg_idct_8x16()
4128 wsptr[8*4] = (int) RIGHT_SHIFT(tmp24 + tmp10, CONST_BITS-PASS1_BITS); in jpeg_idct_8x16()
4129 wsptr[8*11] = (int) RIGHT_SHIFT(tmp24 - tmp10, CONST_BITS-PASS1_BITS); in jpeg_idct_8x16()
4130 wsptr[8*5] = (int) RIGHT_SHIFT(tmp25 + tmp11, CONST_BITS-PASS1_BITS); in jpeg_idct_8x16()
4131 wsptr[8*10] = (int) RIGHT_SHIFT(tmp25 - tmp11, CONST_BITS-PASS1_BITS); in jpeg_idct_8x16()
4132 wsptr[8*6] = (int) RIGHT_SHIFT(tmp26 + tmp12, CONST_BITS-PASS1_BITS); in jpeg_idct_8x16()
4133 wsptr[8*9] = (int) RIGHT_SHIFT(tmp26 - tmp12, CONST_BITS-PASS1_BITS); in jpeg_idct_8x16()
4134 wsptr[8*7] = (int) RIGHT_SHIFT(tmp27 + tmp13, CONST_BITS-PASS1_BITS); in jpeg_idct_8x16()
4135 wsptr[8*8] = (int) RIGHT_SHIFT(tmp27 - tmp13, CONST_BITS-PASS1_BITS); in jpeg_idct_8x16()
4142 wsptr = workspace; in jpeg_idct_8x16()
4149 z2 = (INT32) wsptr[2]; in jpeg_idct_8x16()
4150 z3 = (INT32) wsptr[6]; in jpeg_idct_8x16()
4157 z2 = (INT32) wsptr[0] + (ONE << (PASS1_BITS+2)); in jpeg_idct_8x16()
4158 z3 = (INT32) wsptr[4]; in jpeg_idct_8x16()
4172 tmp0 = (INT32) wsptr[7]; in jpeg_idct_8x16()
4173 tmp1 = (INT32) wsptr[5]; in jpeg_idct_8x16()
4174 tmp2 = (INT32) wsptr[3]; in jpeg_idct_8x16()
4175 tmp3 = (INT32) wsptr[1]; in jpeg_idct_8x16()
4225 wsptr += DCTSIZE; /* advance pointer to next row */ in jpeg_idct_8x16()
4247 int * wsptr; in jpeg_idct_7x14() local
4259 wsptr = workspace; in jpeg_idct_7x14()
4260 for (ctr = 0; ctr < 7; ctr++, inptr++, quantptr++, wsptr++) { in jpeg_idct_7x14()
4325 wsptr[7*0] = (int) RIGHT_SHIFT(tmp20 + tmp10, CONST_BITS-PASS1_BITS); in jpeg_idct_7x14()
4326 wsptr[7*13] = (int) RIGHT_SHIFT(tmp20 - tmp10, CONST_BITS-PASS1_BITS); in jpeg_idct_7x14()
4327 wsptr[7*1] = (int) RIGHT_SHIFT(tmp21 + tmp11, CONST_BITS-PASS1_BITS); in jpeg_idct_7x14()
4328 wsptr[7*12] = (int) RIGHT_SHIFT(tmp21 - tmp11, CONST_BITS-PASS1_BITS); in jpeg_idct_7x14()
4329 wsptr[7*2] = (int) RIGHT_SHIFT(tmp22 + tmp12, CONST_BITS-PASS1_BITS); in jpeg_idct_7x14()
4330 wsptr[7*11] = (int) RIGHT_SHIFT(tmp22 - tmp12, CONST_BITS-PASS1_BITS); in jpeg_idct_7x14()
4331 wsptr[7*3] = (int) (tmp23 + tmp13); in jpeg_idct_7x14()
4332 wsptr[7*10] = (int) (tmp23 - tmp13); in jpeg_idct_7x14()
4333 wsptr[7*4] = (int) RIGHT_SHIFT(tmp24 + tmp14, CONST_BITS-PASS1_BITS); in jpeg_idct_7x14()
4334 wsptr[7*9] = (int) RIGHT_SHIFT(tmp24 - tmp14, CONST_BITS-PASS1_BITS); in jpeg_idct_7x14()
4335 wsptr[7*5] = (int) RIGHT_SHIFT(tmp25 + tmp15, CONST_BITS-PASS1_BITS); in jpeg_idct_7x14()
4336 wsptr[7*8] = (int) RIGHT_SHIFT(tmp25 - tmp15, CONST_BITS-PASS1_BITS); in jpeg_idct_7x14()
4337 wsptr[7*6] = (int) RIGHT_SHIFT(tmp26 + tmp16, CONST_BITS-PASS1_BITS); in jpeg_idct_7x14()
4338 wsptr[7*7] = (int) RIGHT_SHIFT(tmp26 - tmp16, CONST_BITS-PASS1_BITS); in jpeg_idct_7x14()
4344 wsptr = workspace; in jpeg_idct_7x14()
4351 tmp23 = (INT32) wsptr[0] + (ONE << (PASS1_BITS+2)); in jpeg_idct_7x14()
4354 z1 = (INT32) wsptr[2]; in jpeg_idct_7x14()
4355 z2 = (INT32) wsptr[4]; in jpeg_idct_7x14()
4356 z3 = (INT32) wsptr[6]; in jpeg_idct_7x14()
4370 z1 = (INT32) wsptr[1]; in jpeg_idct_7x14()
4371 z2 = (INT32) wsptr[3]; in jpeg_idct_7x14()
4372 z3 = (INT32) wsptr[5]; in jpeg_idct_7x14()
4408 wsptr += 7; /* advance pointer to next row */ in jpeg_idct_7x14()
4430 int * wsptr; in jpeg_idct_6x12() local
4442 wsptr = workspace; in jpeg_idct_6x12()
4443 for (ctr = 0; ctr < 6; ctr++, inptr++, quantptr++, wsptr++) { in jpeg_idct_6x12()
4506 wsptr[6*0] = (int) RIGHT_SHIFT(tmp20 + tmp10, CONST_BITS-PASS1_BITS); in jpeg_idct_6x12()
4507 wsptr[6*11] = (int) RIGHT_SHIFT(tmp20 - tmp10, CONST_BITS-PASS1_BITS); in jpeg_idct_6x12()
4508 wsptr[6*1] = (int) RIGHT_SHIFT(tmp21 + tmp11, CONST_BITS-PASS1_BITS); in jpeg_idct_6x12()
4509 wsptr[6*10] = (int) RIGHT_SHIFT(tmp21 - tmp11, CONST_BITS-PASS1_BITS); in jpeg_idct_6x12()
4510 wsptr[6*2] = (int) RIGHT_SHIFT(tmp22 + tmp12, CONST_BITS-PASS1_BITS); in jpeg_idct_6x12()
4511 wsptr[6*9] = (int) RIGHT_SHIFT(tmp22 - tmp12, CONST_BITS-PASS1_BITS); in jpeg_idct_6x12()
4512 wsptr[6*3] = (int) RIGHT_SHIFT(tmp23 + tmp13, CONST_BITS-PASS1_BITS); in jpeg_idct_6x12()
4513 wsptr[6*8] = (int) RIGHT_SHIFT(tmp23 - tmp13, CONST_BITS-PASS1_BITS); in jpeg_idct_6x12()
4514 wsptr[6*4] = (int) RIGHT_SHIFT(tmp24 + tmp14, CONST_BITS-PASS1_BITS); in jpeg_idct_6x12()
4515 wsptr[6*7] = (int) RIGHT_SHIFT(tmp24 - tmp14, CONST_BITS-PASS1_BITS); in jpeg_idct_6x12()
4516 wsptr[6*5] = (int) RIGHT_SHIFT(tmp25 + tmp15, CONST_BITS-PASS1_BITS); in jpeg_idct_6x12()
4517 wsptr[6*6] = (int) RIGHT_SHIFT(tmp25 - tmp15, CONST_BITS-PASS1_BITS); in jpeg_idct_6x12()
4523 wsptr = workspace; in jpeg_idct_6x12()
4530 tmp10 = (INT32) wsptr[0] + (ONE << (PASS1_BITS+2)); in jpeg_idct_6x12()
4532 tmp12 = (INT32) wsptr[4]; in jpeg_idct_6x12()
4536 tmp20 = (INT32) wsptr[2]; in jpeg_idct_6x12()
4543 z1 = (INT32) wsptr[1]; in jpeg_idct_6x12()
4544 z2 = (INT32) wsptr[3]; in jpeg_idct_6x12()
4545 z3 = (INT32) wsptr[5]; in jpeg_idct_6x12()
4572 wsptr += 6; /* advance pointer to next row */ in jpeg_idct_6x12()
4594 int * wsptr; in jpeg_idct_5x10() local
4606 wsptr = workspace; in jpeg_idct_5x10()
4607 for (ctr = 0; ctr < 5; ctr++, inptr++, quantptr++, wsptr++) { in jpeg_idct_5x10()
4664 wsptr[5*0] = (int) RIGHT_SHIFT(tmp20 + tmp10, CONST_BITS-PASS1_BITS); in jpeg_idct_5x10()
4665 wsptr[5*9] = (int) RIGHT_SHIFT(tmp20 - tmp10, CONST_BITS-PASS1_BITS); in jpeg_idct_5x10()
4666 wsptr[5*1] = (int) RIGHT_SHIFT(tmp21 + tmp11, CONST_BITS-PASS1_BITS); in jpeg_idct_5x10()
4667 wsptr[5*8] = (int) RIGHT_SHIFT(tmp21 - tmp11, CONST_BITS-PASS1_BITS); in jpeg_idct_5x10()
4668 wsptr[5*2] = (int) (tmp22 + tmp12); in jpeg_idct_5x10()
4669 wsptr[5*7] = (int) (tmp22 - tmp12); in jpeg_idct_5x10()
4670 wsptr[5*3] = (int) RIGHT_SHIFT(tmp23 + tmp13, CONST_BITS-PASS1_BITS); in jpeg_idct_5x10()
4671 wsptr[5*6] = (int) RIGHT_SHIFT(tmp23 - tmp13, CONST_BITS-PASS1_BITS); in jpeg_idct_5x10()
4672 wsptr[5*4] = (int) RIGHT_SHIFT(tmp24 + tmp14, CONST_BITS-PASS1_BITS); in jpeg_idct_5x10()
4673 wsptr[5*5] = (int) RIGHT_SHIFT(tmp24 - tmp14, CONST_BITS-PASS1_BITS); in jpeg_idct_5x10()
4679 wsptr = workspace; in jpeg_idct_5x10()
4686 tmp12 = (INT32) wsptr[0] + (ONE << (PASS1_BITS+2)); in jpeg_idct_5x10()
4688 tmp13 = (INT32) wsptr[2]; in jpeg_idct_5x10()
4689 tmp14 = (INT32) wsptr[4]; in jpeg_idct_5x10()
4699 z2 = (INT32) wsptr[1]; in jpeg_idct_5x10()
4700 z3 = (INT32) wsptr[3]; in jpeg_idct_5x10()
4724 wsptr += 5; /* advance pointer to next row */ in jpeg_idct_5x10()
4746 int * wsptr; in jpeg_idct_4x8() local
4759 wsptr = workspace; in jpeg_idct_4x8()
4777 wsptr[4*0] = dcval; in jpeg_idct_4x8()
4778 wsptr[4*1] = dcval; in jpeg_idct_4x8()
4779 wsptr[4*2] = dcval; in jpeg_idct_4x8()
4780 wsptr[4*3] = dcval; in jpeg_idct_4x8()
4781 wsptr[4*4] = dcval; in jpeg_idct_4x8()
4782 wsptr[4*5] = dcval; in jpeg_idct_4x8()
4783 wsptr[4*6] = dcval; in jpeg_idct_4x8()
4784 wsptr[4*7] = dcval; in jpeg_idct_4x8()
4788 wsptr++; in jpeg_idct_4x8()
4849 wsptr[4*0] = (int) RIGHT_SHIFT(tmp10 + tmp3, CONST_BITS-PASS1_BITS); in jpeg_idct_4x8()
4850 wsptr[4*7] = (int) RIGHT_SHIFT(tmp10 - tmp3, CONST_BITS-PASS1_BITS); in jpeg_idct_4x8()
4851 wsptr[4*1] = (int) RIGHT_SHIFT(tmp11 + tmp2, CONST_BITS-PASS1_BITS); in jpeg_idct_4x8()
4852 wsptr[4*6] = (int) RIGHT_SHIFT(tmp11 - tmp2, CONST_BITS-PASS1_BITS); in jpeg_idct_4x8()
4853 wsptr[4*2] = (int) RIGHT_SHIFT(tmp12 + tmp1, CONST_BITS-PASS1_BITS); in jpeg_idct_4x8()
4854 wsptr[4*5] = (int) RIGHT_SHIFT(tmp12 - tmp1, CONST_BITS-PASS1_BITS); in jpeg_idct_4x8()
4855 wsptr[4*3] = (int) RIGHT_SHIFT(tmp13 + tmp0, CONST_BITS-PASS1_BITS); in jpeg_idct_4x8()
4856 wsptr[4*4] = (int) RIGHT_SHIFT(tmp13 - tmp0, CONST_BITS-PASS1_BITS); in jpeg_idct_4x8()
4860 wsptr++; in jpeg_idct_4x8()
4866 wsptr = workspace; in jpeg_idct_4x8()
4873 tmp0 = (INT32) wsptr[0] + (ONE << (PASS1_BITS+2)); in jpeg_idct_4x8()
4874 tmp2 = (INT32) wsptr[2]; in jpeg_idct_4x8()
4882 z2 = (INT32) wsptr[1]; in jpeg_idct_4x8()
4883 z3 = (INT32) wsptr[3]; in jpeg_idct_4x8()
4904 wsptr += 4; /* advance pointer to next row */ in jpeg_idct_4x8()
4925 int * wsptr; in jpeg_idct_3x6() local
4937 wsptr = workspace; in jpeg_idct_3x6()
4938 for (ctr = 0; ctr < 3; ctr++, inptr++, quantptr++, wsptr++) { in jpeg_idct_3x6()
4966 wsptr[3*0] = (int) RIGHT_SHIFT(tmp10 + tmp0, CONST_BITS-PASS1_BITS); in jpeg_idct_3x6()
4967 wsptr[3*5] = (int) RIGHT_SHIFT(tmp10 - tmp0, CONST_BITS-PASS1_BITS); in jpeg_idct_3x6()
4968 wsptr[3*1] = (int) (tmp11 + tmp1); in jpeg_idct_3x6()
4969 wsptr[3*4] = (int) (tmp11 - tmp1); in jpeg_idct_3x6()
4970 wsptr[3*2] = (int) RIGHT_SHIFT(tmp12 + tmp2, CONST_BITS-PASS1_BITS); in jpeg_idct_3x6()
4971 wsptr[3*3] = (int) RIGHT_SHIFT(tmp12 - tmp2, CONST_BITS-PASS1_BITS); in jpeg_idct_3x6()
4977 wsptr = workspace; in jpeg_idct_3x6()
4984 tmp0 = (INT32) wsptr[0] + (ONE << (PASS1_BITS+2)); in jpeg_idct_3x6()
4986 tmp2 = (INT32) wsptr[2]; in jpeg_idct_3x6()
4993 tmp12 = (INT32) wsptr[1]; in jpeg_idct_3x6()
5008 wsptr += 3; /* advance pointer to next row */ in jpeg_idct_3x6()
5029 INT32 * wsptr; in jpeg_idct_2x4() local
5042 wsptr = workspace; in jpeg_idct_2x4()
5043 for (ctr = 0; ctr < 2; ctr++, inptr++, quantptr++, wsptr++) { in jpeg_idct_2x4()
5064 wsptr[2*0] = tmp10 + tmp0; in jpeg_idct_2x4()
5065 wsptr[2*3] = tmp10 - tmp0; in jpeg_idct_2x4()
5066 wsptr[2*1] = tmp12 + tmp2; in jpeg_idct_2x4()
5067 wsptr[2*2] = tmp12 - tmp2; in jpeg_idct_2x4()
5072 wsptr = workspace; in jpeg_idct_2x4()
5079 tmp10 = wsptr[0] + (ONE << (CONST_BITS+2)); in jpeg_idct_2x4()
5083 tmp0 = wsptr[1]; in jpeg_idct_2x4()
5092 wsptr += 2; /* advance pointer to next row */ in jpeg_idct_2x4()