/external/brotli/c/enc/ |
D | entropy_encode.h | 20 typedef struct HuffmanTree { struct 24 } HuffmanTree; typedef 26 static BROTLI_INLINE void InitHuffmanTree(HuffmanTree* self, uint32_t count, in InitHuffmanTree() 35 int p, HuffmanTree* pool, uint8_t* depth, int max_depth); 52 HuffmanTree* tree, 82 const HuffmanTree*, const HuffmanTree*); 83 static BROTLI_INLINE void SortHuffmanTreeItems(HuffmanTree* items, in SortHuffmanTreeItems() 89 HuffmanTree tmp = items[i]; in SortHuffmanTreeItems() 108 HuffmanTree tmp = items[i]; in SortHuffmanTreeItems()
|
D | brotli_bit_stream.c | 284 HuffmanTree* tree, in BrotliStoreHuffmanTree() 351 HuffmanTree* tree, in BuildAndStoreHuffmanTree() 399 const HuffmanTree* v0, const HuffmanTree* v1) { in SortHuffmanTree() 436 HuffmanTree* tree = BROTLI_ALLOC(m, HuffmanTree, max_tree_size); in BrotliBuildAndStoreHuffmanTreeFast() 440 HuffmanTree* node = tree; in BrotliBuildAndStoreHuffmanTreeFast() 455 HuffmanTree sentinel; in BrotliBuildAndStoreHuffmanTreeFast() 684 HuffmanTree* tree, in EncodeContextMap() 760 HuffmanTree* tree, in BuildAndStoreBlockSplitCode() 792 HuffmanTree* tree, in StoreTrivialContextMap() 866 HuffmanTree* tree, size_t* storage_ix, uint8_t* storage) { in BuildAndStoreBlockSwitchEntropyCodes() [all …]
|
D | entropy_encode.c | 24 int p0, HuffmanTree* pool, uint8_t* depth, int max_depth) { in BrotliSetDepth() 49 const HuffmanTree* v0, const HuffmanTree* v1) { in SortHuffmanTree() 74 HuffmanTree* tree, in BrotliCreateHuffmanTree() 77 HuffmanTree sentinel; in BrotliCreateHuffmanTree()
|
D | block_encoder_inc.h | 16 const size_t alphabet_size, HuffmanTree* tree, in FN()
|
D | brotli_bit_stream.h | 35 HuffmanTree* tree, size_t* storage_ix, uint8_t* storage);
|
D | compress_fragment_two_pass.c | 74 HuffmanTree tree[129]; in BuildAndStoreCommandPrefixCode()
|
D | compress_fragment.c | 131 HuffmanTree tree[129]; in BuildAndStoreCommandPrefixCode()
|
/external/webp/src/utils/ |
D | huffman_encode_utils.c | 123 const HuffmanTree* const t1 = (const HuffmanTree*)ptr1; in CompareHuffmanTrees() 124 const HuffmanTree* const t2 = (const HuffmanTree*)ptr2; in CompareHuffmanTrees() 135 static void SetBitDepths(const HuffmanTree* const tree, in SetBitDepths() 136 const HuffmanTree* const pool, in SetBitDepths() 167 HuffmanTree* tree, int tree_depth_limit, in GenerateOptimalTree() 170 HuffmanTree* tree_pool; in GenerateOptimalTree() 408 HuffmanTree* const huff_tree, in VP8LCreateHuffmanTree()
|
D | huffman_encode_utils.h | 42 } HuffmanTree; typedef 53 uint8_t* const buf_rle, HuffmanTree* const huff_tree,
|
/external/zopfli/src/zopflipng/lodepng/ |
D | lodepng_util.cpp | 308 struct HuffmanTree struct 383 …void generateFixedTrees(HuffmanTree& tree, HuffmanTree& treeD) //get the tree of a deflated block … in generateFixedTrees() 393 HuffmanTree codetree, codetreeD, codelengthcodetree; 394 …unsigned long huffmanDecodeSymbol(const unsigned char* in, size_t& bp, const HuffmanTree& codetree… in huffmanDecodeSymbol() 407 void getTreeInflateDynamic(HuffmanTree& tree, HuffmanTree& treeD, in getTreeInflateDynamic()
|
D | lodepng.cpp | 486 typedef struct HuffmanTree struct 493 } HuffmanTree; argument 508 static void HuffmanTree_init(HuffmanTree* tree) in HuffmanTree_init() 515 static void HuffmanTree_cleanup(HuffmanTree* tree) in HuffmanTree_cleanup() 523 static unsigned HuffmanTree_make2DTree(HuffmanTree* tree) in HuffmanTree_make2DTree() 587 static unsigned HuffmanTree_makeFromLengths2(HuffmanTree* tree) in HuffmanTree_makeFromLengths2() 631 static unsigned HuffmanTree_makeFromLengths(HuffmanTree* tree, const unsigned* bitlen, in HuffmanTree_makeFromLengths() 834 static unsigned HuffmanTree_makeFromFrequencies(HuffmanTree* tree, const unsigned* frequencies, in HuffmanTree_makeFromFrequencies() 851 static unsigned HuffmanTree_getCode(const HuffmanTree* tree, unsigned index) in HuffmanTree_getCode() 856 static unsigned HuffmanTree_getLength(const HuffmanTree* tree, unsigned index) in HuffmanTree_getLength() [all …]
|
/external/webp/src/enc/ |
D | vp8l_enc.c | 481 HuffmanTree* huff_tree = NULL; in GetHuffBitLengthsAndCodes() 520 huff_tree = (HuffmanTree*)WebPSafeMalloc(3ULL * max_num_symbols, in GetHuffBitLengthsAndCodes() 608 HuffmanTree* const huff_tree, in StoreFullHuffmanCode() 676 HuffmanTree* const huff_tree, in StoreHuffmanCode() 807 HuffmanTree* const huff_tree = (HuffmanTree*)WebPSafeMalloc( in EncodeImageNoHuffman() 892 HuffmanTree* const huff_tree = (HuffmanTree*)WebPSafeMalloc( in EncodeImageInternal()
|