95 inverse_DCT_method_ptr method_ptr = NULL;
102 #ifdef IDCT_SCALING_SUPPORTED 118 #ifdef DCT_ISLOW_SUPPORTED 124 #ifdef DCT_IFAST_SUPPORTED 130 #ifdef DCT_FLOAT_SUPPORTED 160 #ifdef PROVIDE_ISLOW_TABLES 173 #ifdef DCT_IFAST_SUPPORTED 185 static const int16_t aanscales[
DCTSIZE2] = {
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
201 (int32_t) aanscales[
i]),
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++) {
226 ((
double) qtbl->quantval[
i] *
227 aanscalefactor[row] * aanscalefactor[col]);
#define DESCALE(x, n)
Definition: jdct.h:146
void jpeg_idct_1x1(j_decompress_ptr cinfo, jpeg_component_info *compptr, JCOEFPTR coef_block, JSAMPARRAY output_buf, JDIMENSION output_col)
Definition: jidctred.cpp:379
#define IFAST_SCALE_BITS
Definition: jdct.h:62
jpeg_component_info * comp_info
Definition: jpeglib.h:540
int i
Definition: rw_test.cpp:37
inverse_DCT_method_ptr inverse_DCT[MAX_COMPONENTS]
Definition: jpegint.h:228
void * dct_table
Definition: jpeglib.h:183
void jpeg_idct_2x2(j_decompress_ptr cinfo, jpeg_component_info *compptr, JCOEFPTR coef_block, JSAMPARRAY output_buf, JDIMENSION output_col)
Definition: jidctred.cpp:271
my_idct_controller * my_idct_ptr
Definition: jddctmgr.cpp:54
Definition: jddctmgr.cpp:43
int DCT_scaled_size
Definition: jpeglib.h:152
#define ERREXIT(cinfo, code)
Definition: jerror.h:205
boolean component_needed
Definition: jpeglib.h:165
#define SHIFT_TEMPS
Definition: jpegint.h:289
Definition: jpeglib.h:224
jpeg_component_info * compptr
Definition: jdct.h:102
int32_t IFAST_MULT_TYPE
Definition: jdct.h:61
void jpeg_idct_islow(j_decompress_ptr cinfo, jpeg_component_info *compptr, JCOEFPTR coef_block, JSAMPARRAY output_buf, JDIMENSION output_col)
Definition: jidctint.cpp:148
void jpeg_idct_float(j_decompress_ptr cinfo, jpeg_component_info *compptr, JCOEFPTR coef_block, JSAMPARRAY output_buf, JDIMENSION output_col)
Definition: jidctflt.cpp:68
#define DCTSIZE2
Definition: jpeglib.h:47
J_DCT_METHOD dct_method
Definition: jpeglib.h:444
MULTIPLIER ISLOW_MULT_TYPE
Definition: jdct.h:56
FAST_FLOAT FLOAT_MULT_TYPE
Definition: jdct.h:64
JQUANT_TBL * quant_table
Definition: jpeglib.h:180
#define ERREXIT1(cinfo, code, p1)
Definition: jerror.h:208
struct jpeg_inverse_dct pub
Definition: jddctmgr.cpp:44
Definition: jpeglib.h:121
Definition: jpeglib.h:225
#define DCTSIZE
Definition: jpeglib.h:46
void jpeg_idct_ifast(j_decompress_ptr cinfo, jpeg_component_info *compptr, JCOEFPTR coef_block, JSAMPARRAY output_buf, JDIMENSION output_col)
Definition: jidctfst.cpp:168
int cur_method[10]
Definition: jddctmgr.cpp:51
struct jpeg_inverse_dct * idct
Definition: jpeglib.h:631
void jpeg_idct_4x4(j_decompress_ptr cinfo, jpeg_component_info *compptr, JCOEFPTR coef_block, JSAMPARRAY output_buf, JDIMENSION output_col)
Definition: jidctred.cpp:118
Definition: jpeglib.h:223
#define MULTIPLY16V16(var1, var2)
Definition: jdct.h:175