Home | History | Annotate | Download | only in jpeg

Lines Matching refs:HUFF_LOOKAHEAD

24 #define HUFF_LOOKAHEAD	8	/* # of bits of lookahead */
39 /* Lookahead tables: indexed by the next HUFF_LOOKAHEAD bits of
41 * than HUFF_LOOKAHEAD bits long, we can obtain its length and
44 int look_nbits[1<<HUFF_LOOKAHEAD]; /* # bits, or 0 if too long */
45 UINT8 look_sym[1<<HUFF_LOOKAHEAD]; /* symbol, or unused */
164 * We use a lookahead table to process codes of up to HUFF_LOOKAHEAD bits
173 * more than HUFF_LOOKAHEAD bits long.
179 if (bits_left < HUFF_LOOKAHEAD) { \
182 if (bits_left < HUFF_LOOKAHEAD) { \
186 look = PEEK_BITS(HUFF_LOOKAHEAD); \
191 nb = HUFF_LOOKAHEAD+1; \