Home
last modified time | relevance | path

Searched refs:combined_histo (Results 1 – 6 of 6) sorted by relevance

/third_party/node/deps/brotli/c/enc/
Dmetablock_inc.h107 HistogramType combined_histo[2]; in FN() local
113 combined_histo[j] = histograms[self->curr_histogram_ix_]; in FN()
114 FN(HistogramAddHistogram)(&combined_histo[j], in FN()
117 &combined_histo[j].data_[0], self->alphabet_size_); in FN()
144 histograms[self->last_histogram_ix_[0]] = combined_histo[1]; in FN()
155 histograms[self->last_histogram_ix_[0]] = combined_histo[0]; in FN()
Dmetablock.c417 HistogramLiteral* combined_histo = in ContextBlockSplitterFinishBlock() local
422 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(combined_histo)) return; in ContextBlockSplitterFinishBlock()
431 combined_histo[jx] = histograms[curr_histo_ix]; in ContextBlockSplitterFinishBlock()
432 HistogramAddHistogramLiteral(&combined_histo[jx], in ContextBlockSplitterFinishBlock()
435 &combined_histo[jx].data_[0], self->alphabet_size_); in ContextBlockSplitterFinishBlock()
469 combined_histo[num_contexts + i]; in ContextBlockSplitterFinishBlock()
482 histograms[self->last_histogram_ix_[0] + i] = combined_histo[i]; in ContextBlockSplitterFinishBlock()
494 BROTLI_FREE(m, combined_histo); in ContextBlockSplitterFinishBlock()
Dencode.c432 uint32_t combined_histo[32] = { 0 }; in ShouldUseComplexStaticContextMap() local
451 ++combined_histo[literal >> 3]; in ShouldUseComplexStaticContextMap()
457 entropy[1] = ShannonEntropy(combined_histo, 32, &dummy); in ShouldUseComplexStaticContextMap()
/third_party/skia/third_party/externals/brotli/c/enc/
Dmetablock_inc.h107 HistogramType combined_histo[2]; in FN() local
113 combined_histo[j] = histograms[self->curr_histogram_ix_]; in FN()
114 FN(HistogramAddHistogram)(&combined_histo[j], in FN()
117 &combined_histo[j].data_[0], self->alphabet_size_); in FN()
144 histograms[self->last_histogram_ix_[0]] = combined_histo[1]; in FN()
155 histograms[self->last_histogram_ix_[0]] = combined_histo[0]; in FN()
Dmetablock.c417 HistogramLiteral* combined_histo = in ContextBlockSplitterFinishBlock() local
422 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(combined_histo)) return; in ContextBlockSplitterFinishBlock()
431 combined_histo[jx] = histograms[curr_histo_ix]; in ContextBlockSplitterFinishBlock()
432 HistogramAddHistogramLiteral(&combined_histo[jx], in ContextBlockSplitterFinishBlock()
435 &combined_histo[jx].data_[0], self->alphabet_size_); in ContextBlockSplitterFinishBlock()
469 combined_histo[num_contexts + i]; in ContextBlockSplitterFinishBlock()
482 histograms[self->last_histogram_ix_[0] + i] = combined_histo[i]; in ContextBlockSplitterFinishBlock()
494 BROTLI_FREE(m, combined_histo); in ContextBlockSplitterFinishBlock()
Dencode.c432 uint32_t combined_histo[32] = { 0 }; in ShouldUseComplexStaticContextMap() local
451 ++combined_histo[literal >> 3]; in ShouldUseComplexStaticContextMap()
457 entropy[1] = ShannonEntropy(combined_histo, 32, &dummy); in ShouldUseComplexStaticContextMap()