Lines Matching refs:depths
257 static void StoreSimpleHuffmanTree(const uint8_t* depths, in StoreSimpleHuffmanTree() argument
272 if (depths[symbols[j]] < depths[symbols[i]]) { in StoreSimpleHuffmanTree()
292 BrotliWriteBits(1, depths[symbols[0]] == 1 ? 1 : 0, storage_ix, storage); in StoreSimpleHuffmanTree()
298 void BrotliStoreHuffmanTree(const uint8_t* depths, size_t num, in BrotliStoreHuffmanTree() argument
316 BrotliWriteHuffmanTree(depths, num, &huffman_tree_size, huffman_tree, in BrotliStoreHuffmanTree()
707 uint8_t depths[BROTLI_MAX_CONTEXT_MAP_SYMBOLS]; in EncodeContextMap() local
734 tree, depths, bits, storage_ix, storage); in EncodeContextMap()
738 BrotliWriteBits(depths[rle_symbol], bits[rle_symbol], storage_ix, storage); in EncodeContextMap()
816 uint8_t depths[BROTLI_MAX_CONTEXT_MAP_SYMBOLS]; in StoreTrivialContextMap() local
829 tree, depths, bits, storage_ix, storage); in StoreTrivialContextMap()
832 BrotliWriteBits(depths[code], bits[code], storage_ix, storage); in StoreTrivialContextMap()
834 depths[repeat_code], bits[repeat_code], storage_ix, storage); in StoreTrivialContextMap()