Lines Matching refs:num_symbols
440 const int num_symbols = in GetHuffBitLengthsAndCodes() local
443 codes[k].num_symbols = num_symbols; in GetHuffBitLengthsAndCodes()
444 total_length_size += num_symbols; in GetHuffBitLengthsAndCodes()
459 const int bit_length = huffman_codes[i].num_symbols; in GetHuffBitLengthsAndCodes()
522 for (k = 0; k < huffman_code->num_symbols; ++k) { in ClearHuffmanTreeIfOnlyOneSymbol()
528 for (k = 0; k < huffman_code->num_symbols; ++k) { in ClearHuffmanTreeIfOnlyOneSymbol()
564 const int max_tokens = tree->num_symbols; in StoreFullHuffmanCode()
567 huffman_code.num_symbols = CODE_LENGTH_CODES; in StoreFullHuffmanCode()
632 for (i = 0; i < huffman_code->num_symbols && count < 3; ++i) { in StoreHuffmanCode()
792 if (max_tokens < codes->num_symbols) { in EncodeImageNoHuffman()
793 max_tokens = codes->num_symbols; in EncodeImageNoHuffman()
959 if (max_tokens < codes->num_symbols) { in EncodeImageInternal()
960 max_tokens = codes->num_symbols; in EncodeImageInternal()