ReactOS 0.4.16-dev-297-gc569aee
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 RANGE_MASK   (RANGE_CENTER * 2 - 1)
 
#define RANGE_SUBSET   (RANGE_CENTER - CENTERJSAMPLE)
 
#define IDCT_range_limit(cinfo)   ((cinfo)->sample_range_limit - RANGE_SUBSET)
 
#define ONE   ((INT32) 1)
 
#define CONST_SCALE   (ONE << CONST_BITS)
 
#define FIX(x)   ((INT32) ((x) * CONST_SCALE + 0.5))
 
#define MULTIPLY16C16(var, const)   ((var) * (const))
 
#define MULTIPLY16V16(var1, var2)   ((var1) * (var2))
 
#define ISHIFT_TEMPS
 
#define IRIGHT_SHIFT(x, shft)   ((x) >> (shft))
 

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, JSAMPARRAY sample_data, JDIMENSION start_col))
 
typedef JMETHOD (void, float_DCT_method_ptr,(FAST_FLOAT *data, JSAMPARRAY sample_data, JDIMENSION start_col))
 
 EXTERN (void) jpeg_fdct_islow JPP((DCTELEM *data
 

Variables

JSAMPARRAY sample_data
 
JSAMPARRAY JDIMENSION start_col
 
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 352 of file jdct.h.

◆ FIX

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

Definition at line 359 of file jdct.h.

◆ IDCT_range_limit

#define IDCT_range_limit (   cinfo)    ((cinfo)->sample_range_limit - RANGE_SUBSET)

Definition at line 90 of file jdct.h.

◆ IFAST_SCALE_BITS

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

Definition at line 72 of file jdct.h.

◆ IRIGHT_SHIFT

#define IRIGHT_SHIFT (   x,
  shft 
)    ((x) >> (shft))

Definition at line 408 of file jdct.h.

◆ ISHIFT_TEMPS

#define ISHIFT_TEMPS

Definition at line 407 of file jdct.h.

◆ MULTIPLY16C16

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

Definition at line 378 of file jdct.h.

◆ MULTIPLY16V16

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

Definition at line 388 of file jdct.h.

◆ ONE

#define ONE   ((INT32) 1)

Definition at line 351 of file jdct.h.

◆ RANGE_MASK

#define RANGE_MASK   (RANGE_CENTER * 2 - 1)

Definition at line 87 of file jdct.h.

◆ RANGE_SUBSET

#define RANGE_SUBSET   (RANGE_CENTER - CENTERJSAMPLE)

Definition at line 88 of file jdct.h.

Typedef Documentation

◆ DCTELEM

typedef INT32 DCTELEM

Definition at line 38 of file jdct.h.

◆ FLOAT_MULT_TYPE

typedef FAST_FLOAT FLOAT_MULT_TYPE

Definition at line 74 of file jdct.h.

◆ IFAST_MULT_TYPE

Definition at line 71 of file jdct.h.

◆ ISLOW_MULT_TYPE

typedef MULTIPLIER ISLOW_MULT_TYPE

Definition at line 66 of file jdct.h.

Function Documentation

◆ EXTERN()

EXTERN ( void  )

◆ JMETHOD() [1/2]

typedef JMETHOD ( void  ,
float_DCT_method_ptr  ,
(FAST_FLOAT *data, JSAMPARRAY sample_data, JDIMENSION start_col  
)

◆ JMETHOD() [2/2]

typedef JMETHOD ( void  ,
forward_DCT_method_ptr  ,
(DCTELEM *data, JSAMPARRAY sample_data, JDIMENSION start_col  
)

Variable Documentation

◆ coef_block

Definition at line 239 of file jdct.h.

◆ compptr

◆ output_buf

◆ output_col

Definition at line 239 of file jdct.h.

Referenced by decompress_onepass().

◆ sample_data

JSAMPARRAY sample_data

Definition at line 169 of file jdct.h.

Referenced by forward_DCT().

◆ start_col

Definition at line 169 of file jdct.h.

Referenced by compress_output(), decompress_onepass(), and forward_DCT().