23 #if BITS_IN_JSAMPLE == 8
30 typedef JMETHOD(
void, float_DCT_method_ptr, (FAST_FLOAT *
data));
50 #if BITS_IN_JSAMPLE == 8
52 #define IFAST_SCALE_BITS 2
55 #define IFAST_SCALE_BITS 13
68 #define IDCT_range_limit(cinfo) ((cinfo)->sample_range_limit + CENTERJSAMPLE)
70 #define RANGE_MASK (MAXJSAMPLE * 4 + 3)
74 #ifdef NEED_SHORT_EXTERNAL_NAMES
75 #define jpeg_fdct_islow jFDislow
76 #define jpeg_fdct_ifast jFDifast
77 #define jpeg_fdct_float jFDfloat
78 #define jpeg_idct_islow jRDislow
79 #define jpeg_idct_ifast jRDifast
80 #define jpeg_idct_float jRDfloat
81 #define jpeg_idct_4x4 jRD4x4
82 #define jpeg_idct_2x2 jRD2x2
83 #define jpeg_idct_1x1 jRD1x1
127 #define ONE ((INT32)1)
128 #define CONST_SCALE (ONE << CONST_BITS)
135 #define FIX(x) ((INT32)((x)*CONST_SCALE + 0.5))
142 #define DESCALE(x, n) RIGHT_SHIFT((x) + (ONE << ((n)-1)), n)
153 #ifdef SHORTxSHORT_32
154 #define MULTIPLY16C16(var, const) (((INT16)(var)) * ((INT16)(const)))
156 #ifdef SHORTxLCONST_32
157 #define MULTIPLY16C16(var, const) (((INT16)(var)) * ((INT32)(const)))
160 #ifndef MULTIPLY16C16
161 #define MULTIPLY16C16(var, const) ((var) * (const))
166 #ifdef SHORTxSHORT_32
167 #define MULTIPLY16V16(var1, var2) (((INT16)(var1)) * ((INT16)(var2)))
170 #ifndef MULTIPLY16V16
171 #define MULTIPLY16V16(var1, var2) ((var1) * (var2))
GLsizei GLsizei GLenum GLenum const GLvoid * data
typedef JMETHOD(void, forward_DCT_method_ptr,(DCTELEM *data))
MULTIPLIER ISLOW_MULT_TYPE
EXTERN(void) jpeg_fdct_islow JPP((DCTELEM *data))
jpeg_idct_islow JPP((j_decompress_ptr cinfo, jpeg_component_info *compptr, JCOEFPTR coef_block, JSAMPARRAY output_buf, JDIMENSION output_col))
FAST_FLOAT FLOAT_MULT_TYPE
jpeg_component_info JCOEFPTR coef_block
jpeg_component_info * compptr
jpeg_component_info JCOEFPTR JSAMPARRAY JDIMENSION output_col
jpeg_component_info JCOEFPTR JSAMPARRAY output_buf
jpeg_idct_2x2(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)