doom3-gpl
Doom 3 GPL source release
|
Go to the source code of this file.
Macros | |
#define | IFAST_SCALE_BITS 13 /* fractional bits in scale factors */ |
#define | IDCT_range_limit(cinfo) ((cinfo)->sample_range_limit + CENTERJSAMPLE) |
#define | RANGE_MASK (MAXJSAMPLE * 4 + 3) /* 2 bits wider than legal samples */ |
#define | ONE ((INT32) 1) |
#define | CONST_SCALE (ONE << CONST_BITS) |
#define | FIX(x) ((INT32) ((x) * CONST_SCALE + 0.5)) |
#define | DESCALE(x, n) RIGHT_SHIFT((x) + (ONE << ((n)-1)), n) |
#define | MULTIPLY16C16(var, const) ((var) * (const)) |
#define | MULTIPLY16V16(var1, var2) ((var1) * (var2)) |
Typedefs | |
typedef INT32 | DCTELEM |
typedef MULTIPLIER | ISLOW_MULT_TYPE |
typedef INT32 | IFAST_MULT_TYPE |
typedef FAST_FLOAT | FLOAT_MULT_TYPE |
Functions | |
typedef | JMETHOD (void, forward_DCT_method_ptr,(DCTELEM *data)) |
typedef | JMETHOD (void, float_DCT_method_ptr,(FAST_FLOAT *data)) |
EXTERN void jpeg_fdct_islow | JPP ((DCTELEM *data)) |
EXTERN void jpeg_fdct_float | JPP ((FAST_FLOAT *data)) |
EXTERN void jpeg_idct_islow | JPP ((j_decompress_ptr cinfo, jpeg_component_info *compptr, JCOEFPTR coef_block, JSAMPARRAY output_buf, JDIMENSION output_col)) |
#define IDCT_range_limit | ( | cinfo | ) | ((cinfo)->sample_range_limit + CENTERJSAMPLE) |
#define RANGE_MASK (MAXJSAMPLE * 4 + 3) /* 2 bits wider than legal samples */ |
typedef FAST_FLOAT FLOAT_MULT_TYPE |
typedef INT32 IFAST_MULT_TYPE |
typedef MULTIPLIER ISLOW_MULT_TYPE |
EXTERN void jpeg_fdct_float JPP | ( | (FAST_FLOAT *data) | ) |
EXTERN void jpeg_idct_1x1 JPP | ( | (j_decompress_ptr cinfo, jpeg_component_info *compptr, JCOEFPTR coef_block, JSAMPARRAY output_buf, JDIMENSION output_col) | ) |