Home | History | Annotate | Download | only in enc

Lines Matching defs:histo

113 static int GetAlpha(const VP8Histogram* const histo) {
117 const int max_value = histo->max_value;
118 const int last_non_zero = histo->last_non_zero;
124 static void InitHistogram(VP8Histogram* const histo) {
125 histo->max_value = 0;
126 histo->last_non_zero = 1;
154 // 'int' type is ok for histo, and won't overflow
248 VP8Histogram histo;
251 InitHistogram(&histo);
254 0, 16, &histo);
255 alpha = GetAlpha(&histo);
292 cur_histo ^= 1; // keep track of best histo so far.
316 VP8Histogram histo;
318 InitHistogram(&histo);
321 16, 16 + 4 + 4, &histo);
322 alpha = GetAlpha(&histo);