ReactOS  0.4.14-dev-98-gb0d4763
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 RANGE_BITS   2
 
#define RANGE_CENTER   (CENTERJSAMPLE << RANGE_BITS)
 
#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))
 
#define FMEMZERO(target, size)   MEMZERO(target,size)
 

Enumerations

enum  J_BUF_MODE { JBUF_PASS_THRU, JBUF_SAVE_SOURCE, JBUF_CRANK_DEST, JBUF_SAVE_AND_PASS }
 

Functions

typedef JMETHOD (void, forward_DCT_ptr,(j_compress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY sample_data, JBLOCKROW coef_blocks, JDIMENSION start_row, JDIMENSION start_col, JDIMENSION num_blocks))
 
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
 
const int jpeg_natural_order []
 
const int jpeg_natural_order7 []
 
const int jpeg_natural_order6 []
 
const int jpeg_natural_order5 []
 
const int jpeg_natural_order4 []
 
const int jpeg_natural_order3 []
 
const int jpeg_natural_order2 []
 
const INT32 jpeg_aritab []
 

Macro Definition Documentation

◆ CSTATE_RAW_OK

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

Definition at line 28 of file jpegint.h.

◆ CSTATE_SCANNING

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

Definition at line 27 of file jpegint.h.

◆ CSTATE_START

#define CSTATE_START   100 /* after create_compress */

Definition at line 26 of file jpegint.h.

◆ CSTATE_WRCOEFS

#define CSTATE_WRCOEFS   103 /* jpeg_write_coefficients done */

Definition at line 29 of file jpegint.h.

◆ DSTATE_BUFIMAGE

#define DSTATE_BUFIMAGE   207 /* expecting jpeg_start_output */

Definition at line 37 of file jpegint.h.

◆ DSTATE_BUFPOST

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

Definition at line 38 of file jpegint.h.

◆ DSTATE_INHEADER

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

Definition at line 31 of file jpegint.h.

◆ DSTATE_PRELOAD

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

Definition at line 33 of file jpegint.h.

◆ DSTATE_PRESCAN

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

Definition at line 34 of file jpegint.h.

◆ DSTATE_RAW_OK

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

Definition at line 36 of file jpegint.h.

◆ DSTATE_RDCOEFS

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

Definition at line 39 of file jpegint.h.

◆ DSTATE_READY

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

Definition at line 32 of file jpegint.h.

◆ DSTATE_SCANNING

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

Definition at line 35 of file jpegint.h.

◆ DSTATE_START

#define DSTATE_START   200 /* after create_decompress */

Definition at line 30 of file jpegint.h.

◆ DSTATE_STOPPING

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

Definition at line 40 of file jpegint.h.

◆ FMEMZERO

#define FMEMZERO (   target,
  size 
)    MEMZERO(target,size)

Definition at line 361 of file jpegint.h.

◆ MAX

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

Definition at line 279 of file jpegint.h.

◆ MIN

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

Definition at line 281 of file jpegint.h.

◆ RANGE_BITS

#define RANGE_BITS   2

Definition at line 272 of file jpegint.h.

◆ RANGE_CENTER

#define RANGE_CENTER   (CENTERJSAMPLE << RANGE_BITS)

Definition at line 273 of file jpegint.h.

◆ RIGHT_SHIFT

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

Definition at line 302 of file jpegint.h.

◆ SHIFT_TEMPS

#define SHIFT_TEMPS

Definition at line 301 of file jpegint.h.

Enumeration Type Documentation

◆ J_BUF_MODE

Enumerator
JBUF_PASS_THRU 
JBUF_SAVE_SOURCE 
JBUF_CRANK_DEST 
JBUF_SAVE_AND_PASS 

Definition at line 17 of file jpegint.h.

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

Function Documentation

◆ EXTERN() [1/2]

EXTERN ( void  )

◆ EXTERN() [2/2]

EXTERN ( long  )

◆ JMETHOD() [1/2]

typedef JMETHOD ( void  ,
forward_DCT_ptr  ,
(j_compress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY sample_data, JBLOCKROW coef_blocks, JDIMENSION start_row, JDIMENSION start_col, JDIMENSION num_blocks  
)

◆ JMETHOD() [2/2]

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

◆ b

Definition at line 410 of file jpegint.h.

◆ dest_row

int JSAMPARRAY int dest_row

Definition at line 412 of file jpegint.h.

Referenced by jcopy_sample_rows().

◆ jpeg_aritab

const INT32 jpeg_aritab[]

Definition at line 31 of file jaricom.c.

Referenced by arith_decode(), and arith_encode().

◆ jpeg_natural_order

const int jpeg_natural_order[]

Definition at line 54 of file jutils.c.

Referenced by decode_mcu(), get_dqt(), initial_setup(), and jpeg_CreateCompress().

◆ jpeg_natural_order2

const int jpeg_natural_order2[]

Definition at line 112 of file jutils.c.

Referenced by get_dqt(), and initial_setup().

◆ jpeg_natural_order3

const int jpeg_natural_order3[]

Definition at line 105 of file jutils.c.

Referenced by get_dqt(), and initial_setup().

◆ jpeg_natural_order4

const int jpeg_natural_order4[]

Definition at line 98 of file jutils.c.

Referenced by get_dqt(), and initial_setup().

◆ jpeg_natural_order5

const int jpeg_natural_order5[]

Definition at line 89 of file jutils.c.

Referenced by get_dqt(), and initial_setup().

◆ jpeg_natural_order6

const int jpeg_natural_order6[]

Definition at line 79 of file jutils.c.

Referenced by get_dqt(), and initial_setup().

◆ jpeg_natural_order7

const int jpeg_natural_order7[]

Definition at line 67 of file jutils.c.

Referenced by get_dqt(), and initial_setup().

◆ need_full_buffer

◆ num_blocks

◆ num_cols

◆ num_rows

◆ output_array

int JSAMPARRAY output_array

Definition at line 412 of file jpegint.h.

Referenced by jcopy_sample_rows().

◆ output_row

◆ source_row

int source_row

Definition at line 412 of file jpegint.h.

Referenced by jcopy_sample_rows().

◆ transcode_only

boolean transcode_only

Definition at line 375 of file jpegint.h.

Referenced by jinit_c_master_control().