Go to the source code of this file.
#define HUFF_LOOKAHEAD 8 /* # of bits of lookahead */ |
#define BIT_BUF_SIZE 32 /* size of buffer in bits */ |
#define BITREAD_STATE_VARS |
Value: bitread_working_state br_state
int32_t bit_buf_type
Definition: jdhuff.h:72
register bit_buf_type get_buffer
Definition: jdhuff.h:155
register bit_buf_type register int bits_left
Definition: jdhuff.h:155
#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;
\register bit_buf_type get_buffer
Definition: jdhuff.h:155
register bit_buf_type register int bits_left
Definition: jdhuff.h:155
#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; \
register bit_buf_type get_buffer
Definition: jdhuff.h:155
register bit_buf_type register int bits_left
Definition: jdhuff.h:155
#define CHECK_BIT_BUFFER |
( |
|
state, |
|
|
|
nbits, |
|
|
|
action |
|
) |
| |
Value:register bit_buf_type register int int nbits
Definition: jdhuff.h:155
register bit_buf_type get_buffer
Definition: jdhuff.h:155
register bit_buf_type register int bits_left
Definition: jdhuff.h:155
boolean jpeg_fill_bit_buffer(bitread_working_state *state, register bit_buf_type get_buffer, register int bits_left, int nbits)
Definition: jdhuff.cpp:292
#define HUFF_DECODE |
( |
|
result, |
|
|
|
state, |
|
|
|
htbl, |
|
|
|
failaction, |
|
|
|
slowlabel |
|
) |
| |
Value:{ register int nb, look; \
nb = 1; goto slowlabel; \
} \
} \
} else { \
slowlabel: \
} \
}
int jpeg_huff_decode(bitread_working_state *state, register bit_buf_type get_buffer, register int bits_left, d_derived_tbl *htbl, int min_bits)
Definition: jdhuff.cpp:398
#define DROP_BITS(nbits)
Definition: jdhuff.h:150
register bit_buf_type register int d_derived_tbl * htbl
Definition: jdhuff.h:200
#define PEEK_BITS(nbits)
Definition: jdhuff.h:147
uint8_t look_sym[1<< 8]
Definition: jdhuff.h:45
int look_nbits[1<< 8]
Definition: jdhuff.h:44
#define HUFF_LOOKAHEAD
Definition: jdhuff.h:24
register bit_buf_type get_buffer
Definition: jdhuff.h:155
register bit_buf_type register int bits_left
Definition: jdhuff.h:155
boolean jpeg_fill_bit_buffer(bitread_working_state *state, register bit_buf_type get_buffer, register int bits_left, int nbits)
Definition: jdhuff.cpp:292