Lines Matching full:codes
39 stream->codes.bits = 8; in init_stream()
40 stream->codes.num_symbols = 19; in init_stream()
41 stream->codes.lengths = stream->code_lengths; in init_stream()
42 stream->codes.symbols = stream->code_symbols; in init_stream()
43 stream->codes.count = stream->code_count; in init_stream()
44 stream->codes.first = stream->code_first; in init_stream()
45 stream->codes.pos = stream->code_pos; in init_stream()
140 * huffman codes */
213 /* read in the huffman codes for dynamic decoding (section 3.2.7) */
226 struct huffman_set *codes = &(stream->codes); in decompress_dynamic() local
237 init_code_tables(codes); in decompress_dynamic()
245 codes->lengths[huffman_order[i]] = length; in decompress_dynamic()
246 if (length) codes->count[length]++; in decompress_dynamic()
249 fill_code_tables(codes); in decompress_dynamic()
251 /* Do the same for the length codes, being carefull of wrap through in decompress_dynamic()
255 if ((symbol = read_symbol(stream, codes)) < 0) return; in decompress_dynamic()
290 if ((symbol = read_symbol(stream, codes)) < 0) return; in decompress_dynamic()
318 /* fill in the length and distance huffman codes for fixed encoding