Go to the source code of this file.
◆ BIT_BUF_SIZE
◆ BITREAD_LOAD_STATE
| #define BITREAD_LOAD_STATE |
( |
|
cinfop, |
|
|
|
permstate |
|
) |
| |
Value: br_state.cinfo = cinfop; \
br_state.next_input_byte = cinfop->src->next_input_byte; \
br_state.bytes_in_buffer = cinfop->src->bytes_in_buffer; \
get_buffer = permstate.get_buffer; \
bits_left = permstate.bits_left;
Definition at line 104 of file jdhuff.h.
◆ BITREAD_SAVE_STATE
| #define BITREAD_SAVE_STATE |
( |
|
cinfop, |
|
|
|
permstate |
|
) |
| |
Value: cinfop->src->next_input_byte = br_state.next_input_byte; \
cinfop->src->bytes_in_buffer = br_state.bytes_in_buffer; \
bit_buf_type int bits_left
Definition at line 111 of file jdhuff.h.
◆ BITREAD_STATE_VARS
| #define BITREAD_STATE_VARS |
Value:
bitread_working_state br_state
Definition at line 99 of file jdhuff.h.
◆ CHECK_BIT_BUFFER
| #define CHECK_BIT_BUFFER |
( |
|
state, |
|
|
|
nbits, |
|
|
|
action |
|
) |
| |
Value:
{ action; } \
jpeg_fill_bit_buffer(bitread_working_state *state, bit_buf_type get_buffer, int bits_left, int nbits)
bit_buf_type int int nbits
Definition at line 135 of file jdhuff.h.
◆ DROP_BITS
◆ GET_BITS
◆ HUFF_DECODE
| #define HUFF_DECODE |
( |
|
result, |
|
|
|
state, |
|
|
|
htbl, |
|
|
|
failaction, |
|
|
|
slowlabel |
|
) |
| |
Value:{ int nb, look; \
get_buffer = state.get_buffer;
bits_left = state.bits_left; \
nb = 1; goto slowlabel; \
} \
} \
DROP_BITS(nb); \
} else { \
slowlabel: \
{ failaction; } \
get_buffer = state.get_buffer;
bits_left = state.bits_left; \
} \
}
jpeg_huff_decode(bitread_working_state *state, bit_buf_type get_buffer, int bits_left, d_derived_tbl *htbl, int min_bits)
bit_buf_type int d_derived_tbl * htbl
UINT8 look_sym[1<< HUFF_LOOKAHEAD]
int look_nbits[1<< HUFF_LOOKAHEAD]
Definition at line 173 of file jdhuff.h.
◆ HUFF_LOOKAHEAD
| #define HUFF_LOOKAHEAD 8 /* # of bits of lookahead */ |
◆ PEEK_BITS
◆ bit_buf_type
◆ EXTERN() [1/2]
◆ EXTERN() [2/2]
◆ bits_left
◆ get_buffer
◆ htbl
◆ isDC
◆ min_bits
◆ nbits
◆ pdtbl
◆ tblno