Lines Matching refs:HUFF_LOOKAHEAD
18 #define HUFF_LOOKAHEAD 8 /* # of bits of lookahead */ macro
43 int lookup[1<<HUFF_LOOKAHEAD];
189 if (bits_left < HUFF_LOOKAHEAD) { \
192 if (bits_left < HUFF_LOOKAHEAD) { \
196 look = PEEK_BITS(HUFF_LOOKAHEAD); \
197 if ((nb = (htbl->lookup[look] >> HUFF_LOOKAHEAD)) <= HUFF_LOOKAHEAD) { \
199 result = htbl->lookup[look] & ((1 << HUFF_LOOKAHEAD) - 1); \
210 s = PEEK_BITS(HUFF_LOOKAHEAD); \
212 nb = s >> HUFF_LOOKAHEAD; \
215 s = s & ((1 << HUFF_LOOKAHEAD) - 1); \
216 if (nb > HUFF_LOOKAHEAD) { \