Home | History | Annotate | Download | only in enc

Lines Matching refs:histo

57 void VP8LFreeHistogram(VP8LHistogram* const histo) {
58 WebPSafeFree(histo);
61 void VP8LFreeHistogramSet(VP8LHistogramSet* const histo) {
62 WebPSafeFree(histo);
66 VP8LHistogram* const histo) {
69 VP8LHistogramAddSinglePixOrCopy(histo, c.cur_pos);
90 VP8LHistogram* histo = NULL;
94 histo = (VP8LHistogram*)memory;
96 histo->literal_ = (uint32_t*)(memory + sizeof(VP8LHistogram));
97 VP8LHistogramInit(histo, cache_bits);
98 return histo;
129 void VP8LHistogramAddSinglePixOrCopy(VP8LHistogram* const histo,
132 ++histo->alpha_[PixOrCopyLiteral(v, 3)];
133 ++histo->red_[PixOrCopyLiteral(v, 2)];
134 ++histo->literal_[PixOrCopyLiteral(v, 1)];
135 ++histo->blue_[PixOrCopyLiteral(v, 0)];
139 ++histo->literal_[literal_ix];
143 ++histo->literal_[NUM_LITERAL_CODES + code];
145 ++histo->distance_[code];
432 // Construct the Histo from a given backward references.
454 VP8LHistogram* const histo = orig_histograms[i];
455 UpdateHistogramCost(histo);
457 HistogramCopy(histo, histograms[i]);
474 VP8LHistogram* const histo = histograms[i];
475 UpdateDominantCostRange(histo, &cost_range);
482 VP8LHistogram* const histo = histograms[i];
483 const int16_t bin_id = (int16_t)GetHistoBinIndex(histo, &cost_range);