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 440 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 280 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 507 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, MCU_data, 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 625 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 285 of file jdhuff.cpp.
References bits_left, jpeg_source_mgr::bytes_in_buffer, jpeg_decompress_struct::entropy, FALSE, get_buffer, GETJOCTET, jpeg_entropy_decoder::insufficient_data, MIN_GET_BITS, nbits, 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 391 of file jdhuff.cpp.
References bits_left, CHECK_BIT_BUFFER, GET_BITS, get_buffer, htbl, JHUFF_TBL::huffval, min_bits, and WARNMS.
jpeg_make_d_derived_tbl | ( | j_decompress_ptr | cinfo, |
boolean | isDC, | ||
int | tblno, | ||
d_derived_tbl ** | pdtbl | ||
) |
Definition at line 142 of file jdhuff.cpp.
References JHUFF_TBL::bits, ERREXIT, ERREXIT1, htbl, HUFF_LOOKAHEAD, JHUFF_TBL::huffval, isDC, JPOOL_IMAGE, d_derived_tbl::look_nbits, d_derived_tbl::look_sym, d_derived_tbl::maxcode, MEMZERO, NUM_HUFF_TBLS, pdtbl, d_derived_tbl::pub, SIZEOF, tblno, 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 458 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 79 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 446 of file jdhuff.cpp.
|
static |
Definition at line 442 of file jdhuff.cpp.
Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019 |