doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros | Enumerations | Functions | Variables
jpegint.h File Reference

Go to the source code of this file.

Classes

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

Macros

#define CSTATE_START   100 /* after create_compress */
 
#define CSTATE_SCANNING   101 /* start_compress done, write_scanlines OK */
 
#define CSTATE_RAW_OK   102 /* start_compress done, write_raw_data OK */
 
#define CSTATE_WRCOEFS   103 /* jpeg_write_coefficients done */
 
#define DSTATE_START   200 /* after create_decompress */
 
#define DSTATE_INHEADER   201 /* reading header markers, no SOS yet */
 
#define DSTATE_READY   202 /* found SOS, ready for start_decompress */
 
#define DSTATE_PRELOAD   203 /* reading multiscan file in start_decompress*/
 
#define DSTATE_PRESCAN   204 /* performing dummy pass for 2-pass quant */
 
#define DSTATE_SCANNING   205 /* start_decompress done, read_scanlines OK */
 
#define DSTATE_RAW_OK   206 /* start_decompress done, read_raw_data OK */
 
#define DSTATE_BUFIMAGE   207 /* expecting jpeg_start_output */
 
#define DSTATE_BUFPOST   208 /* looking for SOS/EOI in jpeg_finish_output */
 
#define DSTATE_RDCOEFS   209 /* reading file in jpeg_read_coefficients */
 
#define DSTATE_STOPPING   210 /* looking for EOI in jpeg_finish_decompress */
 
#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 void jinit_c_master_control JPP ((j_compress_ptr cinfo, boolean transcode_only))
 
EXTERN void jinit_c_main_controller JPP ((j_compress_ptr cinfo, boolean need_full_buffer))
 
EXTERN void jinit_master_decompress JPP ((j_decompress_ptr cinfo))
 
EXTERN void jinit_d_main_controller JPP ((j_decompress_ptr cinfo, boolean need_full_buffer))
 
EXTERN void jinit_memory_mgr JPP ((j_common_ptr cinfo))
 
EXTERN long jdiv_round_up JPP ((long a, long b))
 
EXTERN void jcopy_sample_rows JPP ((JSAMPARRAY input_array, int source_row, JSAMPARRAY output_array, int dest_row, int num_rows, JDIMENSION num_cols))
 
EXTERN void jcopy_block_row JPP ((JBLOCKROW input_row, JBLOCKROW output_row, JDIMENSION num_blocks))
 
EXTERN void jzero_far JPP ((void FAR *target, size_t bytestozero))
 

Variables

const int jpeg_zigzag_order []
 
const int jpeg_natural_order []
 

Macro Definition Documentation

#define CSTATE_RAW_OK   102 /* start_compress done, write_raw_data OK */

Definition at line 27 of file jpegint.h.

#define CSTATE_SCANNING   101 /* start_compress done, write_scanlines OK */

Definition at line 26 of file jpegint.h.

#define CSTATE_START   100 /* after create_compress */

Definition at line 25 of file jpegint.h.

#define CSTATE_WRCOEFS   103 /* jpeg_write_coefficients done */

Definition at line 28 of file jpegint.h.

#define DSTATE_BUFIMAGE   207 /* expecting jpeg_start_output */

Definition at line 36 of file jpegint.h.

#define DSTATE_BUFPOST   208 /* looking for SOS/EOI in jpeg_finish_output */

Definition at line 37 of file jpegint.h.

#define DSTATE_INHEADER   201 /* reading header markers, no SOS yet */

Definition at line 30 of file jpegint.h.

#define DSTATE_PRELOAD   203 /* reading multiscan file in start_decompress*/

Definition at line 32 of file jpegint.h.

#define DSTATE_PRESCAN   204 /* performing dummy pass for 2-pass quant */

Definition at line 33 of file jpegint.h.

#define DSTATE_RAW_OK   206 /* start_decompress done, read_raw_data OK */

Definition at line 35 of file jpegint.h.

#define DSTATE_RDCOEFS   209 /* reading file in jpeg_read_coefficients */

Definition at line 38 of file jpegint.h.

#define DSTATE_READY   202 /* found SOS, ready for start_decompress */

Definition at line 31 of file jpegint.h.

#define DSTATE_SCANNING   205 /* start_decompress done, read_scanlines OK */

Definition at line 34 of file jpegint.h.

#define DSTATE_START   200 /* after create_decompress */

Definition at line 29 of file jpegint.h.

#define DSTATE_STOPPING   210 /* looking for EOI in jpeg_finish_decompress */

Definition at line 39 of file jpegint.h.

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

Definition at line 265 of file jpegint.h.

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

Definition at line 267 of file jpegint.h.

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

Definition at line 288 of file jpegint.h.

#define SHIFT_TEMPS

Definition at line 287 of file jpegint.h.

Enumeration Type Documentation

enum J_BUF_MODE
Enumerator
JBUF_PASS_THRU 
JBUF_SAVE_SOURCE 
JBUF_CRANK_DEST 
JBUF_SAVE_AND_PASS 

Definition at line 16 of file jpegint.h.

Function Documentation

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_c_master_control JPP ( (j_compress_ptr cinfo, boolean transcode_only)  )
EXTERN void jinit_c_coef_controller JPP ( (j_compress_ptr cinfo, boolean need_full_buffer)  )
EXTERN void jinit_d_post_controller JPP ( (j_decompress_ptr cinfo, boolean need_full_buffer)  )
EXTERN long jround_up JPP ( (long a, long b )
EXTERN void jcopy_sample_rows JPP ( (JSAMPARRAY input_array, int source_row, JSAMPARRAY output_array, int dest_row, int num_rows, JDIMENSION num_cols)  )
EXTERN void jcopy_block_row JPP ( (JBLOCKROW input_row, JBLOCKROW output_row, JDIMENSION num_blocks)  )
EXTERN void jzero_far JPP ( (void FAR *target, size_t bytestozero)  )

Variable Documentation

const int jpeg_natural_order[]

Definition at line 49 of file jutils.c.

const int jpeg_zigzag_order[]

Definition at line 24 of file jutils.c.