91{
96 inverse_DCT_method_ptr method_ptr =
NULL;
98
101
103#ifdef IDCT_SCALING_SUPPORTED
104 case ((1 << 8) + 1):
105 method_ptr = jpeg_idct_1x1;
107 break;
108 case ((2 << 8) + 2):
109 method_ptr = jpeg_idct_2x2;
111 break;
112 case ((3 << 8) + 3):
113 method_ptr = jpeg_idct_3x3;
115 break;
116 case ((4 << 8) + 4):
117 method_ptr = jpeg_idct_4x4;
119 break;
120 case ((5 << 8) + 5):
121 method_ptr = jpeg_idct_5x5;
123 break;
124 case ((6 << 8) + 6):
125 method_ptr = jpeg_idct_6x6;
127 break;
128 case ((7 << 8) + 7):
129 method_ptr = jpeg_idct_7x7;
131 break;
132 case ((9 << 8) + 9):
133 method_ptr = jpeg_idct_9x9;
135 break;
136 case ((10 << 8) + 10):
137 method_ptr = jpeg_idct_10x10;
139 break;
140 case ((11 << 8) + 11):
141 method_ptr = jpeg_idct_11x11;
143 break;
144 case ((12 << 8) + 12):
145 method_ptr = jpeg_idct_12x12;
147 break;
148 case ((13 << 8) + 13):
149 method_ptr = jpeg_idct_13x13;
151 break;
152 case ((14 << 8) + 14):
153 method_ptr = jpeg_idct_14x14;
155 break;
156 case ((15 << 8) + 15):
157 method_ptr = jpeg_idct_15x15;
159 break;
160 case ((16 << 8) + 16):
161 method_ptr = jpeg_idct_16x16;
163 break;
164 case ((16 << 8) + 8):
165 method_ptr = jpeg_idct_16x8;
167 break;
168 case ((14 << 8) + 7):
169 method_ptr = jpeg_idct_14x7;
171 break;
172 case ((12 << 8) + 6):
173 method_ptr = jpeg_idct_12x6;
175 break;
176 case ((10 << 8) + 5):
177 method_ptr = jpeg_idct_10x5;
179 break;
180 case ((8 << 8) + 4):
181 method_ptr = jpeg_idct_8x4;
183 break;
184 case ((6 << 8) + 3):
185 method_ptr = jpeg_idct_6x3;
187 break;
188 case ((4 << 8) + 2):
189 method_ptr = jpeg_idct_4x2;
191 break;
192 case ((2 << 8) + 1):
193 method_ptr = jpeg_idct_2x1;
195 break;
196 case ((8 << 8) + 16):
197 method_ptr = jpeg_idct_8x16;
199 break;
200 case ((7 << 8) + 14):
201 method_ptr = jpeg_idct_7x14;
203 break;
204 case ((6 << 8) + 12):
205 method_ptr = jpeg_idct_6x12;
207 break;
208 case ((5 << 8) + 10):
209 method_ptr = jpeg_idct_5x10;
211 break;
212 case ((4 << 8) + 8):
213 method_ptr = jpeg_idct_4x8;
215 break;
216 case ((3 << 8) + 6):
217 method_ptr = jpeg_idct_3x6;
219 break;
220 case ((2 << 8) + 4):
221 method_ptr = jpeg_idct_2x4;
223 break;
224 case ((1 << 8) + 2):
225 method_ptr = jpeg_idct_1x2;
227 break;
228#endif
231#ifdef DCT_ISLOW_SUPPORTED
233 method_ptr = jpeg_idct_islow;
235 break;
236#endif
237#ifdef DCT_IFAST_SUPPORTED
239 method_ptr = jpeg_idct_ifast;
241 break;
242#endif
243#ifdef DCT_FLOAT_SUPPORTED
245 method_ptr = jpeg_idct_float;
247 break;
248#endif
249 default:
250 ERREXIT(cinfo, JERR_NOT_COMPILED);
251 break;
252 }
253 break;
254 default:
257 break;
258 }
259 idct->
pub.inverse_DCT[ci] = method_ptr;
260
261
262
263
264
265
266
268 continue;
271 continue;
274#ifdef PROVIDE_ISLOW_TABLES
276 {
277
278
279
283 }
284 }
285 break;
286#endif
287#ifdef DCT_IFAST_SUPPORTED
289 {
290
291
292
293
294
295
296
300
301 16384, 22725, 21407, 19266, 16384, 12873, 8867, 4520,
302 22725, 31521, 29692, 26722, 22725, 17855, 12299, 6270,
303 21407, 29692, 27969, 25172, 21407, 16819, 11585, 5906,
304 19266, 26722, 25172, 22654, 19266, 15137, 10426, 5315,
305 16384, 22725, 21407, 19266, 16384, 12873, 8867, 4520,
306 12873, 17855, 16819, 15137, 12873, 10114, 6967, 3552,
307 8867, 12299, 11585, 10426, 8867, 6967, 4799, 2446,
308 4520, 6270, 5906, 5315, 4520, 3552, 2446, 1247
309 };
311
317 }
318 }
319 break;
320#endif
321#ifdef DCT_FLOAT_SUPPORTED
323 {
324
325
326
327
328
329
332 static const double aanscalefactor[
DCTSIZE] = {
333 1.0, 1.387039845, 1.306562965, 1.175875602,
334 1.0, 0.785694958, 0.541196100, 0.275899379
335 };
336
339 for (col = 0; col <
DCTSIZE; col++) {
341 ((
double) qtbl->quantval[
i] *
342 aanscalefactor[
row] * aanscalefactor[col] * 0.125);
344 }
345 }
346 }
347 break;
348#endif
349 default:
350 ERREXIT(cinfo, JERR_NOT_COMPILED);
351 break;
352 }
353 }
354}
struct png_info_def *typedef unsigned char **typedef struct png_info_def *typedef struct png_info_def *typedef struct png_info_def *typedef unsigned char ** row
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
MULTIPLIER ISLOW_MULT_TYPE
#define MULTIPLY16V16(var1, var2)
FAST_FLOAT FLOAT_MULT_TYPE
#define ERREXIT2(cinfo, code, p1, p2)