Home | History | Annotate | Download | only in puff

Lines Matching refs:huffman

38  *                      - Remove longest from struct huffman -- not needed
190 * Huffman code decoding tables. count[1..MAXBITS] is the number of symbols of
196 struct huffman {
202 * Decode a code from the stream s using huffman table h. Return the symbol or
225 local int decode(struct state *s, struct huffman *h)
253 local int decode(struct state *s, struct huffman *h)
297 * Huffman code for n symbols, construct the tables required to decode those
327 local int construct(struct huffman *h, short *length, int n)
374 * pairs terminated by and end-of-block code. Literals are simply Huffman
423 struct huffman *lencode,
424 struct huffman *distcode)
521 static struct huffman lencode, distcode;
523 /* build fixed huffman tables if first call (may not be thread safe) */
604 * are themselves compressed using Huffman codes and run-length encoding. In
612 * - The symbols for 0..18 are Huffman coded, and so that code must be
653 struct huffman lencode, distcode; /* length and distance codes */
676 /* build huffman table for code lengths codes (use lencode temporarily) */
711 /* build huffman table for literal/length codes */
716 /* build huffman table for distance codes */