Go to the source code of this file.
◆ BIT_BUF_SIZE
#define BIT_BUF_SIZE 32 /* size of buffer in bits */ |
◆ 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 107 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; \
Definition at line 114 of file jdhuff.h.
◆ BITREAD_STATE_VARS
#define BITREAD_STATE_VARS |
Value:
bitread_working_state br_state
Definition at line 102 of file jdhuff.h.
◆ CHECK_BIT_BUFFER
#define CHECK_BIT_BUFFER |
( |
|
state, |
|
|
|
nbits, |
|
|
|
action |
|
) |
| |
◆ DROP_BITS
◆ GET_BITS
◆ HUFF_DECODE
#define HUFF_DECODE |
( |
|
result, |
|
|
|
state, |
|
|
|
htbl, |
|
|
|
failaction, |
|
|
|
slowlabel |
|
) |
| |
Value:{ register 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; \
} \
}
Definition at line 176 of file jdhuff.h.
◆ HUFF_LOOKAHEAD
#define HUFF_LOOKAHEAD 8 /* # of bits of lookahead */ |
◆ PEEK_BITS
◆ bit_buf_type
◆ EXTERN() [1/3]
◆ EXTERN() [2/3]
◆ EXTERN() [3/3]
◆ bits_left
◆ get_buffer
◆ htbl
◆ isDC
◆ min_bits
◆ nbits
◆ pdtbl
◆ tblno
jpeg_huff_decode(bitread_working_state *state, register bit_buf_type get_buffer, register int bits_left, d_derived_tbl *htbl, int min_bits)