Go to the source code of this file.
Classes | |
struct | savable_state |
struct | huff_entropy_decoder |
Macros | |
#define | JPEG_INTERNALS |
#define | ASSIGN_STATE(dest, src) ((dest) = (src)) |
#define | MIN_GET_BITS (BIT_BUF_SIZE - 7) |
#define | HUFF_EXTEND(x, s) ((x) < extend_test[s] ? (x) + extend_offset[s] : (x)) |
Typedefs | |
typedef huff_entropy_decoder * | huff_entropy_ptr |
Functions | |
start_pass_huff_decoder (j_decompress_ptr cinfo) | |
jpeg_make_d_derived_tbl (j_decompress_ptr cinfo, boolean isDC, int tblno, d_derived_tbl **pdtbl) | |
jpeg_fill_bit_buffer (bitread_working_state *state, bit_buf_type get_buffer, int bits_left, int nbits) | |
jpeg_huff_decode (bitread_working_state *state, bit_buf_type get_buffer, int bits_left, d_derived_tbl *htbl, int min_bits) | |
process_restart (j_decompress_ptr cinfo) | |
decode_mcu (j_decompress_ptr cinfo, JBLOCKROW *MCU_data) | |
jinit_huff_decoder (j_decompress_ptr cinfo) | |
Variables | |
static const int | extend_test [16] |
static const int | extend_offset [16] |
Definition at line 33 of file jdhuff.cpp.
Referenced by decode_mcu().
#define HUFF_EXTEND | ( | x, | |
s | |||
) | ((x) < extend_test[s] ? (x) + extend_offset[s] : (x)) |
Definition at line 476 of file jdhuff.cpp.
Referenced by decode_mcu().
#define JPEG_INTERNALS |
Definition at line 10 of file jdhuff.cpp.
#define MIN_GET_BITS (BIT_BUF_SIZE - 7) |
Definition at line 295 of file jdhuff.cpp.
Referenced by jpeg_fill_bit_buffer().
typedef huff_entropy_decoder* huff_entropy_ptr |
Definition at line 71 of file jdhuff.cpp.
decode_mcu | ( | j_decompress_ptr | cinfo, |
JBLOCKROW * | MCU_data | ||
) |
Definition at line 540 of file jdhuff.cpp.
References ASSIGN_STATE, BITREAD_LOAD_STATE, BITREAD_SAVE_STATE, BITREAD_STATE_VARS, CHECK_BIT_BUFFER, DCTSIZE2, DROP_BITS, FALSE, GET_BITS, HUFF_DECODE, HUFF_EXTEND, jpeg_natural_order, process_restart(), huff_entropy_encoder::pub, huff_entropy_encoder::restarts_to_go, huff_entropy_encoder::saved, and TRUE.
Referenced by jinit_huff_decoder().
jinit_huff_decoder | ( | j_decompress_ptr | cinfo | ) |
Definition at line 669 of file jdhuff.cpp.
References huff_entropy_encoder::ac_derived_tbls, huff_entropy_encoder::dc_derived_tbls, decode_mcu(), JPOOL_IMAGE, NUM_HUFF_TBLS, huff_entropy_encoder::pub, SIZEOF, and start_pass_huff_decoder().
Referenced by master_selection(), and transdecode_master_selection().
jpeg_fill_bit_buffer | ( | bitread_working_state * | state, |
bit_buf_type | get_buffer, | ||
int | bits_left, | ||
int | nbits | ||
) |
Definition at line 299 of file jdhuff.cpp.
References jpeg_source_mgr::bytes_in_buffer, jpeg_decompress_struct::entropy, FALSE, GETJOCTET, jpeg_entropy_decoder::insufficient_data, MIN_GET_BITS, jpeg_source_mgr::next_input_byte, jpeg_decompress_struct::src, TRUE, jpeg_decompress_struct::unread_marker, and WARNMS.
jpeg_huff_decode | ( | bitread_working_state * | state, |
bit_buf_type | get_buffer, | ||
int | bits_left, | ||
d_derived_tbl * | htbl, | ||
int | min_bits | ||
) |
Definition at line 425 of file jdhuff.cpp.
References CHECK_BIT_BUFFER, GET_BITS, and WARNMS.
jpeg_make_d_derived_tbl | ( | j_decompress_ptr | cinfo, |
boolean | isDC, | ||
int | tblno, | ||
d_derived_tbl ** | pdtbl | ||
) |
Definition at line 147 of file jdhuff.cpp.
References JHUFF_TBL::bits, ctr, ERREXIT, ERREXIT1, HUFF_LOOKAHEAD, JHUFF_TBL::huffval, JPOOL_IMAGE, d_derived_tbl::look_nbits, d_derived_tbl::look_sym, d_derived_tbl::maxcode, MEMZERO, NUM_HUFF_TBLS, d_derived_tbl::pub, SIZEOF, and d_derived_tbl::valoffset.
Referenced by start_pass_huff_decoder(), and start_pass_phuff_decoder().
process_restart | ( | j_decompress_ptr | cinfo | ) |
Definition at line 494 of file jdhuff.cpp.
References FALSE, savable_state::last_dc_val, huff_entropy_encoder::pub, huff_entropy_encoder::restarts_to_go, huff_entropy_encoder::saved, and TRUE.
Referenced by decode_mcu().
start_pass_huff_decoder | ( | j_decompress_ptr | cinfo | ) |
Definition at line 78 of file jdhuff.cpp.
References huff_entropy_encoder::ac_derived_tbls, jpeg_component_info::ac_tbl_no, jpeg_component_info::component_needed, compptr, huff_entropy_encoder::dc_derived_tbls, jpeg_component_info::dc_tbl_no, jpeg_component_info::DCT_scaled_size, DCTSIZE2, FALSE, jpeg_make_d_derived_tbl(), savable_state::last_dc_val, huff_entropy_encoder::pub, huff_entropy_encoder::restarts_to_go, huff_entropy_encoder::saved, TRUE, and WARNMS.
Referenced by jinit_huff_decoder().
|
static |
Definition at line 482 of file jdhuff.cpp.
|
static |
Definition at line 478 of file jdhuff.cpp.
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019 |