HomeSort by relevance Sort by last modified time
    Searched refs:HUFFMAN_HASH_NBITS (Results 1 - 2 of 2) sorted by null

  /external/syslinux/com32/lib/jpeg/
tinyjpeg-internal.h 45 #define HUFFMAN_HASH_NBITS 9
46 #define HUFFMAN_HASH_SIZE (1UL<<HUFFMAN_HASH_NBITS)
56 /* Fast look up table, using HUFFMAN_HASH_NBITS bits we can have directly the symbol,
64 uint16_t slowtable[16-HUFFMAN_HASH_NBITS][256];
tinyjpeg.c 214 * To speedup the procedure, we look HUFFMAN_HASH_NBITS bits and the code is
215 * lower than HUFFMAN_HASH_NBITS we have automaticaly the length of the code
228 look_nbits(priv->reservoir, priv->nbits_in_reservoir, priv->stream, HUFFMAN_HASH_NBITS, hcode);
238 for (extra_nbits=0; extra_nbits<16-HUFFMAN_HASH_NBITS; extra_nbits++)
240 nbits = HUFFMAN_HASH_NBITS + 1 + extra_nbits;
326 * lookup will return the symbol if the code is less or equal than HUFFMAN_HASH_NBITS.
349 for (i=0; i<(16-HUFFMAN_HASH_NBITS); i++)
382 if (code_size <= HUFFMAN_HASH_NBITS)
388 int repeat = 1UL<<(HUFFMAN_HASH_NBITS - code_size);
389 code <<= HUFFMAN_HASH_NBITS - code_size
    [all...]

Completed in 65 milliseconds