Searched refs:avg_bitrate (Results 1 – 1 of 1) sorted by relevance
78 int64_t avg_bitrate = 0; in update_rate_histogram() local106 avg_bitrate = sum_sz * 8 * 1000 / (now - then); in update_rate_histogram()107 idx = (int)(avg_bitrate * (RATE_BINS / 2) / (cfg->rc_target_bitrate * 1000)); in update_rate_histogram()112 if (hist->bucket[idx].low > avg_bitrate) in update_rate_histogram()113 hist->bucket[idx].low = (int)avg_bitrate; in update_rate_histogram()114 if (hist->bucket[idx].high < avg_bitrate) in update_rate_histogram()115 hist->bucket[idx].high = (int)avg_bitrate; in update_rate_histogram()