Searched refs:avg_bitrate (Results 1 – 2 of 2) sorted by relevance
78 int64_t avg_bitrate = 0; in update_rate_histogram() local105 avg_bitrate = sum_sz * 8 * 1000 / (now - then); in update_rate_histogram()106 idx = (int)(avg_bitrate * (RATE_BINS / 2) / (cfg->rc_target_bitrate * 1000)); in update_rate_histogram()109 if (hist->bucket[idx].low > avg_bitrate) in update_rate_histogram()110 hist->bucket[idx].low = (int)avg_bitrate; in update_rate_histogram()111 if (hist->bucket[idx].high < avg_bitrate) in update_rate_histogram()112 hist->bucket[idx].high = (int)avg_bitrate; in update_rate_histogram()
83 int64_t avg_bitrate = 0; in update_rate_histogram() local114 avg_bitrate = sum_sz * 8 * 1000 / (now - then); in update_rate_histogram()115 idx = (int)(avg_bitrate * (RATE_BINS / 2) / (cfg->rc_target_bitrate * 1000)); in update_rate_histogram()118 if (hist->bucket[idx].low > avg_bitrate) in update_rate_histogram()119 hist->bucket[idx].low = (int)avg_bitrate; in update_rate_histogram()120 if (hist->bucket[idx].high < avg_bitrate) in update_rate_histogram()121 hist->bucket[idx].high = (int)avg_bitrate; in update_rate_histogram()