Visualization Library 2.0.0-b5
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Go to the source code of this file.
Macros | |
#define | JPEG_INTERNALS |
#define | ASSIGN_STATE(dest, src) ((dest) = (src)) |
#define | emit_byte(state, val, action) |
#define | MAX_CLEN 32 /* assumed maximum initial code length */ |
Typedefs | |
typedef huff_entropy_encoder * | huff_entropy_ptr |
Functions | |
METHODDEF (boolean) | |
jpeg_make_c_derived_tbl (j_compress_ptr cinfo, boolean isDC, int tblno, c_derived_tbl **pdtbl) | |
dump_buffer (working_state *state) | |
INLINE | emit_bits (working_state *state, unsigned int code, int size) |
flush_bits (working_state *state) | |
encode_one_block (working_state *state, JCOEFPTR block, int last_dc_val, c_derived_tbl *dctbl, c_derived_tbl *actbl) | |
emit_restart (working_state *state, int restart_num) | |
encode_mcu_huff (j_compress_ptr cinfo, JBLOCKROW *MCU_data) | |
finish_pass_huff (j_compress_ptr cinfo) | |
htest_one_block (j_compress_ptr cinfo, JCOEFPTR block, int last_dc_val, long dc_counts[], long ac_counts[]) | |
encode_mcu_gather (j_compress_ptr cinfo, JBLOCKROW *MCU_data) | |
jpeg_gen_optimal_table (j_compress_ptr cinfo, JHUFF_TBL *htbl, long freq[]) | |
finish_pass_gather (j_compress_ptr cinfo) | |
jinit_huff_encoder (j_compress_ptr cinfo) | |
Definition at line 41 of file jchuff.c.
Referenced by encode_mcu_huff(), and finish_pass_huff().
#define emit_byte | ( | state, | |
val, | |||
action | |||
) |
Definition at line 270 of file jchuff.c.
Referenced by emit_bits(), and emit_restart().
Referenced by jpeg_gen_optimal_table().
typedef huff_entropy_encoder* huff_entropy_ptr |
dump_buffer | ( | working_state * | state | ) |
Definition at line 278 of file jchuff.c.
References FALSE, jpeg_destination_mgr::free_in_buffer, LOCAL, jpeg_destination_mgr::next_output_byte, and TRUE.
Definition at line 302 of file jchuff.c.
References emit_byte, ERREXIT, FALSE, int, LOCAL, and TRUE.
Referenced by encode_one_block(), and flush_bits().
emit_restart | ( | working_state * | state, |
int | restart_num | ||
) |
Definition at line 451 of file jchuff.c.
References emit_byte, FALSE, flush_bits(), JPEG_RST0, and TRUE.
Referenced by encode_mcu_huff().
encode_mcu_gather | ( | j_compress_ptr | cinfo, |
JBLOCKROW * | MCU_data | ||
) |
Definition at line 645 of file jchuff.c.
References jpeg_component_info::ac_tbl_no, compptr, jpeg_component_info::dc_tbl_no, GLOBAL, htest_one_block(), if(), and TRUE.
encode_mcu_huff | ( | j_compress_ptr | cinfo, |
JBLOCKROW * | MCU_data | ||
) |
Definition at line 476 of file jchuff.c.
References jpeg_component_info::ac_tbl_no, ASSIGN_STATE, compptr, jpeg_component_info::dc_tbl_no, emit_restart(), encode_one_block(), FALSE, METHODDEF(), and TRUE.
encode_one_block | ( | working_state * | state, |
JCOEFPTR | block, | ||
int | last_dc_val, | ||
c_derived_tbl * | dctbl, | ||
c_derived_tbl * | actbl | ||
) |
Definition at line 353 of file jchuff.c.
References DCTSIZE2, emit_bits(), ERREXIT, FALSE, i, jpeg_natural_order, LOCAL, MAX_COEF_BITS, nbits, and TRUE.
Referenced by encode_mcu_huff().
finish_pass_gather | ( | j_compress_ptr | cinfo | ) |
Definition at line 846 of file jchuff.c.
References jpeg_component_info::ac_tbl_no, compptr, jpeg_component_info::dc_tbl_no, GLOBAL, jpeg_alloc_huff_table(), jpeg_gen_optimal_table(), MEMZERO, NULL, NUM_HUFF_TBLS, SIZEOF, and TRUE.
finish_pass_huff | ( | j_compress_ptr | cinfo | ) |
Definition at line 533 of file jchuff.c.
References ASSIGN_STATE, ERREXIT, flush_bits(), and LOCAL.
flush_bits | ( | working_state * | state | ) |
Definition at line 340 of file jchuff.c.
References emit_bits(), FALSE, LOCAL, and TRUE.
Referenced by emit_restart(), and finish_pass_huff().
htest_one_block | ( | j_compress_ptr | cinfo, |
JCOEFPTR | block, | ||
int | last_dc_val, | ||
long | dc_counts[], | ||
long | ac_counts[] | ||
) |
Definition at line 572 of file jchuff.c.
References DCTSIZE2, ERREXIT, jpeg_natural_order, MAX_COEF_BITS, METHODDEF(), and nbits.
Referenced by encode_mcu_gather().
jinit_huff_encoder | ( | j_compress_ptr | cinfo | ) |
Definition at line 891 of file jchuff.c.
References i, JPOOL_IMAGE, NULL, NUM_HUFF_TBLS, and SIZEOF.
Referenced by jinit_compress_master(), and transencode_master_selection().
jpeg_gen_optimal_table | ( | j_compress_ptr | cinfo, |
JHUFF_TBL * | htbl, | ||
long | freq[] | ||
) |
Definition at line 705 of file jchuff.c.
References ERREXIT, FALSE, i, MAX_CLEN, MEMCOPY, MEMZERO, METHODDEF(), and SIZEOF.
Referenced by finish_pass_gather(), and finish_pass_gather_phuff().
jpeg_make_c_derived_tbl | ( | j_compress_ptr | cinfo, |
boolean | isDC, | ||
int | tblno, | ||
c_derived_tbl ** | pdtbl | ||
) |
Definition at line 179 of file jchuff.c.
References JHUFF_TBL::bits, code, c_derived_tbl::ehufco, c_derived_tbl::ehufsi, ERREXIT, ERREXIT1, htbl, JHUFF_TBL::huffval, i, if(), int, JPOOL_IMAGE, MEMZERO, NULL, NUM_HUFF_TBLS, pdtbl, SIZEOF, and tblno.
METHODDEF | ( | boolean | ) |
Definition at line 89 of file jchuff.c.
Referenced by encode_mcu_huff(), htest_one_block(), and jpeg_gen_optimal_table().
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:44:56.
© Copyright Michele Bosi. All rights reserved.