Home
last modified time | relevance | path

Searched refs:HUFFMAN_HASH_NBITS (Results 1 – 2 of 2) sorted by relevance

/external/syslinux/com32/lib/jpeg/
Dtinyjpeg-internal.h45 #define HUFFMAN_HASH_NBITS 9 macro
46 #define HUFFMAN_HASH_SIZE (1UL<<HUFFMAN_HASH_NBITS)
64 uint16_t slowtable[16-HUFFMAN_HASH_NBITS][256];
Dtinyjpeg.c228 look_nbits(priv->reservoir, priv->nbits_in_reservoir, priv->stream, HUFFMAN_HASH_NBITS, hcode); in get_next_huffman_code()
238 for (extra_nbits=0; extra_nbits<16-HUFFMAN_HASH_NBITS; extra_nbits++) in get_next_huffman_code()
240 nbits = HUFFMAN_HASH_NBITS + 1 + extra_nbits; in get_next_huffman_code()
349 for (i=0; i<(16-HUFFMAN_HASH_NBITS); i++) in build_huffman_table()
382 if (code_size <= HUFFMAN_HASH_NBITS) in build_huffman_table()
388 int repeat = 1UL<<(HUFFMAN_HASH_NBITS - code_size); in build_huffman_table()
389 code <<= HUFFMAN_HASH_NBITS - code_size; in build_huffman_table()
397 uint16_t *slowtable = table->slowtable[code_size-HUFFMAN_HASH_NBITS-1]; in build_huffman_table()