Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
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 (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

◆ CSTATE_RAW_OK

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

◆ CSTATE_SCANNING

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

◆ CSTATE_START

#define CSTATE_START   100 /* after create_compress */

◆ CSTATE_WRCOEFS

#define CSTATE_WRCOEFS   103 /* jpeg_write_coefficients done */

Definition at line 28 of file jpegint.h.

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

◆ DSTATE_BUFIMAGE

#define DSTATE_BUFIMAGE   207 /* expecting jpeg_start_output */

◆ DSTATE_BUFPOST

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

Definition at line 37 of file jpegint.h.

Referenced by jpeg_consume_input(), and jpeg_finish_output().

◆ DSTATE_INHEADER

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

Definition at line 30 of file jpegint.h.

Referenced by jpeg_consume_input(), and jpeg_read_header().

◆ DSTATE_PRELOAD

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

Definition at line 32 of file jpegint.h.

Referenced by jpeg_consume_input().

◆ DSTATE_PRESCAN

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

Definition at line 33 of file jpegint.h.

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

◆ DSTATE_RAW_OK

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

◆ DSTATE_RDCOEFS

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

Definition at line 38 of file jpegint.h.

◆ DSTATE_READY

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

◆ DSTATE_SCANNING

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

◆ DSTATE_START

#define DSTATE_START   200 /* after create_decompress */

◆ DSTATE_STOPPING

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

◆ MAX

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

Definition at line 267 of file jpegint.h.

Referenced by initial_setup(), and jpeg_simple_progression().

◆ MIN

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

◆ RIGHT_SHIFT

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

◆ SHIFT_TEMPS

#define SHIFT_TEMPS

Enumeration Type Documentation

◆ J_BUF_MODE

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

◆ EXTERN() [1/2]

EXTERN ( void  )

◆ EXTERN() [2/2]

EXTERN ( long  )

◆ JMETHOD()

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 371 of file jpegint.h.

◆ bytestozero

size_t bytestozero

Definition at line 378 of file jpegint.h.

Referenced by jzero_far().

◆ dest_row

int JSAMPARRAY int dest_row

Definition at line 373 of file jpegint.h.

Referenced by jcopy_sample_rows().

◆ jpeg_natural_order

const int jpeg_natural_order[]

◆ need_full_buffer

boolean need_full_buffer

Definition at line 338 of file jpegint.h.

Referenced by jinit_c_prep_controller(), and jinit_d_coef_controller().

◆ num_blocks

JBLOCKROW JDIMENSION num_blocks

Definition at line 376 of file jpegint.h.

Referenced by forward_DCT(), forward_DCT_float(), and jcopy_block_row().

◆ num_cols

◆ num_rows

◆ output_array

int JSAMPARRAY output_array

Definition at line 373 of file jpegint.h.

◆ output_row

JBLOCKROW output_row

◆ source_row

int source_row

Definition at line 373 of file jpegint.h.

Referenced by get_memory_row(), and jcopy_sample_rows().

◆ transcode_only

boolean transcode_only

Definition at line 336 of file jpegint.h.

Referenced by jinit_c_master_control().