Lines Matching defs:stats
38 StatsArray* stats;
100 static int Record(int bit, proba_t* const stats) {
101 proba_t p = *stats;
103 p = ((p + 1u) >> 1) & 0x7fff7fffu; // -> divide the stats by 2.
107 *stats = p;
118 // should be stats[VP8EncBands[n]], but it's equivalent for n=0 or 1
119 proba_t* s = res->stats[n][ctx];
129 s = res->stats[VP8EncBands[n]][0];
133 s = res->stats[VP8EncBands[n]][1];
161 s = res->stats[VP8EncBands[n]][2];
188 const proba_t stats = proba->stats_[t][b][c][p];
189 const int nb = (stats >> 0) & 0xffff;
190 const int total = (stats >> 16) & 0xffff;
233 if (enc->pic_->stats != NULL) {
235 enc->pic_->stats->segment_size[n] = p[n];
264 res->stats = enc->proba_.stats_[coeff_type];
658 if (pic->stats != NULL) {
764 if (method == 3) { // we need more stats for method 3 to be reliable.
838 if (enc->pic_->stats) { // finalize byte counters...
846 VP8AdjustFilterStrength(it); // ...and store filter stats.
871 StatLoop(enc); // stats-collection loop
907 #define MIN_COUNT 96 // minimum number of macroblocks before updating stats