Microchip® Advanced Software Framework

jpegint.h File Reference

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
 

Macros

#define CSTATE_RAW_OK   102 /* start_compress done, write_raw_data OK */
 
#define CSTATE_SCANNING   101 /* start_compress done, write_scanlines OK */
 
#define CSTATE_START   100 /* after create_compress */
 
#define CSTATE_WRCOEFS   103 /* jpeg_write_coefficients done */
 
#define DSTATE_BUFIMAGE   207 /* expecting jpeg_start_output */
 
#define DSTATE_BUFPOST   208 /* looking for SOS/EOI in jpeg_finish_output */
 
#define DSTATE_INHEADER   201 /* reading header markers, no SOS yet */
 
#define DSTATE_PRELOAD   203 /* reading multiscan file in start_decompress*/
 
#define DSTATE_PRESCAN   204 /* performing dummy pass for 2-pass quant */
 
#define DSTATE_RAW_OK   206 /* start_decompress done, read_raw_data OK */
 
#define DSTATE_RDCOEFS   209 /* reading file in jpeg_read_coefficients */
 
#define DSTATE_READY   202 /* found SOS, ready for start_decompress */
 
#define DSTATE_SCANNING   205 /* start_decompress done, read_scanlines OK */
 
#define DSTATE_START   200 /* after create_decompress */
 
#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 RIGHT_SHIFT(x, shft)   ((x) >> (shft))
 
#define SHIFT_TEMPS
 

Enumerations

enum  J_BUF_MODE {
  JBUF_PASS_THRU,
  JBUF_SAVE_SOURCE,
  JBUF_CRANK_DEST,
  JBUF_SAVE_AND_PASS
}
 

Functions

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

Variables

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

#define CSTATE_RAW_OK   102 /* start_compress done, write_raw_data OK */
#define CSTATE_SCANNING   101 /* start_compress done, write_scanlines OK */
#define CSTATE_START   100 /* after create_compress */
#define CSTATE_WRCOEFS   103 /* jpeg_write_coefficients done */
#define DSTATE_BUFIMAGE   207 /* expecting jpeg_start_output */
#define DSTATE_BUFPOST   208 /* looking for SOS/EOI in jpeg_finish_output */
#define DSTATE_INHEADER   201 /* reading header markers, no SOS yet */
#define DSTATE_PRELOAD   203 /* reading multiscan file in start_decompress*/
#define DSTATE_PRESCAN   204 /* performing dummy pass for 2-pass quant */
#define DSTATE_RAW_OK   206 /* start_decompress done, read_raw_data OK */
#define DSTATE_RDCOEFS   209 /* reading file in jpeg_read_coefficients */
#define DSTATE_READY   202 /* found SOS, ready for start_decompress */
#define DSTATE_SCANNING   205 /* start_decompress done, read_scanlines OK */
#define DSTATE_START   200 /* after create_decompress */
#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 RIGHT_SHIFT (   x,
  shft 
)    ((x) >> (shft))
#define SHIFT_TEMPS

enum J_BUF_MODE
Enumerator
JBUF_PASS_THRU 
JBUF_SAVE_SOURCE 
JBUF_CRANK_DEST 
JBUF_SAVE_AND_PASS 

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

long b

Referenced by mspace_malloc().

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