Lines Matching refs:huffman
38 * - Remove longest from struct huffman -- not needed
200 * Huffman code decoding tables. count[1..MAXBITS] is the number of symbols of
206 struct huffman {
212 * Decode a code from the stream s using huffman table h. Return the symbol or
235 local int decode(struct state *s, const struct huffman *h)
263 local int decode(struct state *s, const struct huffman *h)
310 * Huffman code for n symbols, construct the tables required to decode those
340 local int construct(struct huffman *h, const short *length, int n)
388 * pairs terminated by and end-of-block code. Literals are simply Huffman
437 const struct huffman *lencode,
438 const struct huffman *distcode)
541 static struct huffman lencode, distcode;
543 /* build fixed huffman tables if first call (may not be thread safe) */
624 * are themselves compressed using Huffman codes and run-length encoding. In
632 * - The symbols for 0..18 are Huffman coded, and so that code must be
673 struct huffman lencode, distcode; /* length and distance codes */
696 /* build huffman table for code lengths codes (use lencode temporarily) */
735 /* build huffman table for literal/length codes */
740 /* build huffman table for distance codes */