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  

jpegint.h File Reference

Go to the source code of this file.


Data Structures

struct  jpeg_c_coef_controller
struct  jpeg_c_main_controller
struct  jpeg_c_prep_controller
struct  jpeg_color_converter
struct  jpeg_color_deconverter
struct  jpeg_color_quantizer
struct  jpeg_comp_master
struct  jpeg_d_coef_controller
struct  jpeg_d_main_controller
struct  jpeg_d_post_controller
struct  jpeg_decomp_master
struct  jpeg_downsampler
struct  jpeg_entropy_decoder
struct  jpeg_entropy_encoder
struct  jpeg_forward_dct
struct  jpeg_input_controller
struct  jpeg_inverse_dct
struct  jpeg_marker_reader
struct  jpeg_marker_writer
struct  jpeg_upsampler

Defines

#define CSTATE_START   100
#define CSTATE_SCANNING   101
#define CSTATE_RAW_OK   102
#define CSTATE_WRCOEFS   103
#define DSTATE_START   200
#define DSTATE_INHEADER   201
#define DSTATE_READY   202
#define DSTATE_PRELOAD   203
#define DSTATE_PRESCAN   204
#define DSTATE_SCANNING   205
#define DSTATE_RAW_OK   206
#define DSTATE_BUFIMAGE   207
#define DSTATE_BUFPOST   208
#define DSTATE_RDCOEFS   209
#define DSTATE_STOPPING   210
#define MAX(a, b)   ((a) > (b) ? (a) : (b))
#define MIN(a, b)   ((a) < (b) ? (a) : (b))
#define SHIFT_TEMPS
#define RIGHT_SHIFT(x, shft)   ((x) >> (shft))

Enumerations

enum  J_BUF_MODE { JBUF_PASS_THRU, JBUF_SAVE_SOURCE, JBUF_CRANK_DEST, JBUF_SAVE_AND_PASS }

Functions

typedef JMETHOD (void, inverse_DCT_method_ptr,(j_decompress_ptr cinfo, jpeg_component_info *compptr, JCOEFPTR coef_block, JSAMPARRAY output_buf, JDIMENSION output_col))
 EXTERN (void) jinit_compress_master JPP((j_compress_ptr cinfo))
 EXTERN (long) jdiv_round_up JPP((long a

Variables

boolean transcode_only
boolean need_full_buffer
long b
int source_row
int JSAMPARRAY output_array
int JSAMPARRAY int dest_row
int JSAMPARRAY int int num_rows
int JSAMPARRAY int int JDIMENSION num_cols
JBLOCKROW output_row
JBLOCKROW JDIMENSION num_blocks
size_t bytestozero
const int jpeg_natural_order []

Define Documentation

#define CSTATE_RAW_OK   102
 

Definition at line 27 of file jpegint.h.

Referenced by jpeg_finish_compress(), jpeg_start_compress(), jpeg_write_m_header(), jpeg_write_marker(), and jpeg_write_raw_data().

#define CSTATE_SCANNING   101
 

Definition at line 26 of file jpegint.h.

Referenced by jpeg_finish_compress(), jpeg_start_compress(), jpeg_write_m_header(), jpeg_write_marker(), and jpeg_write_scanlines().

#define CSTATE_START   100
 

Definition at line 25 of file jpegint.h.

Referenced by jpeg_abort(), jpeg_add_quant_table(), jpeg_copy_critical_parameters(), jpeg_CreateCompress(), jpeg_set_colorspace(), jpeg_set_defaults(), jpeg_simple_progression(), jpeg_start_compress(), jpeg_write_coefficients(), and jpeg_write_tables().

#define CSTATE_WRCOEFS   103
 

Definition at line 28 of file jpegint.h.

Referenced by jpeg_finish_compress(), jpeg_write_coefficients(), jpeg_write_m_header(), and jpeg_write_marker().

#define DSTATE_BUFIMAGE   207
 

Definition at line 36 of file jpegint.h.

Referenced by jpeg_consume_input(), jpeg_finish_decompress(), jpeg_finish_output(), jpeg_new_colormap(), jpeg_read_coefficients(), jpeg_start_decompress(), and jpeg_start_output().

#define DSTATE_BUFPOST   208
 

Definition at line 37 of file jpegint.h.

Referenced by jpeg_consume_input(), and jpeg_finish_output().

#define DSTATE_INHEADER   201
 

Definition at line 30 of file jpegint.h.

Referenced by jpeg_consume_input(), and jpeg_read_header().

#define DSTATE_PRELOAD   203
 

Definition at line 32 of file jpegint.h.

Referenced by jpeg_consume_input(), and jpeg_start_decompress().

#define DSTATE_PRESCAN   204
 

Definition at line 33 of file jpegint.h.

Referenced by jpeg_consume_input(), jpeg_start_decompress(), jpeg_start_output(), and output_pass_setup().

#define DSTATE_RAW_OK   206
 

Definition at line 35 of file jpegint.h.

Referenced by jpeg_consume_input(), jpeg_finish_decompress(), jpeg_finish_output(), jpeg_read_raw_data(), and output_pass_setup().

#define DSTATE_RDCOEFS   209
 

Definition at line 38 of file jpegint.h.

Referenced by jpeg_read_coefficients().

#define DSTATE_READY   202
 

Definition at line 31 of file jpegint.h.

Referenced by jpeg_calc_output_dimensions(), jpeg_consume_input(), jpeg_has_multiple_scans(), jpeg_read_coefficients(), and jpeg_start_decompress().

#define DSTATE_SCANNING   205
 

Definition at line 34 of file jpegint.h.

Referenced by jpeg_consume_input(), jpeg_finish_decompress(), jpeg_finish_output(), jpeg_read_scanlines(), and output_pass_setup().

#define DSTATE_START   200
 

Definition at line 29 of file jpegint.h.

Referenced by jpeg_abort(), jpeg_consume_input(), jpeg_CreateDecompress(), jpeg_input_complete(), and jpeg_read_header().

#define DSTATE_STOPPING   210
 

Definition at line 39 of file jpegint.h.

Referenced by jpeg_consume_input(), jpeg_finish_decompress(), jpeg_has_multiple_scans(), jpeg_input_complete(), and jpeg_read_coefficients().

#define MAX a,
b       ((a) > (b) ? (a) : (b))
 

Definition at line 267 of file jpegint.h.

#define MIN a,
b       ((a) < (b) ? (a) : (b))
 

Definition at line 269 of file jpegint.h.

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

Definition at line 290 of file jpegint.h.

Referenced by build_ycc_rgb_table(), h2v1_merged_upsample(), h2v2_merged_upsample(), pass2_fs_dither(), quantize_fs_dither(), ycc_rgb_convert(), and ycck_cmyk_convert().

#define SHIFT_TEMPS
 

Definition at line 289 of file jpegint.h.


Enumeration Type Documentation

enum J_BUF_MODE
 

Enumeration values:
JBUF_PASS_THRU 
JBUF_SAVE_SOURCE 
JBUF_CRANK_DEST 
JBUF_SAVE_AND_PASS 

Definition at line 16 of file jpegint.h.

Referenced by start_pass_coef(), start_pass_dpost(), start_pass_main(), and start_pass_prep().

00016              {                  /* Operating modes for buffer controllers */
00017         JBUF_PASS_THRU,         /* Plain stripwise operation */
00018         /* Remaining modes require a full-image buffer to have been created */
00019         JBUF_SAVE_SOURCE,       /* Run source subobject only, save output */
00020         JBUF_CRANK_DEST,        /* Run dest subobject only, using saved data */
00021         JBUF_SAVE_AND_PASS      /* Run both subobjects, save output */
00022 } J_BUF_MODE;

Function Documentation

EXTERN long   
 

EXTERN void   
 

typedef JMETHOD void   ,
inverse_DCT_method_ptr   ,
(j_decompress_ptr cinfo, jpeg_component_info *compptr, JCOEFPTR coef_block, JSAMPARRAY output_buf, JDIMENSION output_col  
 


Variable Documentation

long b
 

Definition at line 372 of file jpegint.h.

size_t bytestozero
 

Definition at line 378 of file jpegint.h.

Referenced by jzero_far().

int JSAMPARRAY int dest_row
 

Definition at line 373 of file jpegint.h.

Referenced by jcopy_sample_rows().

const int jpeg_natural_order[]
 

Definition at line 383 of file jpegint.h.

boolean need_full_buffer
 

Definition at line 356 of file jpegint.h.

Referenced by jinit_c_coef_controller(), jinit_c_main_controller(), jinit_c_prep_controller(), jinit_d_coef_controller(), jinit_d_main_controller(), and jinit_d_post_controller().

JBLOCKROW JDIMENSION num_blocks
 

Definition at line 376 of file jpegint.h.

int JSAMPARRAY int int JDIMENSION num_cols
 

Definition at line 373 of file jpegint.h.

Referenced by cmyk_ycck_convert(), expand_bottom_edge(), gray_rgb_convert(), grayscale_convert(), jcopy_sample_rows(), null_convert(), rgb_gray_convert(), rgb_ycc_convert(), ycc_rgb_convert(), and ycck_cmyk_convert().

int JSAMPARRAY int int num_rows
 

Definition at line 373 of file jpegint.h.

Referenced by access_virt_barray(), access_virt_sarray(), cmyk_ycck_convert(), color_quantize(), color_quantize3(), expand_right_edge(), gray_rgb_convert(), grayscale_convert(), jcopy_sample_rows(), merged_2v_upsample(), null_convert(), pass2_fs_dither(), pass2_no_dither(), post_process_1pass(), post_process_2pass(), post_process_prepass(), prescan_quantize(), quantize3_ord_dither(), quantize_fs_dither(), quantize_ord_dither(), rgb_gray_convert(), rgb_ycc_convert(), sep_upsample(), ycc_rgb_convert(), and ycck_cmyk_convert().

int JSAMPARRAY output_array
 

Definition at line 373 of file jpegint.h.

Referenced by jcopy_sample_rows().

JBLOCKROW output_row
 

Definition at line 376 of file jpegint.h.

Referenced by cmyk_ycck_convert(), grayscale_convert(), jcopy_block_row(), null_convert(), rgb_gray_convert(), and rgb_ycc_convert().

int source_row
 

Definition at line 373 of file jpegint.h.

Referenced by jcopy_sample_rows().

boolean transcode_only
 

Definition at line 336 of file jpegint.h.

Referenced by jinit_c_master_control().

 

Powered by Plone

This site conforms to the following standards: