Atmel Software Framework

jdct.h File Reference

Macros

#define CONST_SCALE   (ONE << CONST_BITS)
 
#define DESCALE(x, n)   RIGHT_SHIFT((x) + (ONE << ((n)-1)), n)
 
#define FIX(x)   ((INT32) ((x) * CONST_SCALE + 0.5))
 
#define IDCT_range_limit(cinfo)   ((cinfo)->sample_range_limit + CENTERJSAMPLE)
 
#define IFAST_SCALE_BITS   13 /* fractional bits in scale factors */
 
#define MULTIPLY16C16(var, const)   ((var) * (const))
 
#define MULTIPLY16V16(var1, var2)   ((var1) * (var2))
 
#define ONE   ((INT32) 1)
 
#define RANGE_MASK   (MAXJSAMPLE * 4 + 3) /* 2 bits wider than legal samples */
 

Typedefs

typedef INT32 DCTELEM
 
typedef FAST_FLOAT FLOAT_MULT_TYPE
 
typedef INT32 IFAST_MULT_TYPE
 
typedef MULTIPLIER ISLOW_MULT_TYPE
 

Functions

 EXTERN (void) jpeg_fdct_islow JPP((DCTELEM *data))
 
typedef JMETHOD (void, forward_DCT_method_ptr,(DCTELEM *data))
 
typedef JMETHOD (void, float_DCT_method_ptr,(FAST_FLOAT *data))
 

Variables

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

#define CONST_SCALE   (ONE << CONST_BITS)
#define DESCALE (   x,
  n 
)    RIGHT_SHIFT((x) + (ONE << ((n)-1)), n)
#define FIX (   x)    ((INT32) ((x) * CONST_SCALE + 0.5))
#define IFAST_SCALE_BITS   13 /* fractional bits in scale factors */

Referenced by start_pass().

#define MULTIPLY16C16 (   var,
  const 
)    ((var) * (const))
#define MULTIPLY16V16 (   var1,
  var2 
)    ((var1) * (var2))

Referenced by start_pass(), and start_pass_fdctmgr().

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

typedef INT32 DCTELEM
typedef FAST_FLOAT FLOAT_MULT_TYPE
typedef MULTIPLIER ISLOW_MULT_TYPE

EXTERN ( void  )
typedef JMETHOD ( void  ,
forward_DCT_method_ptr  ,
(DCTELEM *data  
)
typedef JMETHOD ( void  ,
float_DCT_method_ptr  ,
(FAST_FLOAT *data  
)