Lines Matching refs:huffman_code

519     HuffmanTreeCode* const huffman_code) {  in ClearHuffmanTreeIfOnlyOneSymbol()  argument
522 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() argument
542 VP8LPutBits(bw, huffman_code->codes[ix], huffman_code->code_lengths[ix]); in StoreHuffmanTreeToBitMask()
566 HuffmanTreeCode huffman_code; in StoreFullHuffmanCode() local
567 huffman_code.num_symbols = CODE_LENGTH_CODES; in StoreFullHuffmanCode()
568 huffman_code.code_lengths = code_length_bitdepth; in StoreFullHuffmanCode()
569 huffman_code.codes = code_length_bitdepth_symbols; in StoreFullHuffmanCode()
581 VP8LCreateHuffmanTree(histogram, 7, buf_rle, huff_tree, &huffman_code); in StoreFullHuffmanCode()
585 ClearHuffmanTreeIfOnlyOneSymbol(&huffman_code); in StoreFullHuffmanCode()
616 StoreHuffmanTreeToBitMask(bw, tokens, length, &huffman_code); in StoreFullHuffmanCode()
624 const HuffmanTreeCode* const huffman_code) { in StoreHuffmanCode() argument
632 for (i = 0; i < huffman_code->num_symbols && count < 3; ++i) { in StoreHuffmanCode()
633 if (huffman_code->code_lengths[i] != 0) { in StoreHuffmanCode()
656 StoreFullHuffmanCode(bw, huff_tree, tokens, huffman_code); in StoreHuffmanCode()