10 #define JPEG_INTERNALS
53 #ifdef DCT_IFAST_SUPPORTED
56 #ifdef DCT_FLOAT_SUPPORTED
65 #ifdef DCT_ISLOW_SUPPORTED
66 #define PROVIDE_ISLOW_TABLES
68 #ifdef IDCT_SCALING_SUPPORTED
69 #define PROVIDE_ISLOW_TABLES
87 inverse_DCT_method_ptr method_ptr = NULL;
90 for (ci = 0,
compptr = cinfo->comp_info; ci < cinfo->num_components;
94 #ifdef IDCT_SCALING_SUPPORTED
109 switch (cinfo->dct_method) {
110 #ifdef DCT_ISLOW_SUPPORTED
116 #ifdef DCT_IFAST_SUPPORTED
122 #ifdef DCT_FLOAT_SUPPORTED
129 ERREXIT(cinfo, JERR_NOT_COMPILED);
152 #ifdef PROVIDE_ISLOW_TABLES
165 #ifdef DCT_IFAST_SUPPORTED
179 16384, 22725, 21407, 19266, 16384, 12873, 8867, 4520,
180 22725, 31521, 29692, 26722, 22725, 17855, 12299, 6270,
181 21407, 29692, 27969, 25172, 21407, 16819, 11585, 5906,
182 19266, 26722, 25172, 22654, 19266, 15137, 10426, 5315,
183 16384, 22725, 21407, 19266, 16384, 12873, 8867, 4520,
184 12873, 17855, 16819, 15137, 12873, 10114, 6967, 3552,
185 8867, 12299, 11585, 10426, 8867, 6967, 4799, 2446,
186 4520, 6270, 5906, 5315, 4520, 3552, 2446, 1247
193 (
INT32) aanscales[i]),
199 #ifdef DCT_FLOAT_SUPPORTED
209 static const double aanscalefactor[
DCTSIZE] = {
210 1.0, 1.387039845, 1.306562965, 1.175875602,
211 1.0, 0.785694958, 0.541196100, 0.275899379
216 for (col = 0; col <
DCTSIZE; col++) {
218 ((
double) qtbl->quantval[i] *
219 aanscalefactor[
row] * aanscalefactor[col]);
227 ERREXIT(cinfo, JERR_NOT_COMPILED);
251 for (ci = 0,
compptr = cinfo->comp_info; ci < cinfo->num_components;
GLenum GLenum GLvoid * row
MULTIPLIER ISLOW_MULT_TYPE
#define MULTIPLY16V16(var1, var2)
jpeg_component_info * compptr
FAST_FLOAT FLOAT_MULT_TYPE
start_pass(j_decompress_ptr cinfo)
jinit_inverse_dct(j_decompress_ptr cinfo)
my_idct_controller * my_idct_ptr
#define ERREXIT(cinfo, code)
#define ERREXIT1(cinfo, code, p1)
jpeg_idct_float(j_decompress_ptr cinfo, jpeg_component_info *compptr, JCOEFPTR coef_block, JSAMPARRAY output_buf, JDIMENSION output_col)
jpeg_idct_ifast(j_decompress_ptr cinfo, jpeg_component_info *compptr, JCOEFPTR coef_block, JSAMPARRAY output_buf, JDIMENSION output_col)
jpeg_idct_islow(j_decompress_ptr cinfo, jpeg_component_info *compptr, JCOEFPTR coef_block, JSAMPARRAY output_buf, JDIMENSION output_col)
jpeg_idct_2x2(j_decompress_ptr cinfo, jpeg_component_info *compptr, JCOEFPTR coef_block, JSAMPARRAY output_buf, JDIMENSION output_col)
jpeg_idct_4x4(j_decompress_ptr cinfo, jpeg_component_info *compptr, JCOEFPTR coef_block, JSAMPARRAY output_buf, JDIMENSION output_col)
jpeg_idct_1x1(j_decompress_ptr cinfo, jpeg_component_info *compptr, JCOEFPTR coef_block, JSAMPARRAY output_buf, JDIMENSION output_col)
#define MEMZERO(target, size)
struct jpeg_common_struct * j_common_ptr
inverse_DCT_method_ptr inverse_DCT[MAX_COMPONENTS]
int cur_method[MAX_COMPONENTS]
struct jpeg_inverse_dct pub