Main MRPT website > C++ reference for MRPT 1.5.6
Macros | Functions
jidctred.cpp File Reference
#include "jinclude.h"
#include "mrpt_jpeglib.h"
#include "jdct.h"
Include dependency graph for jidctred.cpp:

Go to the source code of this file.

Macros

#define JPEG_INTERNALS
 
#define CONST_BITS   13
 
#define PASS1_BITS   2
 
#define FIX_0_211164243   ((INT32) 1730) /* FIX(0.211164243) */
 
#define FIX_0_509795579   ((INT32) 4176) /* FIX(0.509795579) */
 
#define FIX_0_601344887   ((INT32) 4926) /* FIX(0.601344887) */
 
#define FIX_0_720959822   ((INT32) 5906) /* FIX(0.720959822) */
 
#define FIX_0_765366865   ((INT32) 6270) /* FIX(0.765366865) */
 
#define FIX_0_850430095   ((INT32) 6967) /* FIX(0.850430095) */
 
#define FIX_0_899976223   ((INT32) 7373) /* FIX(0.899976223) */
 
#define FIX_1_061594337   ((INT32) 8697) /* FIX(1.061594337) */
 
#define FIX_1_272758580   ((INT32) 10426) /* FIX(1.272758580) */
 
#define FIX_1_451774981   ((INT32) 11893) /* FIX(1.451774981) */
 
#define FIX_1_847759065   ((INT32) 15137) /* FIX(1.847759065) */
 
#define FIX_2_172734803   ((INT32) 17799) /* FIX(2.172734803) */
 
#define FIX_2_562915447   ((INT32) 20995) /* FIX(2.562915447) */
 
#define FIX_3_624509785   ((INT32) 29692) /* FIX(3.624509785) */
 
#define MULTIPLY(var, const)   MULTIPLY16C16(var,const)
 
#define DEQUANTIZE(coef, quantval)   (((ISLOW_MULT_TYPE) (coef)) * (quantval))
 

Functions

 jpeg_idct_4x4 (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_1x1 (j_decompress_ptr cinfo, jpeg_component_info *compptr, JCOEFPTR coef_block, JSAMPARRAY output_buf, JDIMENSION output_col)
 

Macro Definition Documentation

#define CONST_BITS   13

Definition at line 30 of file jidctred.cpp.

Referenced by jpeg_idct_2x2(), and jpeg_idct_4x4().

#define DEQUANTIZE (   coef,
  quantval 
)    (((ISLOW_MULT_TYPE) (coef)) * (quantval))

Definition at line 96 of file jidctred.cpp.

Referenced by jpeg_idct_1x1(), jpeg_idct_2x2(), and jpeg_idct_4x4().

#define FIX_0_211164243   ((INT32) 1730) /* FIX(0.211164243) */

Definition at line 45 of file jidctred.cpp.

Referenced by jpeg_idct_4x4().

#define FIX_0_509795579   ((INT32) 4176) /* FIX(0.509795579) */

Definition at line 46 of file jidctred.cpp.

Referenced by jpeg_idct_4x4().

#define FIX_0_601344887   ((INT32) 4926) /* FIX(0.601344887) */

Definition at line 47 of file jidctred.cpp.

Referenced by jpeg_idct_4x4().

#define FIX_0_720959822   ((INT32) 5906) /* FIX(0.720959822) */

Definition at line 48 of file jidctred.cpp.

Referenced by jpeg_idct_2x2().

#define FIX_0_765366865   ((INT32) 6270) /* FIX(0.765366865) */

Definition at line 49 of file jidctred.cpp.

Referenced by jpeg_idct_4x4().

#define FIX_0_850430095   ((INT32) 6967) /* FIX(0.850430095) */

Definition at line 50 of file jidctred.cpp.

Referenced by jpeg_idct_2x2().

#define FIX_0_899976223   ((INT32) 7373) /* FIX(0.899976223) */

Definition at line 51 of file jidctred.cpp.

Referenced by jpeg_idct_4x4().

#define FIX_1_061594337   ((INT32) 8697) /* FIX(1.061594337) */

Definition at line 52 of file jidctred.cpp.

Referenced by jpeg_idct_4x4().

#define FIX_1_272758580   ((INT32) 10426) /* FIX(1.272758580) */

Definition at line 53 of file jidctred.cpp.

Referenced by jpeg_idct_2x2().

#define FIX_1_451774981   ((INT32) 11893) /* FIX(1.451774981) */

Definition at line 54 of file jidctred.cpp.

Referenced by jpeg_idct_4x4().

#define FIX_1_847759065   ((INT32) 15137) /* FIX(1.847759065) */

Definition at line 55 of file jidctred.cpp.

Referenced by jpeg_idct_4x4().

#define FIX_2_172734803   ((INT32) 17799) /* FIX(2.172734803) */

Definition at line 56 of file jidctred.cpp.

Referenced by jpeg_idct_4x4().

#define FIX_2_562915447   ((INT32) 20995) /* FIX(2.562915447) */

Definition at line 57 of file jidctred.cpp.

Referenced by jpeg_idct_4x4().

#define FIX_3_624509785   ((INT32) 29692) /* FIX(3.624509785) */

Definition at line 58 of file jidctred.cpp.

Referenced by jpeg_idct_2x2().

#define JPEG_INTERNALS

Definition at line 10 of file jidctred.cpp.

#define MULTIPLY (   var,
  const 
)    MULTIPLY16C16(var,const)

Definition at line 85 of file jidctred.cpp.

Referenced by jpeg_idct_2x2(), and jpeg_idct_4x4().

#define PASS1_BITS   2

Definition at line 31 of file jidctred.cpp.

Referenced by jpeg_idct_2x2(), and jpeg_idct_4x4().

Function Documentation

jpeg_idct_1x1 ( j_decompress_ptr  cinfo,
jpeg_component_info compptr,
JCOEFPTR  coef_block,
JSAMPARRAY  output_buf,
JDIMENSION  output_col 
)

Definition at line 366 of file jidctred.cpp.

References DEQUANTIZE, DESCALE, IDCT_range_limit, int(), output_col, RANGE_MASK, 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 
)
jpeg_idct_4x4 ( j_decompress_ptr  cinfo,
jpeg_component_info compptr,
JCOEFPTR  coef_block,
JSAMPARRAY  output_buf,
JDIMENSION  output_col 
)



Page generated by Doxygen 1.8.6 for MRPT 1.5.6 Git: 4c65e84 Tue Apr 24 08:18:17 2018 +0200 at mar abr 24 08:26:17 CEST 2018