Lines Matching defs:huffman
97 * Huffman code decoding tables. count[1..MAXBITS] is the number of symbols of
103 struct huffman {
109 * Decode a code from the stream s using huffman table h. Return the symbol or
129 local int decode(struct state *s, struct huffman *h)
179 * Huffman code for n symbols, construct the tables required to decode those
191 local int construct(struct huffman *h, const unsigned char *rep, int n)
254 * terminated by an end code. Literals are either Huffman coded or
295 static struct huffman litcode = {litcnt, litsym}; /* length code */
296 static struct huffman lencode = {lencnt, lensym}; /* length code */
297 static struct huffman distcode = {distcnt, distsym};/* distance code */