Home
last modified time | relevance | path

Searched refs:HuffmanTree (Results 1 - 17 of 17) sorted by relevance

/third_party/node/deps/brotli/c/enc/
H A Dentropy_encode.h20 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 tm in SortHuffmanTreeItems()
[all...]
H A Dentropy_encode.c24 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()
H A Dbrotli_bit_stream.c284 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* tre in BuildAndStoreBlockSplitCode()
[all...]
H A Dblock_encoder_inc.h16 const size_t alphabet_size, HuffmanTree* tree, in BuildAndStoreEntropyCodes()
H A Dbrotli_bit_stream.h35 HuffmanTree* tree, size_t* storage_ix, uint8_t* storage);
H A Dcompress_fragment.c131 HuffmanTree tree[129]; in BuildAndStoreCommandPrefixCode()
H A Dcompress_fragment_two_pass.c74 HuffmanTree tree[129]; in BuildAndStoreCommandPrefixCode()
/third_party/skia/third_party/externals/brotli/c/enc/
H A Dentropy_encode.h20 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 tm in SortHuffmanTreeItems()
[all...]
H A Dentropy_encode.c24 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()
H A Dbrotli_bit_stream.c284 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* tre in BuildAndStoreBlockSplitCode()
[all...]
H A Dblock_encoder_inc.h16 const size_t alphabet_size, HuffmanTree* tree, in BuildAndStoreEntropyCodes()
H A Dbrotli_bit_stream.h35 HuffmanTree* tree, size_t* storage_ix, uint8_t* storage);
H A Dcompress_fragment.c131 HuffmanTree tree[129]; in BuildAndStoreCommandPrefixCode()
H A Dcompress_fragment_two_pass.c74 HuffmanTree tree[129]; in BuildAndStoreCommandPrefixCode()
/third_party/skia/third_party/externals/libwebp/src/utils/
H A Dhuffman_encode_utils.c123 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()
407 uint8_t* const buf_rle, HuffmanTree* const huff_tree, in VP8LCreateHuffmanTree()
H A Dhuffman_encode_utils.h42 } HuffmanTree; typedef
53 uint8_t* const buf_rle, HuffmanTree* const huff_tree,
/third_party/skia/third_party/externals/libwebp/src/enc/
H A Dvp8l_enc.c700 HuffmanTree* huff_tree = NULL; in GetHuffBitLengthsAndCodes()
739 huff_tree = (HuffmanTree*)WebPSafeMalloc(3ULL * max_num_symbols, in GetHuffBitLengthsAndCodes()
827 HuffmanTree* const huff_tree, in StoreFullHuffmanCode()
895 HuffmanTree* const huff_tree, in StoreHuffmanCode()
1026 HuffmanTree* const huff_tree = (HuffmanTree*)WebPSafeMalloc( in EncodeImageNoHuffman()
1111 HuffmanTree* const huff_tree = (HuffmanTree*)WebPSafeMalloc( in EncodeImageInternal()

Completed in 18 milliseconds