#include "jinclude.h"
#include "jpeglib.h"
#include "jdct.h"
Go to the source code of this file.
#define CONST_BITS 13 |
Definition at line 101 of file jidctint.c.
#define DEQUANTIZE | ( | coef, | |||
quantval | ) | (((ISLOW_MULT_TYPE) (coef)) * (quantval)) |
Definition at line 163 of file jidctint.c.
#define FIX_0_298631336 ((INT32) 2446) |
Definition at line 116 of file jidctint.c.
#define FIX_0_390180644 ((INT32) 3196) |
Definition at line 117 of file jidctint.c.
#define FIX_0_541196100 ((INT32) 4433) |
Definition at line 118 of file jidctint.c.
#define FIX_0_765366865 ((INT32) 6270) |
Definition at line 119 of file jidctint.c.
#define FIX_0_899976223 ((INT32) 7373) |
Definition at line 120 of file jidctint.c.
#define FIX_1_175875602 ((INT32) 9633) |
Definition at line 121 of file jidctint.c.
#define FIX_1_501321110 ((INT32) 12299) |
Definition at line 122 of file jidctint.c.
#define FIX_1_847759065 ((INT32) 15137) |
Definition at line 123 of file jidctint.c.
#define FIX_1_961570560 ((INT32) 16069) |
Definition at line 124 of file jidctint.c.
#define FIX_2_053119869 ((INT32) 16819) |
Definition at line 125 of file jidctint.c.
#define FIX_2_562915447 ((INT32) 20995) |
Definition at line 126 of file jidctint.c.
#define FIX_3_072711026 ((INT32) 25172) |
Definition at line 127 of file jidctint.c.
#define JPEG_INTERNALS |
Definition at line 51 of file jidctint.c.
#define MULTIPLY | ( | var, | |||
const | ) | MULTIPLY16C16(var,const) |
Definition at line 152 of file jidctint.c.
#define PASS1_BITS 2 |
Definition at line 102 of file jidctint.c.
jpeg_idct_10x10 | ( | j_decompress_ptr | cinfo, | |
jpeg_component_info * | compptr, | |||
JCOEFPTR | coef_block, | |||
JSAMPARRAY | output_buf, | |||
JDIMENSION | output_col | |||
) |
Definition at line 1260 of file jidctint.c.
References CONST_BITS, DCTSIZE, DEQUANTIZE, FIX, for(), IDCT_range_limit, int, MULTIPLY, ONE, PASS1_BITS, RANGE_MASK, RIGHT_SHIFT, and SHIFT_TEMPS.
Referenced by start_pass().
jpeg_idct_10x5 | ( | j_decompress_ptr | cinfo, | |
jpeg_component_info * | compptr, | |||
JCOEFPTR | coef_block, | |||
JSAMPARRAY | output_buf, | |||
JDIMENSION | output_col | |||
) |
Definition at line 3464 of file jidctint.c.
References CONST_BITS, DCTSIZE, DEQUANTIZE, FIX, for(), IDCT_range_limit, int, MULTIPLY, ONE, PASS1_BITS, RANGE_MASK, RIGHT_SHIFT, and SHIFT_TEMPS.
Referenced by start_pass().
jpeg_idct_11x11 | ( | j_decompress_ptr | cinfo, | |
jpeg_component_info * | compptr, | |||
JCOEFPTR | coef_block, | |||
JSAMPARRAY | output_buf, | |||
JDIMENSION | output_col | |||
) |
Definition at line 1455 of file jidctint.c.
References CONST_BITS, DCTSIZE, DEQUANTIZE, FIX, for(), IDCT_range_limit, int, MULTIPLY, ONE, PASS1_BITS, RANGE_MASK, RIGHT_SHIFT, and SHIFT_TEMPS.
Referenced by start_pass().
jpeg_idct_12x12 | ( | j_decompress_ptr | cinfo, | |
jpeg_component_info * | compptr, | |||
JCOEFPTR | coef_block, | |||
JSAMPARRAY | output_buf, | |||
JDIMENSION | output_col | |||
) |
Definition at line 1649 of file jidctint.c.
References CONST_BITS, DCTSIZE, DEQUANTIZE, FIX, FIX_0_541196100, FIX_0_765366865, FIX_1_847759065, for(), IDCT_range_limit, int, MULTIPLY, ONE, PASS1_BITS, RANGE_MASK, RIGHT_SHIFT, and SHIFT_TEMPS.
Referenced by start_pass().
jpeg_idct_12x6 | ( | j_decompress_ptr | cinfo, | |
jpeg_component_info * | compptr, | |||
JCOEFPTR | coef_block, | |||
JSAMPARRAY | output_buf, | |||
JDIMENSION | output_col | |||
) |
Definition at line 3288 of file jidctint.c.
References CONST_BITS, DCTSIZE, DEQUANTIZE, FIX, FIX_0_541196100, FIX_0_765366865, FIX_1_847759065, for(), IDCT_range_limit, int, MULTIPLY, ONE, PASS1_BITS, RANGE_MASK, RIGHT_SHIFT, and SHIFT_TEMPS.
Referenced by start_pass().
jpeg_idct_13x13 | ( | j_decompress_ptr | cinfo, | |
jpeg_component_info * | compptr, | |||
JCOEFPTR | coef_block, | |||
JSAMPARRAY | output_buf, | |||
JDIMENSION | output_col | |||
) |
Definition at line 1865 of file jidctint.c.
References CONST_BITS, DCTSIZE, DEQUANTIZE, FIX, for(), IDCT_range_limit, int, MULTIPLY, ONE, PASS1_BITS, RANGE_MASK, RIGHT_SHIFT, and SHIFT_TEMPS.
Referenced by start_pass().
jpeg_idct_14x14 | ( | j_decompress_ptr | cinfo, | |
jpeg_component_info * | compptr, | |||
JCOEFPTR | coef_block, | |||
JSAMPARRAY | output_buf, | |||
JDIMENSION | output_col | |||
) |
Definition at line 2093 of file jidctint.c.
References CONST_BITS, DCTSIZE, DEQUANTIZE, FIX, for(), IDCT_range_limit, int, MULTIPLY, ONE, PASS1_BITS, RANGE_MASK, RIGHT_SHIFT, and SHIFT_TEMPS.
Referenced by start_pass().
jpeg_idct_14x7 | ( | j_decompress_ptr | cinfo, | |
jpeg_component_info * | compptr, | |||
JCOEFPTR | coef_block, | |||
JSAMPARRAY | output_buf, | |||
JDIMENSION | output_col | |||
) |
Definition at line 3093 of file jidctint.c.
References CONST_BITS, DCTSIZE, DEQUANTIZE, FIX, for(), IDCT_range_limit, int, MULTIPLY, ONE, PASS1_BITS, RANGE_MASK, RIGHT_SHIFT, and SHIFT_TEMPS.
Referenced by start_pass().
jpeg_idct_15x15 | ( | j_decompress_ptr | cinfo, | |
jpeg_component_info * | compptr, | |||
JCOEFPTR | coef_block, | |||
JSAMPARRAY | output_buf, | |||
JDIMENSION | output_col | |||
) |
Definition at line 2319 of file jidctint.c.
References CONST_BITS, DCTSIZE, DEQUANTIZE, FIX, for(), IDCT_range_limit, int, MULTIPLY, ONE, PASS1_BITS, RANGE_MASK, RIGHT_SHIFT, and SHIFT_TEMPS.
Referenced by start_pass().
jpeg_idct_16x16 | ( | j_decompress_ptr | cinfo, | |
jpeg_component_info * | compptr, | |||
JCOEFPTR | coef_block, | |||
JSAMPARRAY | output_buf, | |||
JDIMENSION | output_col | |||
) |
Definition at line 2561 of file jidctint.c.
References CONST_BITS, DCTSIZE, DEQUANTIZE, FIX, FIX_0_541196100, FIX_0_899976223, FIX_2_562915447, for(), IDCT_range_limit, int, MULTIPLY, ONE, PASS1_BITS, RANGE_MASK, RIGHT_SHIFT, and SHIFT_TEMPS.
Referenced by start_pass().
jpeg_idct_16x8 | ( | j_decompress_ptr | cinfo, | |
jpeg_component_info * | compptr, | |||
JCOEFPTR | coef_block, | |||
JSAMPARRAY | output_buf, | |||
JDIMENSION | output_col | |||
) |
Definition at line 2822 of file jidctint.c.
References CONST_BITS, DCTSIZE, DEQUANTIZE, FIX, FIX_0_298631336, FIX_0_390180644, FIX_0_541196100, FIX_0_765366865, FIX_0_899976223, FIX_1_175875602, FIX_1_501321110, FIX_1_847759065, FIX_1_961570560, FIX_2_053119869, FIX_2_562915447, FIX_3_072711026, for(), IDCT_range_limit, int, MULTIPLY, ONE, PASS1_BITS, RANGE_MASK, RIGHT_SHIFT, and SHIFT_TEMPS.
Referenced by start_pass().
jpeg_idct_1x1 | ( | j_decompress_ptr | cinfo, | |
jpeg_component_info * | compptr, | |||
JCOEFPTR | coef_block, | |||
JSAMPARRAY | output_buf, | |||
JDIMENSION | output_col | |||
) |
Definition at line 1062 of file jidctint.c.
References DEQUANTIZE, DESCALE, IDCT_range_limit, int, RANGE_MASK, and SHIFT_TEMPS.
Referenced by start_pass().
jpeg_idct_1x2 | ( | j_decompress_ptr | cinfo, | |
jpeg_component_info * | compptr, | |||
JCOEFPTR | coef_block, | |||
JSAMPARRAY | output_buf, | |||
JDIMENSION | output_col | |||
) |
Definition at line 5105 of file jidctint.c.
References DCTSIZE, DEQUANTIZE, IDCT_range_limit, int, ONE, RANGE_MASK, RIGHT_SHIFT, and SHIFT_TEMPS.
Referenced by start_pass().
jpeg_idct_2x1 | ( | j_decompress_ptr | cinfo, | |
jpeg_component_info * | compptr, | |||
JCOEFPTR | coef_block, | |||
JSAMPARRAY | output_buf, | |||
JDIMENSION | output_col | |||
) |
Definition at line 3978 of file jidctint.c.
References DEQUANTIZE, IDCT_range_limit, int, ONE, RANGE_MASK, RIGHT_SHIFT, and SHIFT_TEMPS.
Referenced by start_pass().
jpeg_idct_2x2 | ( | j_decompress_ptr | cinfo, | |
jpeg_component_info * | compptr, | |||
JCOEFPTR | coef_block, | |||
JSAMPARRAY | output_buf, | |||
JDIMENSION | output_col | |||
) |
Definition at line 1007 of file jidctint.c.
References DCTSIZE, DEQUANTIZE, IDCT_range_limit, int, ONE, RANGE_MASK, RIGHT_SHIFT, and SHIFT_TEMPS.
Referenced by start_pass().
jpeg_idct_2x4 | ( | j_decompress_ptr | cinfo, | |
jpeg_component_info * | compptr, | |||
JCOEFPTR | coef_block, | |||
JSAMPARRAY | output_buf, | |||
JDIMENSION | output_col | |||
) |
Definition at line 5021 of file jidctint.c.
References CONST_BITS, DCTSIZE, DEQUANTIZE, FIX_0_541196100, FIX_0_765366865, FIX_1_847759065, for(), IDCT_range_limit, int, MULTIPLY, ONE, RANGE_MASK, RIGHT_SHIFT, and SHIFT_TEMPS.
Referenced by start_pass().
jpeg_idct_3x3 | ( | j_decompress_ptr | cinfo, | |
jpeg_component_info * | compptr, | |||
JCOEFPTR | coef_block, | |||
JSAMPARRAY | output_buf, | |||
JDIMENSION | output_col | |||
) |
Definition at line 918 of file jidctint.c.
References CONST_BITS, DCTSIZE, DEQUANTIZE, FIX, for(), IDCT_range_limit, int, MULTIPLY, ONE, PASS1_BITS, RANGE_MASK, RIGHT_SHIFT, and SHIFT_TEMPS.
Referenced by start_pass().
jpeg_idct_3x6 | ( | j_decompress_ptr | cinfo, | |
jpeg_component_info * | compptr, | |||
JCOEFPTR | coef_block, | |||
JSAMPARRAY | output_buf, | |||
JDIMENSION | output_col | |||
) |
Definition at line 4917 of file jidctint.c.
References CONST_BITS, DCTSIZE, DEQUANTIZE, FIX, for(), IDCT_range_limit, int, MULTIPLY, ONE, PASS1_BITS, RANGE_MASK, RIGHT_SHIFT, and SHIFT_TEMPS.
Referenced by start_pass().
jpeg_idct_4x2 | ( | j_decompress_ptr | cinfo, | |
jpeg_component_info * | compptr, | |||
JCOEFPTR | coef_block, | |||
JSAMPARRAY | output_buf, | |||
JDIMENSION | output_col | |||
) |
Definition at line 3888 of file jidctint.c.
References CONST_BITS, DCTSIZE, DEQUANTIZE, FIX_0_541196100, FIX_0_765366865, FIX_1_847759065, for(), IDCT_range_limit, int, MULTIPLY, ONE, RANGE_MASK, RIGHT_SHIFT, and SHIFT_TEMPS.
Referenced by start_pass().
jpeg_idct_4x4 | ( | j_decompress_ptr | cinfo, | |
jpeg_component_info * | compptr, | |||
JCOEFPTR | coef_block, | |||
JSAMPARRAY | output_buf, | |||
JDIMENSION | output_col | |||
) |
Definition at line 813 of file jidctint.c.
References CONST_BITS, DCTSIZE, DEQUANTIZE, FIX_0_541196100, FIX_0_765366865, FIX_1_847759065, for(), IDCT_range_limit, int, MULTIPLY, ONE, PASS1_BITS, RANGE_MASK, RIGHT_SHIFT, and SHIFT_TEMPS.
Referenced by start_pass().
jpeg_idct_4x8 | ( | j_decompress_ptr | cinfo, | |
jpeg_component_info * | compptr, | |||
JCOEFPTR | coef_block, | |||
JSAMPARRAY | output_buf, | |||
JDIMENSION | output_col | |||
) |
Definition at line 4737 of file jidctint.c.
References CONST_BITS, DCTSIZE, DEQUANTIZE, FIX_0_298631336, FIX_0_390180644, FIX_0_541196100, FIX_0_765366865, FIX_0_899976223, FIX_1_175875602, FIX_1_501321110, FIX_1_847759065, FIX_1_961570560, FIX_2_053119869, FIX_2_562915447, FIX_3_072711026, for(), IDCT_range_limit, int, MULTIPLY, ONE, PASS1_BITS, RANGE_MASK, RIGHT_SHIFT, and SHIFT_TEMPS.
Referenced by start_pass().
jpeg_idct_5x10 | ( | j_decompress_ptr | cinfo, | |
jpeg_component_info * | compptr, | |||
JCOEFPTR | coef_block, | |||
JSAMPARRAY | output_buf, | |||
JDIMENSION | output_col | |||
) |
Definition at line 4585 of file jidctint.c.
References CONST_BITS, DCTSIZE, DEQUANTIZE, FIX, for(), IDCT_range_limit, int, MULTIPLY, ONE, PASS1_BITS, RANGE_MASK, RIGHT_SHIFT, and SHIFT_TEMPS.
Referenced by start_pass().
jpeg_idct_5x5 | ( | j_decompress_ptr | cinfo, | |
jpeg_component_info * | compptr, | |||
JCOEFPTR | coef_block, | |||
JSAMPARRAY | output_buf, | |||
JDIMENSION | output_col | |||
) |
Definition at line 698 of file jidctint.c.
References CONST_BITS, DCTSIZE, DEQUANTIZE, FIX, for(), IDCT_range_limit, int, MULTIPLY, ONE, PASS1_BITS, RANGE_MASK, RIGHT_SHIFT, and SHIFT_TEMPS.
Referenced by start_pass().
jpeg_idct_6x12 | ( | j_decompress_ptr | cinfo, | |
jpeg_component_info * | compptr, | |||
JCOEFPTR | coef_block, | |||
JSAMPARRAY | output_buf, | |||
JDIMENSION | output_col | |||
) |
Definition at line 4421 of file jidctint.c.
References CONST_BITS, DCTSIZE, DEQUANTIZE, FIX, FIX_0_541196100, FIX_0_765366865, FIX_1_847759065, for(), IDCT_range_limit, int, MULTIPLY, ONE, PASS1_BITS, RANGE_MASK, RIGHT_SHIFT, and SHIFT_TEMPS.
Referenced by start_pass().
jpeg_idct_6x3 | ( | j_decompress_ptr | cinfo, | |
jpeg_component_info * | compptr, | |||
JCOEFPTR | coef_block, | |||
JSAMPARRAY | output_buf, | |||
JDIMENSION | output_col | |||
) |
Definition at line 3778 of file jidctint.c.
References CONST_BITS, DCTSIZE, DEQUANTIZE, FIX, for(), IDCT_range_limit, int, MULTIPLY, ONE, PASS1_BITS, RANGE_MASK, RIGHT_SHIFT, and SHIFT_TEMPS.
Referenced by start_pass().
jpeg_idct_6x6 | ( | j_decompress_ptr | cinfo, | |
jpeg_component_info * | compptr, | |||
JCOEFPTR | coef_block, | |||
JSAMPARRAY | output_buf, | |||
JDIMENSION | output_col | |||
) |
Definition at line 577 of file jidctint.c.
References CONST_BITS, DCTSIZE, DEQUANTIZE, FIX, for(), IDCT_range_limit, int, MULTIPLY, ONE, PASS1_BITS, RANGE_MASK, RIGHT_SHIFT, and SHIFT_TEMPS.
Referenced by start_pass().
jpeg_idct_7x14 | ( | j_decompress_ptr | cinfo, | |
jpeg_component_info * | compptr, | |||
JCOEFPTR | coef_block, | |||
JSAMPARRAY | output_buf, | |||
JDIMENSION | output_col | |||
) |
Definition at line 4238 of file jidctint.c.
References CONST_BITS, DCTSIZE, DEQUANTIZE, FIX, for(), IDCT_range_limit, int, MULTIPLY, ONE, PASS1_BITS, RANGE_MASK, RIGHT_SHIFT, and SHIFT_TEMPS.
Referenced by start_pass().
jpeg_idct_7x7 | ( | j_decompress_ptr | cinfo, | |
jpeg_component_info * | compptr, | |||
JCOEFPTR | coef_block, | |||
JSAMPARRAY | output_buf, | |||
JDIMENSION | output_col | |||
) |
Definition at line 428 of file jidctint.c.
References CONST_BITS, DCTSIZE, DEQUANTIZE, FIX, for(), IDCT_range_limit, int, MULTIPLY, ONE, PASS1_BITS, RANGE_MASK, RIGHT_SHIFT, and SHIFT_TEMPS.
Referenced by start_pass().
jpeg_idct_8x16 | ( | j_decompress_ptr | cinfo, | |
jpeg_component_info * | compptr, | |||
JCOEFPTR | coef_block, | |||
JSAMPARRAY | output_buf, | |||
JDIMENSION | output_col | |||
) |
Definition at line 4020 of file jidctint.c.
References CONST_BITS, DCTSIZE, DEQUANTIZE, FIX, FIX_0_298631336, FIX_0_390180644, FIX_0_541196100, FIX_0_765366865, FIX_0_899976223, FIX_1_175875602, FIX_1_501321110, FIX_1_847759065, FIX_1_961570560, FIX_2_053119869, FIX_2_562915447, FIX_3_072711026, for(), IDCT_range_limit, int, MULTIPLY, ONE, PASS1_BITS, RANGE_MASK, RIGHT_SHIFT, and SHIFT_TEMPS.
Referenced by start_pass().
jpeg_idct_8x4 | ( | j_decompress_ptr | cinfo, | |
jpeg_component_info * | compptr, | |||
JCOEFPTR | coef_block, | |||
JSAMPARRAY | output_buf, | |||
JDIMENSION | output_col | |||
) |
Definition at line 3625 of file jidctint.c.
References CONST_BITS, DCTSIZE, DEQUANTIZE, FIX_0_298631336, FIX_0_390180644, FIX_0_541196100, FIX_0_765366865, FIX_0_899976223, FIX_1_175875602, FIX_1_501321110, FIX_1_847759065, FIX_1_961570560, FIX_2_053119869, FIX_2_562915447, FIX_3_072711026, for(), IDCT_range_limit, int, MULTIPLY, ONE, PASS1_BITS, RANGE_MASK, RIGHT_SHIFT, and SHIFT_TEMPS.
Referenced by start_pass().
jpeg_idct_9x9 | ( | j_decompress_ptr | cinfo, | |
jpeg_component_info * | compptr, | |||
JCOEFPTR | coef_block, | |||
JSAMPARRAY | output_buf, | |||
JDIMENSION | output_col | |||
) |
Definition at line 1089 of file jidctint.c.
References CONST_BITS, DCTSIZE, DEQUANTIZE, FIX, for(), IDCT_range_limit, int, MULTIPLY, ONE, PASS1_BITS, RANGE_MASK, RIGHT_SHIFT, and SHIFT_TEMPS.
Referenced by start_pass().
jpeg_idct_islow | ( | j_decompress_ptr | cinfo, | |
jpeg_component_info * | compptr, | |||
JCOEFPTR | coef_block, | |||
JSAMPARRAY | output_buf, | |||
JDIMENSION | output_col | |||
) |
Definition at line 171 of file jidctint.c.
References CONST_BITS, DCTSIZE, DCTSIZE2, DEQUANTIZE, DESCALE, FIX_0_298631336, FIX_0_390180644, FIX_0_541196100, FIX_0_765366865, FIX_0_899976223, FIX_1_175875602, FIX_1_501321110, FIX_1_847759065, FIX_1_961570560, FIX_2_053119869, FIX_2_562915447, FIX_3_072711026, for(), IDCT_range_limit, int, MULTIPLY, ONE, PASS1_BITS, RANGE_MASK, RIGHT_SHIFT, and SHIFT_TEMPS.
Referenced by start_pass().