Lines Matching refs:histo
57 void VP8LFreeHistogram(VP8LHistogram* const histo) { in VP8LFreeHistogram() argument
58 WebPSafeFree(histo); in VP8LFreeHistogram()
61 void VP8LFreeHistogramSet(VP8LHistogramSet* const histo) { in VP8LFreeHistogramSet() argument
62 WebPSafeFree(histo); in VP8LFreeHistogramSet()
66 VP8LHistogram* const histo) { in VP8LHistogramStoreRefs() argument
69 VP8LHistogramAddSinglePixOrCopy(histo, c.cur_pos); in VP8LHistogramStoreRefs()
90 VP8LHistogram* histo = NULL; in VP8LAllocateHistogram() local
94 histo = (VP8LHistogram*)memory; in VP8LAllocateHistogram()
96 histo->literal_ = (uint32_t*)(memory + sizeof(VP8LHistogram)); in VP8LAllocateHistogram()
97 VP8LHistogramInit(histo, cache_bits); in VP8LAllocateHistogram()
98 return histo; in VP8LAllocateHistogram()
129 void VP8LHistogramAddSinglePixOrCopy(VP8LHistogram* const histo, in VP8LHistogramAddSinglePixOrCopy() argument
132 ++histo->alpha_[PixOrCopyLiteral(v, 3)]; in VP8LHistogramAddSinglePixOrCopy()
133 ++histo->red_[PixOrCopyLiteral(v, 2)]; in VP8LHistogramAddSinglePixOrCopy()
134 ++histo->literal_[PixOrCopyLiteral(v, 1)]; in VP8LHistogramAddSinglePixOrCopy()
135 ++histo->blue_[PixOrCopyLiteral(v, 0)]; in VP8LHistogramAddSinglePixOrCopy()
139 ++histo->literal_[literal_ix]; in VP8LHistogramAddSinglePixOrCopy()
143 ++histo->literal_[NUM_LITERAL_CODES + code]; in VP8LHistogramAddSinglePixOrCopy()
145 ++histo->distance_[code]; in VP8LHistogramAddSinglePixOrCopy()
454 VP8LHistogram* const histo = orig_histograms[i]; in HistogramCopyAndAnalyze() local
455 UpdateHistogramCost(histo); in HistogramCopyAndAnalyze()
457 HistogramCopy(histo, histograms[i]); in HistogramCopyAndAnalyze()
474 VP8LHistogram* const histo = histograms[i]; in HistogramAnalyzeEntropyBin() local
475 UpdateDominantCostRange(histo, &cost_range); in HistogramAnalyzeEntropyBin()
482 VP8LHistogram* const histo = histograms[i]; in HistogramAnalyzeEntropyBin() local
483 const int16_t bin_id = (int16_t)GetHistoBinIndex(histo, &cost_range); in HistogramAnalyzeEntropyBin()