Searched refs:num_codes (Results 1 – 1 of 1) sorted by relevance
3293 int i, j, l, num_codes[1 + TDEFL_MAX_SUPPORTED_HUFF_CODESIZE]; in tdefl_optimize_huffman_table() local3295 MZ_CLEAR_OBJ(num_codes); in tdefl_optimize_huffman_table()3298 num_codes[d->m_huff_code_sizes[table_num][i]]++; in tdefl_optimize_huffman_table()3313 for (i = 0; i < num_used_syms; i++) num_codes[pSyms[i].m_key]++; in tdefl_optimize_huffman_table()3315 tdefl_huffman_enforce_max_code_size(num_codes, num_used_syms, in tdefl_optimize_huffman_table()3321 for (l = num_codes[i]; l > 0; l--) in tdefl_optimize_huffman_table()3327 next_code[i] = j = ((j + num_codes[i - 1]) << 1); in tdefl_optimize_huffman_table()