• Home
  • Raw
  • Download

Lines Matching refs:histo

69 void VP8LFreeHistogram(VP8LHistogram* const histo) {  in VP8LFreeHistogram()  argument
70 WebPSafeFree(histo); in VP8LFreeHistogram()
73 void VP8LFreeHistogramSet(VP8LHistogramSet* const histo) { in VP8LFreeHistogramSet() argument
74 WebPSafeFree(histo); in VP8LFreeHistogramSet()
78 VP8LHistogram* const histo) { in VP8LHistogramStoreRefs() argument
81 VP8LHistogramAddSinglePixOrCopy(histo, c.cur_pos, NULL, 0); in VP8LHistogramStoreRefs()
112 VP8LHistogram* histo = NULL; in VP8LAllocateHistogram() local
116 histo = (VP8LHistogram*)memory; in VP8LAllocateHistogram()
118 histo->literal_ = (uint32_t*)(memory + sizeof(VP8LHistogram)); in VP8LAllocateHistogram()
119 VP8LHistogramInit(histo, cache_bits, /*init_arrays=*/ 0); in VP8LAllocateHistogram()
120 return histo; in VP8LAllocateHistogram()
199 void VP8LHistogramAddSinglePixOrCopy(VP8LHistogram* const histo, in VP8LHistogramAddSinglePixOrCopy() argument
204 ++histo->alpha_[PixOrCopyLiteral(v, 3)]; in VP8LHistogramAddSinglePixOrCopy()
205 ++histo->red_[PixOrCopyLiteral(v, 2)]; in VP8LHistogramAddSinglePixOrCopy()
206 ++histo->literal_[PixOrCopyLiteral(v, 1)]; in VP8LHistogramAddSinglePixOrCopy()
207 ++histo->blue_[PixOrCopyLiteral(v, 0)]; in VP8LHistogramAddSinglePixOrCopy()
211 assert(histo->palette_code_bits_ != 0); in VP8LHistogramAddSinglePixOrCopy()
212 ++histo->literal_[literal_ix]; in VP8LHistogramAddSinglePixOrCopy()
216 ++histo->literal_[NUM_LITERAL_CODES + code]; in VP8LHistogramAddSinglePixOrCopy()
224 ++histo->distance_[code]; in VP8LHistogramAddSinglePixOrCopy()
592 VP8LHistogram* const histo = orig_histograms[i]; in HistogramCopyAndAnalyze() local
593 UpdateHistogramCost(histo); in HistogramCopyAndAnalyze()
597 if (!histo->is_used_[0] && !histo->is_used_[1] && !histo->is_used_[2] in HistogramCopyAndAnalyze()
598 && !histo->is_used_[3] && !histo->is_used_[4]) { in HistogramCopyAndAnalyze()
608 HistogramCopy(histo, histograms[i]); in HistogramCopyAndAnalyze()