Lines Matching refs:PASS1_BITS
97 #define PASS1_BITS 2 macro
100 #define PASS1_BITS 1 /* lose a little precision to avoid overflow */
196 dataptr[0] = (DCTELEM) ((tmp10 + tmp11 - 8 * CENTERJSAMPLE) << PASS1_BITS);
197 dataptr[4] = (DCTELEM) ((tmp10 - tmp11) << PASS1_BITS);
201 z1 += ONE << (CONST_BITS-PASS1_BITS-1);
203 CONST_BITS-PASS1_BITS);
205 CONST_BITS-PASS1_BITS);
218 z1 += ONE << (CONST_BITS-PASS1_BITS-1);
233 RIGHT_SHIFT(tmp0 + tmp10 + tmp12, CONST_BITS-PASS1_BITS);
235 RIGHT_SHIFT(tmp1 + tmp11 + tmp13, CONST_BITS-PASS1_BITS);
237 RIGHT_SHIFT(tmp2 + tmp11 + tmp12, CONST_BITS-PASS1_BITS);
239 RIGHT_SHIFT(tmp3 + tmp10 + tmp13, CONST_BITS-PASS1_BITS);
261 tmp10 = tmp0 + tmp3 + (ONE << (PASS1_BITS-1));
271 dataptr[DCTSIZE*0] = (DCTELEM) RIGHT_SHIFT(tmp10 + tmp11, PASS1_BITS);
272 dataptr[DCTSIZE*4] = (DCTELEM) RIGHT_SHIFT(tmp10 - tmp11, PASS1_BITS);
276 z1 += ONE << (CONST_BITS+PASS1_BITS-1);
278 RIGHT_SHIFT(z1 + MULTIPLY(tmp12, FIX_0_765366865), CONST_BITS+PASS1_BITS);
280 RIGHT_SHIFT(z1 - MULTIPLY(tmp13, FIX_1_847759065), CONST_BITS+PASS1_BITS);
293 z1 += ONE << (CONST_BITS+PASS1_BITS-1);
308 RIGHT_SHIFT(tmp0 + tmp10 + tmp12, CONST_BITS+PASS1_BITS);
310 RIGHT_SHIFT(tmp1 + tmp11 + tmp13, CONST_BITS+PASS1_BITS);
312 RIGHT_SHIFT(tmp2 + tmp11 + tmp12, CONST_BITS+PASS1_BITS);
314 RIGHT_SHIFT(tmp3 + tmp10 + tmp13, CONST_BITS+PASS1_BITS);
364 ((z1 + tmp1 + tmp3 - 7 * CENTERJSAMPLE) << PASS1_BITS); in jpeg_fdct_7x7()
371 dataptr[2] = (DCTELEM) DESCALE(z1 + z2 + z3, CONST_BITS-PASS1_BITS); in jpeg_fdct_7x7()
376 CONST_BITS-PASS1_BITS); in jpeg_fdct_7x7()
377 dataptr[6] = (DCTELEM) DESCALE(z1 + z2, CONST_BITS-PASS1_BITS); in jpeg_fdct_7x7()
391 dataptr[1] = (DCTELEM) DESCALE(tmp0, CONST_BITS-PASS1_BITS); in jpeg_fdct_7x7()
392 dataptr[3] = (DCTELEM) DESCALE(tmp1, CONST_BITS-PASS1_BITS); in jpeg_fdct_7x7()
393 dataptr[5] = (DCTELEM) DESCALE(tmp2, CONST_BITS-PASS1_BITS); in jpeg_fdct_7x7()
422 CONST_BITS+PASS1_BITS); in jpeg_fdct_7x7()
429 dataptr[DCTSIZE*2] = (DCTELEM) DESCALE(z1 + z2 + z3, CONST_BITS+PASS1_BITS); in jpeg_fdct_7x7()
434 CONST_BITS+PASS1_BITS); in jpeg_fdct_7x7()
435 dataptr[DCTSIZE*6] = (DCTELEM) DESCALE(z1 + z2, CONST_BITS+PASS1_BITS); in jpeg_fdct_7x7()
449 dataptr[DCTSIZE*1] = (DCTELEM) DESCALE(tmp0, CONST_BITS+PASS1_BITS); in jpeg_fdct_7x7()
450 dataptr[DCTSIZE*3] = (DCTELEM) DESCALE(tmp1, CONST_BITS+PASS1_BITS); in jpeg_fdct_7x7()
451 dataptr[DCTSIZE*5] = (DCTELEM) DESCALE(tmp2, CONST_BITS+PASS1_BITS); in jpeg_fdct_7x7()
499 ((tmp10 + tmp11 - 6 * CENTERJSAMPLE) << PASS1_BITS); in jpeg_fdct_6x6()
502 CONST_BITS-PASS1_BITS); in jpeg_fdct_6x6()
505 CONST_BITS-PASS1_BITS); in jpeg_fdct_6x6()
510 CONST_BITS-PASS1_BITS); in jpeg_fdct_6x6()
512 dataptr[1] = (DCTELEM) (tmp10 + ((tmp0 + tmp1) << PASS1_BITS)); in jpeg_fdct_6x6()
513 dataptr[3] = (DCTELEM) ((tmp0 - tmp1 - tmp2) << PASS1_BITS); in jpeg_fdct_6x6()
514 dataptr[5] = (DCTELEM) (tmp10 + ((tmp2 - tmp1) << PASS1_BITS)); in jpeg_fdct_6x6()
544 CONST_BITS+PASS1_BITS); in jpeg_fdct_6x6()
547 CONST_BITS+PASS1_BITS); in jpeg_fdct_6x6()
550 CONST_BITS+PASS1_BITS); in jpeg_fdct_6x6()
558 CONST_BITS+PASS1_BITS); in jpeg_fdct_6x6()
561 CONST_BITS+PASS1_BITS); in jpeg_fdct_6x6()
564 CONST_BITS+PASS1_BITS); in jpeg_fdct_6x6()
613 ((tmp10 + tmp2 - 5 * CENTERJSAMPLE) << (PASS1_BITS+1)); in jpeg_fdct_5x5()
617 dataptr[2] = (DCTELEM) DESCALE(tmp11 + tmp10, CONST_BITS-PASS1_BITS-1); in jpeg_fdct_5x5()
618 dataptr[4] = (DCTELEM) DESCALE(tmp11 - tmp10, CONST_BITS-PASS1_BITS-1); in jpeg_fdct_5x5()
626 CONST_BITS-PASS1_BITS-1); in jpeg_fdct_5x5()
629 CONST_BITS-PASS1_BITS-1); in jpeg_fdct_5x5()
658 CONST_BITS+PASS1_BITS); in jpeg_fdct_5x5()
662 dataptr[DCTSIZE*2] = (DCTELEM) DESCALE(tmp11 + tmp10, CONST_BITS+PASS1_BITS); in jpeg_fdct_5x5()
663 dataptr[DCTSIZE*4] = (DCTELEM) DESCALE(tmp11 - tmp10, CONST_BITS+PASS1_BITS); in jpeg_fdct_5x5()
671 CONST_BITS+PASS1_BITS); in jpeg_fdct_5x5()
674 CONST_BITS+PASS1_BITS); in jpeg_fdct_5x5()
718 ((tmp0 + tmp1 - 4 * CENTERJSAMPLE) << (PASS1_BITS+2)); in jpeg_fdct_4x4()
719 dataptr[2] = (DCTELEM) ((tmp0 - tmp1) << (PASS1_BITS+2)); in jpeg_fdct_4x4()
725 tmp0 += ONE << (CONST_BITS-PASS1_BITS-3); in jpeg_fdct_4x4()
729 CONST_BITS-PASS1_BITS-2); in jpeg_fdct_4x4()
732 CONST_BITS-PASS1_BITS-2); in jpeg_fdct_4x4()
747 tmp0 = dataptr[DCTSIZE*0] + dataptr[DCTSIZE*3] + (ONE << (PASS1_BITS-1)); in jpeg_fdct_4x4()
753 dataptr[DCTSIZE*0] = (DCTELEM) RIGHT_SHIFT(tmp0 + tmp1, PASS1_BITS); in jpeg_fdct_4x4()
754 dataptr[DCTSIZE*2] = (DCTELEM) RIGHT_SHIFT(tmp0 - tmp1, PASS1_BITS); in jpeg_fdct_4x4()
760 tmp0 += ONE << (CONST_BITS+PASS1_BITS-1); in jpeg_fdct_4x4()
764 CONST_BITS+PASS1_BITS); in jpeg_fdct_4x4()
767 CONST_BITS+PASS1_BITS); in jpeg_fdct_4x4()
810 ((tmp0 + tmp1 - 3 * CENTERJSAMPLE) << (PASS1_BITS+2)); in jpeg_fdct_3x3()
813 CONST_BITS-PASS1_BITS-2); in jpeg_fdct_3x3()
819 CONST_BITS-PASS1_BITS-2); in jpeg_fdct_3x3()
843 CONST_BITS+PASS1_BITS); in jpeg_fdct_3x3()
846 CONST_BITS+PASS1_BITS); in jpeg_fdct_3x3()
852 CONST_BITS+PASS1_BITS); in jpeg_fdct_3x3()
2217 ((tmp10 + tmp11 + tmp12 + tmp13 - 16 * CENTERJSAMPLE) << PASS1_BITS); in jpeg_fdct_16x16()
2221 CONST_BITS-PASS1_BITS); in jpeg_fdct_16x16()
2229 CONST_BITS-PASS1_BITS); in jpeg_fdct_16x16()
2233 CONST_BITS-PASS1_BITS); in jpeg_fdct_16x16()
2259 dataptr[1] = (DCTELEM) DESCALE(tmp10, CONST_BITS-PASS1_BITS); in jpeg_fdct_16x16()
2260 dataptr[3] = (DCTELEM) DESCALE(tmp11, CONST_BITS-PASS1_BITS); in jpeg_fdct_16x16()
2261 dataptr[5] = (DCTELEM) DESCALE(tmp12, CONST_BITS-PASS1_BITS); in jpeg_fdct_16x16()
2262 dataptr[7] = (DCTELEM) DESCALE(tmp13, CONST_BITS-PASS1_BITS); in jpeg_fdct_16x16()
2313 DESCALE(tmp10 + tmp11 + tmp12 + tmp13, PASS1_BITS+2); in jpeg_fdct_16x16()
2317 CONST_BITS+PASS1_BITS+2); in jpeg_fdct_16x16()
2325 CONST_BITS+PASS1_BITS+2); in jpeg_fdct_16x16()
2329 CONST_BITS+PASS1_BITS+2); in jpeg_fdct_16x16()
2355 dataptr[DCTSIZE*1] = (DCTELEM) DESCALE(tmp10, CONST_BITS+PASS1_BITS+2); in jpeg_fdct_16x16()
2356 dataptr[DCTSIZE*3] = (DCTELEM) DESCALE(tmp11, CONST_BITS+PASS1_BITS+2); in jpeg_fdct_16x16()
2357 dataptr[DCTSIZE*5] = (DCTELEM) DESCALE(tmp12, CONST_BITS+PASS1_BITS+2); in jpeg_fdct_16x16()
2358 dataptr[DCTSIZE*7] = (DCTELEM) DESCALE(tmp13, CONST_BITS+PASS1_BITS+2); in jpeg_fdct_16x16()
2424 ((tmp10 + tmp11 + tmp12 + tmp13 - 16 * CENTERJSAMPLE) << PASS1_BITS); in jpeg_fdct_16x8()
2428 CONST_BITS-PASS1_BITS); in jpeg_fdct_16x8()
2436 CONST_BITS-PASS1_BITS); in jpeg_fdct_16x8()
2440 CONST_BITS-PASS1_BITS); in jpeg_fdct_16x8()
2466 dataptr[1] = (DCTELEM) DESCALE(tmp10, CONST_BITS-PASS1_BITS); in jpeg_fdct_16x8()
2467 dataptr[3] = (DCTELEM) DESCALE(tmp11, CONST_BITS-PASS1_BITS); in jpeg_fdct_16x8()
2468 dataptr[5] = (DCTELEM) DESCALE(tmp12, CONST_BITS-PASS1_BITS); in jpeg_fdct_16x8()
2469 dataptr[7] = (DCTELEM) DESCALE(tmp13, CONST_BITS-PASS1_BITS); in jpeg_fdct_16x8()
2501 dataptr[DCTSIZE*0] = (DCTELEM) DESCALE(tmp10 + tmp11, PASS1_BITS+1); in jpeg_fdct_16x8()
2502 dataptr[DCTSIZE*4] = (DCTELEM) DESCALE(tmp10 - tmp11, PASS1_BITS+1); in jpeg_fdct_16x8()
2506 CONST_BITS+PASS1_BITS+1); in jpeg_fdct_16x8()
2508 CONST_BITS+PASS1_BITS+1); in jpeg_fdct_16x8()
2534 CONST_BITS+PASS1_BITS+1); in jpeg_fdct_16x8()
2536 CONST_BITS+PASS1_BITS+1); in jpeg_fdct_16x8()
2538 CONST_BITS+PASS1_BITS+1); in jpeg_fdct_16x8()
2540 CONST_BITS+PASS1_BITS+1); in jpeg_fdct_16x8()
2603 ((tmp10 + tmp11 + tmp12 + tmp13 - 14 * CENTERJSAMPLE) << PASS1_BITS); in jpeg_fdct_14x7()
2609 CONST_BITS-PASS1_BITS); in jpeg_fdct_14x7()
2616 CONST_BITS-PASS1_BITS); in jpeg_fdct_14x7()
2620 CONST_BITS-PASS1_BITS); in jpeg_fdct_14x7()
2626 dataptr[7] = (DCTELEM) ((tmp0 - tmp10 + tmp3 - tmp11 - tmp6) << PASS1_BITS); in jpeg_fdct_14x7()
2636 CONST_BITS-PASS1_BITS); in jpeg_fdct_14x7()
2642 CONST_BITS-PASS1_BITS); in jpeg_fdct_14x7()
2646 CONST_BITS-PASS1_BITS); in jpeg_fdct_14x7()
2675 CONST_BITS+PASS1_BITS+1); in jpeg_fdct_14x7()
2682 dataptr[DCTSIZE*2] = (DCTELEM) DESCALE(z1 + z2 + z3, CONST_BITS+PASS1_BITS+1); in jpeg_fdct_14x7()
2687 CONST_BITS+PASS1_BITS+1); in jpeg_fdct_14x7()
2688 dataptr[DCTSIZE*6] = (DCTELEM) DESCALE(z1 + z2, CONST_BITS+PASS1_BITS+1); in jpeg_fdct_14x7()
2702 dataptr[DCTSIZE*1] = (DCTELEM) DESCALE(tmp0, CONST_BITS+PASS1_BITS+1); in jpeg_fdct_14x7()
2703 dataptr[DCTSIZE*3] = (DCTELEM) DESCALE(tmp1, CONST_BITS+PASS1_BITS+1); in jpeg_fdct_14x7()
2704 dataptr[DCTSIZE*5] = (DCTELEM) DESCALE(tmp2, CONST_BITS+PASS1_BITS+1); in jpeg_fdct_14x7()
2764 ((tmp10 + tmp11 + tmp12 - 12 * CENTERJSAMPLE) << PASS1_BITS); in jpeg_fdct_12x6()
2765 dataptr[6] = (DCTELEM) ((tmp13 - tmp14 - tmp15) << PASS1_BITS); in jpeg_fdct_12x6()
2768 CONST_BITS-PASS1_BITS); in jpeg_fdct_12x6()
2771 CONST_BITS-PASS1_BITS); in jpeg_fdct_12x6()
2790 dataptr[1] = (DCTELEM) DESCALE(tmp10, CONST_BITS-PASS1_BITS); in jpeg_fdct_12x6()
2791 dataptr[3] = (DCTELEM) DESCALE(tmp11, CONST_BITS-PASS1_BITS); in jpeg_fdct_12x6()
2792 dataptr[5] = (DCTELEM) DESCALE(tmp12, CONST_BITS-PASS1_BITS); in jpeg_fdct_12x6()
2793 dataptr[7] = (DCTELEM) DESCALE(tmp13, CONST_BITS-PASS1_BITS); in jpeg_fdct_12x6()
2823 CONST_BITS+PASS1_BITS+1); in jpeg_fdct_12x6()
2826 CONST_BITS+PASS1_BITS+1); in jpeg_fdct_12x6()
2829 CONST_BITS+PASS1_BITS+1); in jpeg_fdct_12x6()
2837 CONST_BITS+PASS1_BITS+1); in jpeg_fdct_12x6()
2840 CONST_BITS+PASS1_BITS+1); in jpeg_fdct_12x6()
2843 CONST_BITS+PASS1_BITS+1); in jpeg_fdct_12x6()
2899 ((tmp10 + tmp11 + tmp12 - 10 * CENTERJSAMPLE) << PASS1_BITS); in jpeg_fdct_10x5()
2904 CONST_BITS-PASS1_BITS); in jpeg_fdct_10x5()
2908 CONST_BITS-PASS1_BITS); in jpeg_fdct_10x5()
2911 CONST_BITS-PASS1_BITS); in jpeg_fdct_10x5()
2917 dataptr[5] = (DCTELEM) ((tmp10 - tmp11 - tmp2) << PASS1_BITS); in jpeg_fdct_10x5()
2924 CONST_BITS-PASS1_BITS); in jpeg_fdct_10x5()
2929 dataptr[3] = (DCTELEM) DESCALE(tmp12 + tmp13, CONST_BITS-PASS1_BITS); in jpeg_fdct_10x5()
2930 dataptr[7] = (DCTELEM) DESCALE(tmp12 - tmp13, CONST_BITS-PASS1_BITS); in jpeg_fdct_10x5()
2959 CONST_BITS+PASS1_BITS); in jpeg_fdct_10x5()
2963 dataptr[DCTSIZE*2] = (DCTELEM) DESCALE(tmp11 + tmp10, CONST_BITS+PASS1_BITS); in jpeg_fdct_10x5()
2964 dataptr[DCTSIZE*4] = (DCTELEM) DESCALE(tmp11 - tmp10, CONST_BITS+PASS1_BITS); in jpeg_fdct_10x5()
2972 CONST_BITS+PASS1_BITS); in jpeg_fdct_10x5()
2975 CONST_BITS+PASS1_BITS); in jpeg_fdct_10x5()
3032 ((tmp10 + tmp11 - 8 * CENTERJSAMPLE) << (PASS1_BITS+1)); in jpeg_fdct_8x4()
3033 dataptr[4] = (DCTELEM) ((tmp10 - tmp11) << (PASS1_BITS+1)); in jpeg_fdct_8x4()
3037 z1 += ONE << (CONST_BITS-PASS1_BITS-2); in jpeg_fdct_8x4()
3039 CONST_BITS-PASS1_BITS-1); in jpeg_fdct_8x4()
3041 CONST_BITS-PASS1_BITS-1); in jpeg_fdct_8x4()
3054 z1 += ONE << (CONST_BITS-PASS1_BITS-2); in jpeg_fdct_8x4()
3069 RIGHT_SHIFT(tmp0 + tmp10 + tmp12, CONST_BITS-PASS1_BITS-1); in jpeg_fdct_8x4()
3071 RIGHT_SHIFT(tmp1 + tmp11 + tmp13, CONST_BITS-PASS1_BITS-1); in jpeg_fdct_8x4()
3073 RIGHT_SHIFT(tmp2 + tmp11 + tmp12, CONST_BITS-PASS1_BITS-1); in jpeg_fdct_8x4()
3075 RIGHT_SHIFT(tmp3 + tmp10 + tmp13, CONST_BITS-PASS1_BITS-1); in jpeg_fdct_8x4()
3091 tmp0 = dataptr[DCTSIZE*0] + dataptr[DCTSIZE*3] + (ONE << (PASS1_BITS-1)); in jpeg_fdct_8x4()
3097 dataptr[DCTSIZE*0] = (DCTELEM) RIGHT_SHIFT(tmp0 + tmp1, PASS1_BITS); in jpeg_fdct_8x4()
3098 dataptr[DCTSIZE*2] = (DCTELEM) RIGHT_SHIFT(tmp0 - tmp1, PASS1_BITS); in jpeg_fdct_8x4()
3104 tmp0 += ONE << (CONST_BITS+PASS1_BITS-1); in jpeg_fdct_8x4()
3108 CONST_BITS+PASS1_BITS); in jpeg_fdct_8x4()
3111 CONST_BITS+PASS1_BITS); in jpeg_fdct_8x4()
3163 ((tmp10 + tmp11 - 6 * CENTERJSAMPLE) << (PASS1_BITS+1)); in jpeg_fdct_6x3()
3166 CONST_BITS-PASS1_BITS-1); in jpeg_fdct_6x3()
3169 CONST_BITS-PASS1_BITS-1); in jpeg_fdct_6x3()
3174 CONST_BITS-PASS1_BITS-1); in jpeg_fdct_6x3()
3176 dataptr[1] = (DCTELEM) (tmp10 + ((tmp0 + tmp1) << (PASS1_BITS+1))); in jpeg_fdct_6x3()
3177 dataptr[3] = (DCTELEM) ((tmp0 - tmp1 - tmp2) << (PASS1_BITS+1)); in jpeg_fdct_6x3()
3178 dataptr[5] = (DCTELEM) (tmp10 + ((tmp2 - tmp1) << (PASS1_BITS+1))); in jpeg_fdct_6x3()
3202 CONST_BITS+PASS1_BITS); in jpeg_fdct_6x3()
3205 CONST_BITS+PASS1_BITS); in jpeg_fdct_6x3()
3211 CONST_BITS+PASS1_BITS); in jpeg_fdct_6x3()
3258 ((tmp0 + tmp1 - 4 * CENTERJSAMPLE) << (PASS1_BITS+3)); in jpeg_fdct_4x2()
3259 dataptr[2] = (DCTELEM) ((tmp0 - tmp1) << (PASS1_BITS+3)); in jpeg_fdct_4x2()
3265 tmp0 += ONE << (CONST_BITS-PASS1_BITS-4); in jpeg_fdct_4x2()
3269 CONST_BITS-PASS1_BITS-3); in jpeg_fdct_4x2()
3272 CONST_BITS-PASS1_BITS-3); in jpeg_fdct_4x2()
3287 tmp0 = dataptr[DCTSIZE*0] + (ONE << (PASS1_BITS-1)); in jpeg_fdct_4x2()
3290 dataptr[DCTSIZE*0] = (DCTELEM) RIGHT_SHIFT(tmp0 + tmp1, PASS1_BITS); in jpeg_fdct_4x2()
3294 dataptr[DCTSIZE*1] = (DCTELEM) RIGHT_SHIFT(tmp0 - tmp1, PASS1_BITS); in jpeg_fdct_4x2()
3382 dataptr[0] = (DCTELEM) ((tmp10 + tmp11 - 8 * CENTERJSAMPLE) << PASS1_BITS); in jpeg_fdct_8x16()
3383 dataptr[4] = (DCTELEM) ((tmp10 - tmp11) << PASS1_BITS); in jpeg_fdct_8x16()
3387 CONST_BITS-PASS1_BITS); in jpeg_fdct_8x16()
3389 CONST_BITS-PASS1_BITS); in jpeg_fdct_8x16()
3414 dataptr[1] = (DCTELEM) DESCALE(tmp0 + tmp10 + tmp12, CONST_BITS-PASS1_BITS); in jpeg_fdct_8x16()
3415 dataptr[3] = (DCTELEM) DESCALE(tmp1 + tmp11 + tmp13, CONST_BITS-PASS1_BITS); in jpeg_fdct_8x16()
3416 dataptr[5] = (DCTELEM) DESCALE(tmp2 + tmp11 + tmp12, CONST_BITS-PASS1_BITS); in jpeg_fdct_8x16()
3417 dataptr[7] = (DCTELEM) DESCALE(tmp3 + tmp10 + tmp13, CONST_BITS-PASS1_BITS); in jpeg_fdct_8x16()
3469 DESCALE(tmp10 + tmp11 + tmp12 + tmp13, PASS1_BITS+1); in jpeg_fdct_8x16()
3473 CONST_BITS+PASS1_BITS+1); in jpeg_fdct_8x16()
3481 CONST_BITS+PASS1_BITS+1); in jpeg_fdct_8x16()
3485 CONST_BITS+PASS1_BITS+1); in jpeg_fdct_8x16()
3511 dataptr[DCTSIZE*1] = (DCTELEM) DESCALE(tmp10, CONST_BITS+PASS1_BITS+1); in jpeg_fdct_8x16()
3512 dataptr[DCTSIZE*3] = (DCTELEM) DESCALE(tmp11, CONST_BITS+PASS1_BITS+1); in jpeg_fdct_8x16()
3513 dataptr[DCTSIZE*5] = (DCTELEM) DESCALE(tmp12, CONST_BITS+PASS1_BITS+1); in jpeg_fdct_8x16()
3514 dataptr[DCTSIZE*7] = (DCTELEM) DESCALE(tmp13, CONST_BITS+PASS1_BITS+1); in jpeg_fdct_8x16()
3568 ((z1 + tmp1 + tmp3 - 7 * CENTERJSAMPLE) << PASS1_BITS); in jpeg_fdct_7x14()
3575 dataptr[2] = (DCTELEM) DESCALE(z1 + z2 + z3, CONST_BITS-PASS1_BITS); in jpeg_fdct_7x14()
3580 CONST_BITS-PASS1_BITS); in jpeg_fdct_7x14()
3581 dataptr[6] = (DCTELEM) DESCALE(z1 + z2, CONST_BITS-PASS1_BITS); in jpeg_fdct_7x14()
3595 dataptr[1] = (DCTELEM) DESCALE(tmp0, CONST_BITS-PASS1_BITS); in jpeg_fdct_7x14()
3596 dataptr[3] = (DCTELEM) DESCALE(tmp1, CONST_BITS-PASS1_BITS); in jpeg_fdct_7x14()
3597 dataptr[5] = (DCTELEM) DESCALE(tmp2, CONST_BITS-PASS1_BITS); in jpeg_fdct_7x14()
3648 CONST_BITS+PASS1_BITS); in jpeg_fdct_7x14()
3654 CONST_BITS+PASS1_BITS); in jpeg_fdct_7x14()
3661 CONST_BITS+PASS1_BITS); in jpeg_fdct_7x14()
3665 CONST_BITS+PASS1_BITS); in jpeg_fdct_7x14()
3674 CONST_BITS+PASS1_BITS); in jpeg_fdct_7x14()
3684 CONST_BITS+PASS1_BITS); in jpeg_fdct_7x14()
3690 CONST_BITS+PASS1_BITS); in jpeg_fdct_7x14()
3695 CONST_BITS+PASS1_BITS); in jpeg_fdct_7x14()
3749 ((tmp10 + tmp11 - 6 * CENTERJSAMPLE) << PASS1_BITS); in jpeg_fdct_6x12()
3752 CONST_BITS-PASS1_BITS); in jpeg_fdct_6x12()
3755 CONST_BITS-PASS1_BITS); in jpeg_fdct_6x12()
3760 CONST_BITS-PASS1_BITS); in jpeg_fdct_6x12()
3762 dataptr[1] = (DCTELEM) (tmp10 + ((tmp0 + tmp1) << PASS1_BITS)); in jpeg_fdct_6x12()
3763 dataptr[3] = (DCTELEM) ((tmp0 - tmp1 - tmp2) << PASS1_BITS); in jpeg_fdct_6x12()
3764 dataptr[5] = (DCTELEM) (tmp10 + ((tmp2 - tmp1) << PASS1_BITS)); in jpeg_fdct_6x12()
3812 CONST_BITS+PASS1_BITS); in jpeg_fdct_6x12()
3815 CONST_BITS+PASS1_BITS); in jpeg_fdct_6x12()
3818 CONST_BITS+PASS1_BITS); in jpeg_fdct_6x12()
3822 CONST_BITS+PASS1_BITS); in jpeg_fdct_6x12()
3841 dataptr[DCTSIZE*1] = (DCTELEM) DESCALE(tmp10, CONST_BITS+PASS1_BITS); in jpeg_fdct_6x12()
3842 dataptr[DCTSIZE*3] = (DCTELEM) DESCALE(tmp11, CONST_BITS+PASS1_BITS); in jpeg_fdct_6x12()
3843 dataptr[DCTSIZE*5] = (DCTELEM) DESCALE(tmp12, CONST_BITS+PASS1_BITS); in jpeg_fdct_6x12()
3844 dataptr[DCTSIZE*7] = (DCTELEM) DESCALE(tmp13, CONST_BITS+PASS1_BITS); in jpeg_fdct_6x12()
3897 ((tmp10 + tmp2 - 5 * CENTERJSAMPLE) << PASS1_BITS); in jpeg_fdct_5x10()
3901 dataptr[2] = (DCTELEM) DESCALE(tmp11 + tmp10, CONST_BITS-PASS1_BITS); in jpeg_fdct_5x10()
3902 dataptr[4] = (DCTELEM) DESCALE(tmp11 - tmp10, CONST_BITS-PASS1_BITS); in jpeg_fdct_5x10()
3910 CONST_BITS-PASS1_BITS); in jpeg_fdct_5x10()
3913 CONST_BITS-PASS1_BITS); in jpeg_fdct_5x10()
3957 CONST_BITS+PASS1_BITS); in jpeg_fdct_5x10()
3962 CONST_BITS+PASS1_BITS); in jpeg_fdct_5x10()
3966 CONST_BITS+PASS1_BITS); in jpeg_fdct_5x10()
3969 CONST_BITS+PASS1_BITS); in jpeg_fdct_5x10()
3977 CONST_BITS+PASS1_BITS); in jpeg_fdct_5x10()
3984 CONST_BITS+PASS1_BITS); in jpeg_fdct_5x10()
3989 dataptr[DCTSIZE*3] = (DCTELEM) DESCALE(tmp12 + tmp13, CONST_BITS+PASS1_BITS); in jpeg_fdct_5x10()
3990 dataptr[DCTSIZE*7] = (DCTELEM) DESCALE(tmp12 - tmp13, CONST_BITS+PASS1_BITS); in jpeg_fdct_5x10()
4038 ((tmp0 + tmp1 - 4 * CENTERJSAMPLE) << (PASS1_BITS+1)); in jpeg_fdct_4x8()
4039 dataptr[2] = (DCTELEM) ((tmp0 - tmp1) << (PASS1_BITS+1)); in jpeg_fdct_4x8()
4045 tmp0 += ONE << (CONST_BITS-PASS1_BITS-2); in jpeg_fdct_4x8()
4049 CONST_BITS-PASS1_BITS-1); in jpeg_fdct_4x8()
4052 CONST_BITS-PASS1_BITS-1); in jpeg_fdct_4x8()
4074 tmp10 = tmp0 + tmp3 + (ONE << (PASS1_BITS-1)); in jpeg_fdct_4x8()
4084 dataptr[DCTSIZE*0] = (DCTELEM) RIGHT_SHIFT(tmp10 + tmp11, PASS1_BITS); in jpeg_fdct_4x8()
4085 dataptr[DCTSIZE*4] = (DCTELEM) RIGHT_SHIFT(tmp10 - tmp11, PASS1_BITS); in jpeg_fdct_4x8()
4089 z1 += ONE << (CONST_BITS+PASS1_BITS-1); in jpeg_fdct_4x8()
4091 RIGHT_SHIFT(z1 + MULTIPLY(tmp12, FIX_0_765366865), CONST_BITS+PASS1_BITS); in jpeg_fdct_4x8()
4093 RIGHT_SHIFT(z1 - MULTIPLY(tmp13, FIX_1_847759065), CONST_BITS+PASS1_BITS); in jpeg_fdct_4x8()
4106 z1 += ONE << (CONST_BITS+PASS1_BITS-1); in jpeg_fdct_4x8()
4121 RIGHT_SHIFT(tmp0 + tmp10 + tmp12, CONST_BITS+PASS1_BITS); in jpeg_fdct_4x8()
4123 RIGHT_SHIFT(tmp1 + tmp11 + tmp13, CONST_BITS+PASS1_BITS); in jpeg_fdct_4x8()
4125 RIGHT_SHIFT(tmp2 + tmp11 + tmp12, CONST_BITS+PASS1_BITS); in jpeg_fdct_4x8()
4127 RIGHT_SHIFT(tmp3 + tmp10 + tmp13, CONST_BITS+PASS1_BITS); in jpeg_fdct_4x8()
4173 ((tmp0 + tmp1 - 3 * CENTERJSAMPLE) << (PASS1_BITS+1)); in jpeg_fdct_3x6()
4176 CONST_BITS-PASS1_BITS-1); in jpeg_fdct_3x6()
4182 CONST_BITS-PASS1_BITS-1); in jpeg_fdct_3x6()
4212 CONST_BITS+PASS1_BITS); in jpeg_fdct_3x6()
4215 CONST_BITS+PASS1_BITS); in jpeg_fdct_3x6()
4218 CONST_BITS+PASS1_BITS); in jpeg_fdct_3x6()
4226 CONST_BITS+PASS1_BITS); in jpeg_fdct_3x6()
4229 CONST_BITS+PASS1_BITS); in jpeg_fdct_3x6()
4232 CONST_BITS+PASS1_BITS); in jpeg_fdct_3x6()