Main MRPT website > C++ reference for MRPT 1.5.9
Macros | Typedefs | Functions | Variables
jdct.h File Reference
This graph shows which files directly or indirectly include this file:

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))
 

Variables

jpeg_component_infocompptr
 
jpeg_component_info JCOEFPTR coef_block
 
jpeg_component_info JCOEFPTR JSAMPARRAY output_buf
 
jpeg_component_info JCOEFPTR JSAMPARRAY JDIMENSION output_col
 

Macro Definition Documentation

◆ CONST_SCALE

#define CONST_SCALE   (ONE << CONST_BITS)

Definition at line 127 of file jdct.h.

◆ DESCALE

#define DESCALE (   x,
  n 
)    RIGHT_SHIFT((x) + (ONE << ((n)-1)), n)

◆ FIX

#define FIX (   x)    ((INT32) ((x) * CONST_SCALE + 0.5))

Definition at line 134 of file jdct.h.

◆ IDCT_range_limit

#define IDCT_range_limit (   cinfo)    ((cinfo)->sample_range_limit + CENTERJSAMPLE)

◆ IFAST_SCALE_BITS

#define IFAST_SCALE_BITS   13 /* fractional bits in scale factors */

Definition at line 57 of file jdct.h.

Referenced by start_pass().

◆ MULTIPLY16C16

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

Definition at line 160 of file jdct.h.

◆ MULTIPLY16V16

#define MULTIPLY16V16 (   var1,
  var2 
)    ((var1) * (var2))

Definition at line 170 of file jdct.h.

Referenced by start_pass(), and start_pass_fdctmgr().

◆ ONE

#define ONE   ((INT32) 1)

Definition at line 126 of file jdct.h.

◆ RANGE_MASK

#define RANGE_MASK   (MAXJSAMPLE * 4 + 3) /* 2 bits wider than legal samples */

Typedef Documentation

◆ DCTELEM

typedef INT32 DCTELEM

Definition at line 27 of file jdct.h.

◆ FLOAT_MULT_TYPE

typedef FAST_FLOAT FLOAT_MULT_TYPE

Definition at line 59 of file jdct.h.

◆ IFAST_MULT_TYPE

Definition at line 56 of file jdct.h.

◆ ISLOW_MULT_TYPE

typedef MULTIPLIER ISLOW_MULT_TYPE

Definition at line 51 of file jdct.h.

Function Documentation

◆ EXTERN()

EXTERN ( void  )

◆ JMETHOD() [1/2]

typedef JMETHOD ( void  ,
forward_DCT_method_ptr  ,
(DCTELEM *data  
)

◆ JMETHOD() [2/2]

typedef JMETHOD ( void  ,
float_DCT_method_ptr  ,
(FAST_FLOAT *data  
)

Variable Documentation

◆ coef_block

◆ compptr

◆ output_buf

Definition at line 97 of file jdct.h.

◆ output_col




Page generated by Doxygen 1.8.14 for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020