10 #define JPEG_INTERNALS 15 #ifdef DCT_ISLOW_SUPPORTED 23 Sorry,
this code only copes with 8x8 DCTs.
59 #if BITS_IN_JSAMPLE == 8 75 #define FIX_0_298631336 ((INT32) 2446) 76 #define FIX_0_390180644 ((INT32) 3196) 77 #define FIX_0_541196100 ((INT32) 4433) 78 #define FIX_0_765366865 ((INT32) 6270) 79 #define FIX_0_899976223 ((INT32) 7373) 80 #define FIX_1_175875602 ((INT32) 9633) 81 #define FIX_1_501321110 ((INT32) 12299) 82 #define FIX_1_847759065 ((INT32) 15137) 83 #define FIX_1_961570560 ((INT32) 16069) 84 #define FIX_2_053119869 ((INT32) 16819) 85 #define FIX_2_562915447 ((INT32) 20995) 86 #define FIX_3_072711026 ((INT32) 25172) 88 #define FIX_0_298631336 FIX(0.298631336) 89 #define FIX_0_390180644 FIX(0.390180644) 90 #define FIX_0_541196100 FIX(0.541196100) 91 #define FIX_0_765366865 FIX(0.765366865) 92 #define FIX_0_899976223 FIX(0.899976223) 93 #define FIX_1_175875602 FIX(1.175875602) 94 #define FIX_1_501321110 FIX(1.501321110) 95 #define FIX_1_847759065 FIX(1.847759065) 96 #define FIX_1_961570560 FIX(1.961570560) 97 #define FIX_2_053119869 FIX(2.053119869) 98 #define FIX_2_562915447 FIX(2.562915447) 99 #define FIX_3_072711026 FIX(3.072711026) 110 #if BITS_IN_JSAMPLE == 8 111 #define MULTIPLY(var,const) MULTIPLY16C16(var,const) 113 #define MULTIPLY(var,const) ((var) * (const)) 122 #define DEQUANTIZE(coef,quantval) (((ISLOW_MULT_TYPE) (coef)) * (quantval)) 134 INT32 tmp0, tmp1, tmp2, tmp3;
135 INT32 tmp10, tmp11, tmp12, tmp13;
136 INT32 z1, z2, z3, z4, z5;
153 for (ctr =
DCTSIZE; ctr > 0; ctr--) {
259 for (ctr = 0; ctr <
DCTSIZE; ctr++) {
269 #ifndef NO_ZERO_ROW_TEST 270 if (wsptr[1] == 0 && wsptr[2] == 0 && wsptr[3] == 0 && wsptr[4] == 0 &&
271 wsptr[5] == 0 && wsptr[6] == 0 && wsptr[7] == 0) {
293 z2 = (
INT32) wsptr[2];
294 z3 = (
INT32) wsptr[6];
312 tmp0 = (
INT32) wsptr[7];
313 tmp1 = (
INT32) wsptr[5];
314 tmp2 = (
INT32) wsptr[3];
315 tmp3 = (
INT32) wsptr[1];
342 outptr[0] = range_limit[(int)
DESCALE(tmp10 + tmp3,
345 outptr[7] = range_limit[(int)
DESCALE(tmp10 - tmp3,
348 outptr[1] = range_limit[(int)
DESCALE(tmp11 + tmp2,
351 outptr[6] = range_limit[(int)
DESCALE(tmp11 - tmp2,
354 outptr[2] = range_limit[(int)
DESCALE(tmp12 + tmp1,
357 outptr[5] = range_limit[(int)
DESCALE(tmp12 - tmp1,
360 outptr[3] = range_limit[(int)
DESCALE(tmp13 + tmp0,
363 outptr[4] = range_limit[(int)
DESCALE(tmp13 - tmp0,
#define IDCT_range_limit(cinfo)
jpeg_component_info JCOEFPTR coef_block
jpeg_idct_islow(j_decompress_ptr cinfo, jpeg_component_info *compptr, JCOEFPTR coef_block, JSAMPARRAY output_buf, JDIMENSION output_col)
jpeg_component_info * compptr
#define DEQUANTIZE(coef, quantval)
jpeg_component_info JCOEFPTR JSAMPARRAY JDIMENSION output_col
#define MULTIPLY(var, const)
MULTIPLIER ISLOW_MULT_TYPE