Home
last modified time | relevance | path

Searched refs:total_count_ (Results 1 - 16 of 16) sorted by relevance

/third_party/node/deps/brotli/c/enc/
H A Dhistogram_inc.h14 size_t total_count_; in FN() local
20 self->total_count_ = 0;
32 ++self->total_count_;
37 self->total_count_ += n;
45 self->total_count_ += v->total_count_;
H A Dentropy_encode.c50 if (v0->total_count_ != v1->total_count_) { in SortHuffmanTree()
51 return TO_BROTLI_BOOL(v0->total_count_ < v1->total_count_); in SortHuffmanTree()
117 if (tree[i].total_count_ <= tree[j].total_count_) { in BrotliCreateHuffmanTree()
124 if (tree[i].total_count_ <= tree[j].total_count_) { in BrotliCreateHuffmanTree()
135 tree[j_end].total_count_ = in BrotliCreateHuffmanTree()
136 tree[left].total_count_ in BrotliCreateHuffmanTree()
[all...]
H A Dbit_cost_inc.h22 if (histogram->total_count_ == 0) { in BrotliPopulationCost()
36 return (kTwoSymbolHistogramCost + (double)histogram->total_count_); in BrotliPopulationCost()
75 const double log2total = FastLog2(histogram->total_count_); in BrotliPopulationCost()
H A Dentropy_encode.h21 uint32_t total_count_; member
28 self->total_count_ = count; in InitHuffmanTree()
H A Dbrotli_bit_stream.c400 return TO_BROTLI_BOOL(v0->total_count_ < v1->total_count_); in SortHuffmanTree()
474 if (tree[i].total_count_ <= tree[j].total_count_) { in BrotliBuildAndStoreHuffmanTreeFast()
481 if (tree[i].total_count_ <= tree[j].total_count_) { in BrotliBuildAndStoreHuffmanTreeFast()
489 node[-1].total_count_ = in BrotliBuildAndStoreHuffmanTreeFast()
490 tree[left].total_count_ + tree[right].total_count_; in BrotliBuildAndStoreHuffmanTreeFast()
1247 lit_histo.total_count_, in BrotliStoreMetaBlockFast()
[all...]
H A Dcluster_inc.h36 if (out[idx1].total_count_ == 0) {
39 } else if (out[idx2].total_count_ == 0) {
159 if (histogram->total_count_ == 0) {
H A Dblock_splitter_inc.h88 insert_cost[i] = FastLog2((uint32_t)histograms[i].total_count_); in FindBlocks()
/third_party/skia/third_party/externals/brotli/c/enc/
H A Dhistogram_inc.h14 size_t total_count_; in FN() local
20 self->total_count_ = 0;
32 ++self->total_count_;
37 self->total_count_ += n;
45 self->total_count_ += v->total_count_;
H A Dentropy_encode.c50 if (v0->total_count_ != v1->total_count_) { in SortHuffmanTree()
51 return TO_BROTLI_BOOL(v0->total_count_ < v1->total_count_); in SortHuffmanTree()
117 if (tree[i].total_count_ <= tree[j].total_count_) { in BrotliCreateHuffmanTree()
124 if (tree[i].total_count_ <= tree[j].total_count_) { in BrotliCreateHuffmanTree()
135 tree[j_end].total_count_ = in BrotliCreateHuffmanTree()
136 tree[left].total_count_ in BrotliCreateHuffmanTree()
[all...]
H A Dbit_cost_inc.h22 if (histogram->total_count_ == 0) { in BrotliPopulationCost()
36 return (kTwoSymbolHistogramCost + (double)histogram->total_count_); in BrotliPopulationCost()
75 const double log2total = FastLog2(histogram->total_count_); in BrotliPopulationCost()
H A Dentropy_encode.h21 uint32_t total_count_; member
28 self->total_count_ = count; in InitHuffmanTree()
H A Dbrotli_bit_stream.c400 return TO_BROTLI_BOOL(v0->total_count_ < v1->total_count_); in SortHuffmanTree()
474 if (tree[i].total_count_ <= tree[j].total_count_) { in BrotliBuildAndStoreHuffmanTreeFast()
481 if (tree[i].total_count_ <= tree[j].total_count_) { in BrotliBuildAndStoreHuffmanTreeFast()
489 node[-1].total_count_ = in BrotliBuildAndStoreHuffmanTreeFast()
490 tree[left].total_count_ + tree[right].total_count_; in BrotliBuildAndStoreHuffmanTreeFast()
1247 lit_histo.total_count_, in BrotliStoreMetaBlockFast()
[all...]
H A Dcluster_inc.h36 if (out[idx1].total_count_ == 0) {
39 } else if (out[idx2].total_count_ == 0) {
159 if (histogram->total_count_ == 0) {
H A Dblock_splitter_inc.h88 insert_cost[i] = FastLog2((uint32_t)histograms[i].total_count_); in FindBlocks()
/third_party/skia/third_party/externals/libwebp/src/utils/
H A Dhuffman_encode_utils.c125 if (t1->total_count_ > t2->total_count_) { in CompareHuffmanTrees()
127 } else if (t1->total_count_ < t2->total_count_) { in CompareHuffmanTrees()
201 tree[idx].total_count_ = count; in GenerateOptimalTree()
218 count = tree_pool[tree_pool_size - 1].total_count_ + in GenerateOptimalTree()
219 tree_pool[tree_pool_size - 2].total_count_; in GenerateOptimalTree()
225 if (tree[k].total_count_ <= count) { in GenerateOptimalTree()
230 tree[k].total_count_ = count; in GenerateOptimalTree()
H A Dhuffman_encode_utils.h38 uint32_t total_count_; // Symbol frequency. member

Completed in 12 milliseconds