Lines Matching refs:max_bits
245 int max_bits; in frame_max_bits() local
254 …max_bits = (int)(cpi->av_per_frame_bandwidth * ((double)cpi->oxcf.two_pass_vbrmax_section / 100.0)… in frame_max_bits()
260 …bits = ((cpi->av_per_frame_bandwidth >> 2) < (max_bits >> 2)) ? cpi->av_per_frame_bandwidth >> 2 :… in frame_max_bits()
262 max_bits = (int)(max_bits * buffer_fullness_ratio); in frame_max_bits()
264 if (max_bits < min_max_bits) in frame_max_bits()
265 …max_bits = min_max_bits; // Lowest value we will set ... which should allow the buffer to re… in frame_max_bits()
272 …max_bits = (int)(((double)cpi->bits_left / (cpi->total_stats->count - (double)cpi->common.current_… in frame_max_bits()
276 if (max_bits < 0) in frame_max_bits()
277 max_bits = 0; in frame_max_bits()
279 return max_bits; in frame_max_bits()
1366 int max_bits = frame_max_bits(cpi); // Max for a single frame in define_gf_group() local
1721 if (cpi->gf_group_bits > max_bits * cpi->baseline_gf_interval) in define_gf_group()
1722 cpi->gf_group_bits = max_bits * cpi->baseline_gf_interval; in define_gf_group()
1911 int max_bits = frame_max_bits(cpi); // Max for a single frame in assign_std_frame_bits() local
1934 if (target_frame_size > max_bits) in assign_std_frame_bits()
1935 target_frame_size = max_bits; in assign_std_frame_bits()
2424 int max_bits = frame_max_bits(cpi); in find_next_key_frame() local
2436 max_grp_bits = (long long)max_bits * (long long)cpi->frames_to_key; in find_next_key_frame()