Home
last modified time | relevance | path

Searched refs:huffman_code (Results 1 – 2 of 2) sorted by relevance

/external/opencv3/3rdparty/libwebp/enc/
Dvp8l.c268 HuffmanTreeCode* const huffman_code) { in ClearHuffmanTreeIfOnlyOneSymbol() argument
271 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() argument
291 VP8LWriteBits(bw, huffman_code->code_lengths[ix], huffman_code->codes[ix]); in StoreHuffmanTreeToBitMask()
313 HuffmanTreeCode huffman_code; in StoreFullHuffmanCode() local
318 huffman_code.num_symbols = CODE_LENGTH_CODES; in StoreFullHuffmanCode()
[all …]
/external/webp/src/enc/
Dvp8l.c519 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()
[all …]