Home | History | Annotate | Download | only in enc

Lines Matching refs:histo

66 void VP8LFreeHistogram(VP8LHistogram* const histo) {
67 WebPSafeFree(histo);
70 void VP8LFreeHistogramSet(VP8LHistogramSet* const histo) {
71 WebPSafeFree(histo);
75 VP8LHistogram* const histo) {
78 VP8LHistogramAddSinglePixOrCopy(histo, c.cur_pos);
99 VP8LHistogram* histo = NULL;
103 histo = (VP8LHistogram*)memory;
105 histo->literal_ = (uint32_t*)(memory + sizeof(VP8LHistogram));
106 VP8LHistogramInit(histo, cache_bits);
107 return histo;
139 void VP8LHistogramAddSinglePixOrCopy(VP8LHistogram* const histo,
142 ++histo->alpha_[PixOrCopyLiteral(v, 3)];
143 ++histo->red_[PixOrCopyLiteral(v, 2)];
144 ++histo->literal_[PixOrCopyLiteral(v, 1)];
145 ++histo->blue_[PixOrCopyLiteral(v, 0)];
149 ++histo->literal_[literal_ix];
153 ++histo->literal_[NUM_LITERAL_CODES + code];
155 ++histo->distance_[code];
445 VP8LHistogram* const histo = orig_histograms[i];
446 UpdateHistogramCost(histo);
448 HistogramCopy(histo, histograms[i]);
465 VP8LHistogram* const histo = histograms[i];
466 UpdateDominantCostRange(histo, &cost_range);
473 VP8LHistogram* const histo = histograms[i];
475 (int16_t)GetHistoBinIndexLowEffort(histo, &cost_range) :
476 (int16_t)GetHistoBinIndex(histo, &cost_range);