Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search  

jdct.h File Reference

Go to the source code of this file.


Defines

#define IFAST_SCALE_BITS   13
#define IDCT_range_limit(cinfo)   ((cinfo)->sample_range_limit + CENTERJSAMPLE)
#define RANGE_MASK   (MAXJSAMPLE * 4 + 3)
#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

Define Documentation

#define CONST_SCALE   (ONE << CONST_BITS)
 

Definition at line 132 of file jdct.h.

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

Definition at line 146 of file jdct.h.

Referenced by jpeg_fdct_islow(), jpeg_idct_1x1(), jpeg_idct_2x2(), jpeg_idct_4x4(), jpeg_idct_float(), jpeg_idct_islow(), start_pass(), and start_pass_fdctmgr().

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

Definition at line 139 of file jdct.h.

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

Definition at line 76 of file jdct.h.

Referenced by jpeg_idct_1x1(), jpeg_idct_2x2(), jpeg_idct_4x4(), jpeg_idct_float(), jpeg_idct_ifast(), and jpeg_idct_islow().

#define IFAST_SCALE_BITS   13
 

Definition at line 62 of file jdct.h.

Referenced by start_pass().

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

Definition at line 165 of file jdct.h.

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

Definition at line 175 of file jdct.h.

Referenced by start_pass(), and start_pass_fdctmgr().

#define ONE   ((INT32) 1)
 

Definition at line 131 of file jdct.h.

#define RANGE_MASK   (MAXJSAMPLE * 4 + 3)
 

Definition at line 78 of file jdct.h.

Referenced by jpeg_idct_1x1(), jpeg_idct_2x2(), jpeg_idct_4x4(), jpeg_idct_float(), jpeg_idct_ifast(), and jpeg_idct_islow().


Typedef Documentation

typedef INT32 DCTELEM
 

Definition at line 32 of file jdct.h.

typedef FAST_FLOAT FLOAT_MULT_TYPE
 

Definition at line 64 of file jdct.h.

Referenced by jpeg_idct_float(), and start_pass().

typedef INT32 IFAST_MULT_TYPE
 

Definition at line 61 of file jdct.h.

Referenced by jpeg_idct_ifast(), and start_pass().

typedef MULTIPLIER ISLOW_MULT_TYPE
 

Definition at line 56 of file jdct.h.

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


Function Documentation

EXTERN void   
 

typedef JMETHOD void   ,
float_DCT_method_ptr   ,
(FAST_FLOAT *data  
 

typedef JMETHOD void   ,
forward_DCT_method_ptr   ,
(DCTELEM *data  
 


Variable Documentation

jpeg_component_info JCOEFPTR coef_block
 

Definition at line 117 of file jdct.h.

Referenced by jpeg_idct_1x1(), jpeg_idct_2x2(), jpeg_idct_4x4(), jpeg_idct_float(), jpeg_idct_ifast(), and jpeg_idct_islow().

jpeg_component_info * compptr
 

Definition at line 117 of file jdct.h.

Referenced by alloc_funny_pointers(), compress_data(), compress_first_pass(), compress_output(), consume_data(), create_context_buffer(), decode_mcu_DC_first(), decompress_data(), decompress_onepass(), decompress_smooth_data(), do_flip_h(), do_flip_v(), do_rot_180(), do_rot_270(), do_rot_90(), do_transpose(), do_transverse(), emit_dac(), emit_sof(), emit_sos(), encode_mcu_DC_first(), encode_mcu_gather(), encode_mcu_huff(), finish_pass_gather(), finish_pass_gather_phuff(), forward_DCT(), forward_DCT_float(), fullsize_downsample(), fullsize_smooth_downsample(), fullsize_upsample(), get_sof(), get_sos(), h2v1_downsample(), h2v1_fancy_upsample(), h2v1_upsample(), h2v2_downsample(), h2v2_fancy_upsample(), h2v2_smooth_downsample(), h2v2_upsample(), initial_setup(), int_downsample(), int_upsample(), jinit_c_coef_controller(), jinit_c_main_controller(), jinit_c_prep_controller(), jinit_d_coef_controller(), jinit_d_main_controller(), jinit_downsampler(), jinit_inverse_dct(), jinit_upsampler(), jpeg_calc_output_dimensions(), jpeg_idct_1x1(), jpeg_idct_2x2(), jpeg_idct_4x4(), jpeg_idct_float(), jpeg_idct_ifast(), jpeg_idct_islow(), jpeg_set_colorspace(), jtransform_request_workspace(), latch_quant_tables(), make_funny_pointers(), noop_upsample(), per_scan_setup(), pre_process_data(), sep_downsample(), sep_upsample(), set_bottom_pointers(), set_wraparound_pointers(), smoothing_ok(), start_pass(), start_pass_fdctmgr(), start_pass_huff(), start_pass_huff_decoder(), start_pass_phuff(), start_pass_phuff_decoder(), transpose_critical_parameters(), write_frame_header(), and write_scan_header().

jpeg_component_info JCOEFPTR JSAMPARRAY output_buf
 

Definition at line 117 of file jdct.h.

jpeg_component_info JCOEFPTR JSAMPARRAY JDIMENSION output_col
 

Definition at line 117 of file jdct.h.

Referenced by decompress_data(), decompress_onepass(), decompress_smooth_data(), jpeg_idct_1x1(), jpeg_idct_2x2(), jpeg_idct_4x4(), jpeg_idct_float(), jpeg_idct_ifast(), and jpeg_idct_islow().

 

Powered by Plone

This site conforms to the following standards: