COSMOS core  1.0.2 (beta)
Comprehensive Open-architecture Solution for Mission Operations Systems
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 (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 []
 

Macro Definition Documentation

#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))

Enumeration Type Documentation

enum J_BUF_MODE
Enumerator
JBUF_PASS_THRU 
JBUF_SAVE_SOURCE 
JBUF_CRANK_DEST 
JBUF_SAVE_AND_PASS 
16  { /* Operating modes for buffer controllers */
17  JBUF_PASS_THRU, /* Plain stripwise operation */
18  /* Remaining modes require a full-image buffer to have been created */
19  JBUF_SAVE_SOURCE, /* Run source subobject only, save output */
20  JBUF_CRANK_DEST, /* Run dest subobject only, using saved data */
21  JBUF_SAVE_AND_PASS /* Run both subobjects, save output */
22 } J_BUF_MODE;
Definition: jpegint.h:20
Definition: jpegint.h:21
Definition: jpegint.h:19
J_BUF_MODE
Definition: jpegint.h:16
Definition: jpegint.h:17

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  )
EXTERN ( long  )

Variable Documentation

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[]