33#ifdef DCT_ISLOW_SUPPORTED
41 Sorry,
this code only copes with 8x8 DCTs.
77#if BITS_IN_JSAMPLE == 8
93#define FIX_0_298631336 ((INT32) 2446)
94#define FIX_0_390180644 ((INT32) 3196)
95#define FIX_0_541196100 ((INT32) 4433)
96#define FIX_0_765366865 ((INT32) 6270)
97#define FIX_0_899976223 ((INT32) 7373)
98#define FIX_1_175875602 ((INT32) 9633)
99#define FIX_1_501321110 ((INT32) 12299)
100#define FIX_1_847759065 ((INT32) 15137)
101#define FIX_1_961570560 ((INT32) 16069)
102#define FIX_2_053119869 ((INT32) 16819)
103#define FIX_2_562915447 ((INT32) 20995)
104#define FIX_3_072711026 ((INT32) 25172)
106#define FIX_0_298631336 FIX(0.298631336)
107#define FIX_0_390180644 FIX(0.390180644)
108#define FIX_0_541196100 FIX(0.541196100)
109#define FIX_0_765366865 FIX(0.765366865)
110#define FIX_0_899976223 FIX(0.899976223)
111#define FIX_1_175875602 FIX(1.175875602)
112#define FIX_1_501321110 FIX(1.501321110)
113#define FIX_1_847759065 FIX(1.847759065)
114#define FIX_1_961570560 FIX(1.961570560)
115#define FIX_2_053119869 FIX(2.053119869)
116#define FIX_2_562915447 FIX(2.562915447)
117#define FIX_3_072711026 FIX(3.072711026)
128#if BITS_IN_JSAMPLE == 8
129#define MULTIPLY(var,const) MULTIPLY16C16(var,const)
131#define MULTIPLY(var,const) ((var) * (const))
140#define DEQUANTIZE(coef,quantval) (((ISLOW_MULT_TYPE) (coef)) * (quantval))
152 INT32 tmp0, tmp1, tmp2, tmp3;
153 INT32 tmp10, tmp11, tmp12, tmp13;
154 INT32 z1, z2, z3, z4, z5;
171 for (ctr =
DCTSIZE; ctr > 0; ctr--) {
277 for (ctr = 0; ctr <
DCTSIZE; ctr++) {
287#ifndef NO_ZERO_ROW_TEST
288 if (wsptr[1] == 0 && wsptr[2] == 0 && wsptr[3] == 0 && wsptr[4] == 0 &&
289 wsptr[5] == 0 && wsptr[6] == 0 && wsptr[7] == 0) {
311 z2 = (
INT32) wsptr[2];
312 z3 = (
INT32) wsptr[6];
330 tmp0 = (
INT32) wsptr[7];
331 tmp1 = (
INT32) wsptr[5];
332 tmp2 = (
INT32) wsptr[3];
333 tmp3 = (
INT32) wsptr[1];
360 outptr[0] = range_limit[(
int)
DESCALE(tmp10 + tmp3,
363 outptr[7] = range_limit[(
int)
DESCALE(tmp10 - tmp3,
366 outptr[1] = range_limit[(
int)
DESCALE(tmp11 + tmp2,
369 outptr[6] = range_limit[(
int)
DESCALE(tmp11 - tmp2,
372 outptr[2] = range_limit[(
int)
DESCALE(tmp12 + tmp1,
375 outptr[5] = range_limit[(
int)
DESCALE(tmp12 - tmp1,
378 outptr[3] = range_limit[(
int)
DESCALE(tmp13 + tmp0,
381 outptr[4] = range_limit[(
int)
DESCALE(tmp13 - tmp0,
MULTIPLIER ISLOW_MULT_TYPE
Definition jdct.h:59
jpeg_component_info JCOEFPTR coef_block
Definition jdct.h:106
jpeg_component_info JCOEFPTR JSAMPARRAY JDIMENSION output_col
Definition jdct.h:106
#define RANGE_MASK
Definition jdct.h:81
jpeg_component_info * compptr
Definition jdct.h:105
#define IDCT_range_limit(cinfo)
Definition jdct.h:79
jpeg_component_info JCOEFPTR JSAMPARRAY output_buf
Definition jdct.h:106
#define DESCALE(x, n)
Definition jdct.h:149
#define FIX_0_541196100
Definition jfdctfst.c:80
#define FIX_2_053119869
Definition jfdctint.c:102
#define PASS1_BITS
Definition jfdctint.c:79
#define FIX_0_390180644
Definition jfdctint.c:94
#define FIX_0_765366865
Definition jfdctint.c:96
#define FIX_2_562915447
Definition jfdctint.c:103
#define FIX_1_501321110
Definition jfdctint.c:99
#define FIX_1_175875602
Definition jfdctint.c:98
#define FIX_0_298631336
Definition jfdctint.c:93
#define FIX_1_961570560
Definition jfdctint.c:101
#define FIX_1_847759065
Definition jfdctint.c:100
#define FIX_0_899976223
Definition jfdctint.c:97
#define FIX_3_072711026
Definition jfdctint.c:104
#define DEQUANTIZE(coef, quantval)
Definition jidctint.c:140
jpeg_idct_islow(j_decompress_ptr cinfo, jpeg_component_info *compptr, JCOEFPTR coef_block, JSAMPARRAY output_buf, JDIMENSION output_col)
Definition jidctint.c:148
#define MULTIPLY(var, const)
Definition jidctint.c:129
unsigned int JDIMENSION
Definition jmorecfg.h:171
long INT32
Definition jmorecfg.h:161
char JSAMPLE
Definition jmorecfg.h:64
#define SHIFT_TEMPS
Definition jpegint.h:289
struct jpeg_decompress_struct * j_decompress_ptr
Definition jpeglib.h:263
#define DCTSIZE
Definition jpeglib.h:41
JCOEF FAR * JCOEFPTR
Definition jpeglib.h:75
JSAMPROW * JSAMPARRAY
Definition jpeglib.h:67
JSAMPLE FAR * JSAMPROW
Definition jpeglib.h:66
#define DCTSIZE2
Definition jpeglib.h:42
#define GLOBAL(g)
Definition crypt.c:87
G inptr
Definition fileio.c:766
typedef int(UZ_EXP MsgFn)()
char workspace[12]
Definition zipinfo.c:998