Home
last modified time | relevance | path

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

/external/brotli/c/enc/
Dbrotli_bit_stream.c184 const int num_codes, const uint8_t* code_length_bitdepth, in BrotliStoreHuffmanTreeOfHuffmanTreeToBitMask() argument
212 if (code_length_bitdepth[kStorageOrder[codes_to_store - 1]] != 0) { in BrotliStoreHuffmanTreeOfHuffmanTreeToBitMask()
217 if (code_length_bitdepth[kStorageOrder[0]] == 0 && in BrotliStoreHuffmanTreeOfHuffmanTreeToBitMask()
218 code_length_bitdepth[kStorageOrder[1]] == 0) { in BrotliStoreHuffmanTreeOfHuffmanTreeToBitMask()
220 if (code_length_bitdepth[kStorageOrder[2]] == 0) { in BrotliStoreHuffmanTreeOfHuffmanTreeToBitMask()
228 size_t l = code_length_bitdepth[kStorageOrder[i]]; in BrotliStoreHuffmanTreeOfHuffmanTreeToBitMask()
237 const uint8_t* huffman_tree_extra_bits, const uint8_t* code_length_bitdepth, in BrotliStoreHuffmanTreeToBitMask() argument
243 BrotliWriteBits(code_length_bitdepth[ix], code_length_bitdepth_symbols[ix], in BrotliStoreHuffmanTreeToBitMask()
307 uint8_t code_length_bitdepth[BROTLI_CODE_LENGTH_CODES] = { 0 }; in BrotliStoreHuffmanTree() local
339 5, tree, code_length_bitdepth); in BrotliStoreHuffmanTree()
[all …]
/external/webp/src/enc/
Dvp8l_enc.c524 VP8LBitWriter* const bw, const uint8_t* code_length_bitdepth) { in StoreHuffmanTreeOfHuffmanTreeToBitMask() argument
535 if (code_length_bitdepth[kStorageOrder[codes_to_store - 1]] != 0) { in StoreHuffmanTreeOfHuffmanTreeToBitMask()
541 VP8LPutBits(bw, code_length_bitdepth[kStorageOrder[i]], 3); in StoreHuffmanTreeOfHuffmanTreeToBitMask()
589 uint8_t code_length_bitdepth[CODE_LENGTH_CODES] = { 0 }; in StoreFullHuffmanCode() local
595 huffman_code.code_lengths = code_length_bitdepth; in StoreFullHuffmanCode()
611 StoreHuffmanTreeOfHuffmanTreeToBitMask(bw, code_length_bitdepth); in StoreFullHuffmanCode()
623 trailing_zero_bits += code_length_bitdepth[ix]; in StoreFullHuffmanCode()