Searched refs:huffman_code (Results 1 – 2 of 2) sorted by relevance
268 HuffmanTreeCode* const huffman_code) { in ClearHuffmanTreeIfOnlyOneSymbol() argument271 for (k = 0; k < huffman_code->num_symbols; ++k) { in ClearHuffmanTreeIfOnlyOneSymbol()272 if (huffman_code->code_lengths[k] != 0) { in ClearHuffmanTreeIfOnlyOneSymbol()277 for (k = 0; k < huffman_code->num_symbols; ++k) { in ClearHuffmanTreeIfOnlyOneSymbol()278 huffman_code->code_lengths[k] = 0; in ClearHuffmanTreeIfOnlyOneSymbol()279 huffman_code->codes[k] = 0; in ClearHuffmanTreeIfOnlyOneSymbol()286 const HuffmanTreeCode* const huffman_code) { in StoreHuffmanTreeToBitMask() argument291 VP8LWriteBits(bw, huffman_code->code_lengths[ix], huffman_code->codes[ix]); in StoreHuffmanTreeToBitMask()313 HuffmanTreeCode huffman_code; in StoreFullHuffmanCode() local318 huffman_code.num_symbols = CODE_LENGTH_CODES; in StoreFullHuffmanCode()[all …]
519 HuffmanTreeCode* const huffman_code) { in ClearHuffmanTreeIfOnlyOneSymbol() argument522 for (k = 0; k < huffman_code->num_symbols; ++k) { in ClearHuffmanTreeIfOnlyOneSymbol()523 if (huffman_code->code_lengths[k] != 0) { in ClearHuffmanTreeIfOnlyOneSymbol()528 for (k = 0; k < huffman_code->num_symbols; ++k) { in ClearHuffmanTreeIfOnlyOneSymbol()529 huffman_code->code_lengths[k] = 0; in ClearHuffmanTreeIfOnlyOneSymbol()530 huffman_code->codes[k] = 0; in ClearHuffmanTreeIfOnlyOneSymbol()537 const HuffmanTreeCode* const huffman_code) { in StoreHuffmanTreeToBitMask() argument542 VP8LPutBits(bw, huffman_code->codes[ix], huffman_code->code_lengths[ix]); in StoreHuffmanTreeToBitMask()566 HuffmanTreeCode huffman_code; in StoreFullHuffmanCode() local567 huffman_code.num_symbols = CODE_LENGTH_CODES; in StoreFullHuffmanCode()[all …]