Lines Matching refs:code_lengths
111 const int* const code_lengths, int code_lengths_size, in VP8LHuffmanCodeLengthsToCodes() argument
120 assert(code_lengths != NULL); in VP8LHuffmanCodeLengthsToCodes()
126 if (code_lengths[symbol] > max_code_length) { in VP8LHuffmanCodeLengthsToCodes()
127 max_code_length = code_lengths[symbol]; in VP8LHuffmanCodeLengthsToCodes()
134 ++code_length_hist[code_lengths[symbol]]; in VP8LHuffmanCodeLengthsToCodes()
150 if (code_lengths[symbol] > 0) { in VP8LHuffmanCodeLengthsToCodes()
151 huff_codes[symbol] = next_codes[code_lengths[symbol]]++; in VP8LHuffmanCodeLengthsToCodes()
232 const int* const code_lengths, in VP8LHuffmanTreeBuildImplicit() argument
240 assert(code_lengths != NULL); in VP8LHuffmanTreeBuildImplicit()
244 if (code_lengths[symbol] > 0) { in VP8LHuffmanTreeBuildImplicit()
266 if (!VP8LHuffmanCodeLengthsToCodes(code_lengths, code_lengths_size, in VP8LHuffmanTreeBuildImplicit()
273 if (code_lengths[symbol] > 0) { in VP8LHuffmanTreeBuildImplicit()
275 code_lengths[symbol])) { in VP8LHuffmanTreeBuildImplicit()
289 const int* const code_lengths, in VP8LHuffmanTreeBuildExplicit() argument
296 assert(code_lengths != NULL); in VP8LHuffmanTreeBuildExplicit()
309 if (!TreeAddSymbol(tree, symbols[i], codes[i], code_lengths[i])) { in VP8LHuffmanTreeBuildExplicit()