95 inverse_DCT_method_ptr method_ptr =
NULL;
98 for (ci = 0,
compptr = cinfo->comp_info; ci < cinfo->num_components;
101 switch (compptr->DCT_scaled_size) {
102#ifdef IDCT_SCALING_SUPPORTED
104 method_ptr = jpeg_idct_1x1;
108 method_ptr = jpeg_idct_2x2;
112 method_ptr = jpeg_idct_4x4;
117 switch (cinfo->dct_method) {
118#ifdef DCT_ISLOW_SUPPORTED
120 method_ptr = jpeg_idct_islow;
124#ifdef DCT_IFAST_SUPPORTED
126 method_ptr = jpeg_idct_ifast;
130#ifdef DCT_FLOAT_SUPPORTED
132 method_ptr = jpeg_idct_float;
137 ERREXIT(cinfo, JERR_NOT_COMPILED);
142 ERREXIT1(cinfo, JERR_BAD_DCTSIZE, compptr->DCT_scaled_size);
160#ifdef PROVIDE_ISLOW_TABLES
173#ifdef DCT_IFAST_SUPPORTED
187 16384, 22725, 21407, 19266, 16384, 12873, 8867, 4520,
188 22725, 31521, 29692, 26722, 22725, 17855, 12299, 6270,
189 21407, 29692, 27969, 25172, 21407, 16819, 11585, 5906,
190 19266, 26722, 25172, 22654, 19266, 15137, 10426, 5315,
191 16384, 22725, 21407, 19266, 16384, 12873, 8867, 4520,
192 12873, 17855, 16819, 15137, 12873, 10114, 6967, 3552,
193 8867, 12299, 11585, 10426, 8867, 6967, 4799, 2446,
194 4520, 6270, 5906, 5315, 4520, 3552, 2446, 1247
207#ifdef DCT_FLOAT_SUPPORTED
217 static const double aanscalefactor[
DCTSIZE] = {
218 1.0, 1.387039845, 1.306562965, 1.175875602,
219 1.0, 0.785694958, 0.541196100, 0.275899379
223 for (row = 0; row <
DCTSIZE; row++) {
224 for (col = 0; col <
DCTSIZE; col++) {
227 aanscalefactor[row] * aanscalefactor[col]);
235 ERREXIT(cinfo, JERR_NOT_COMPILED);