Lines Matching refs:HUFF_LOOKAHEAD
21 #define HUFF_LOOKAHEAD 8 /* # of bits of lookahead */ macro
46 int lookup[1 << HUFF_LOOKAHEAD];
193 if (bits_left < HUFF_LOOKAHEAD) { \
197 if (bits_left < HUFF_LOOKAHEAD) { \
201 look = PEEK_BITS(HUFF_LOOKAHEAD); \
202 if ((nb = (htbl->lookup[look] >> HUFF_LOOKAHEAD)) <= HUFF_LOOKAHEAD) { \
204 result = htbl->lookup[look] & ((1 << HUFF_LOOKAHEAD) - 1); \
216 s = PEEK_BITS(HUFF_LOOKAHEAD); \
218 nb = s >> HUFF_LOOKAHEAD; \
221 s = s & ((1 << HUFF_LOOKAHEAD) - 1); \
222 if (nb > HUFF_LOOKAHEAD) { \