Lines Matching refs:histograms
342 size_t num_symbols, BlockSplit* split, HistogramLiteral** histograms, in InitContextBlockSplitter() argument
372 BROTLI_DCHECK(*histograms == 0); in InitContextBlockSplitter()
374 *histograms = BROTLI_ALLOC(m, HistogramLiteral, *histograms_size); in InitContextBlockSplitter()
375 self->histograms_ = *histograms; in InitContextBlockSplitter()
391 HistogramLiteral* histograms = self->histograms_; in ContextBlockSplitterFinishBlock() local
404 BitsEntropy(histograms[i].data_, self->alphabet_size_); in ContextBlockSplitterFinishBlock()
430 entropy[i] = BitsEntropy(histograms[curr_histo_ix].data_, in ContextBlockSplitterFinishBlock()
435 combined_histo[jx] = histograms[curr_histo_ix]; in ContextBlockSplitterFinishBlock()
437 &histograms[last_histogram_ix]); in ContextBlockSplitterFinishBlock()
472 histograms[self->last_histogram_ix_[0] + i] = in ContextBlockSplitterFinishBlock()
476 HistogramClearLiteral(&histograms[self->curr_histogram_ix_ + i]); in ContextBlockSplitterFinishBlock()
486 histograms[self->last_histogram_ix_[0] + i] = combined_histo[i]; in ContextBlockSplitterFinishBlock()
491 HistogramClearLiteral(&histograms[self->curr_histogram_ix_ + i]); in ContextBlockSplitterFinishBlock()