Lines Matching refs:max_bits
348 int max_bits; in frame_max_bits() local
361 …max_bits = (int)(cpi->av_per_frame_bandwidth * ((double)cpi->oxcf.two_pass_vbrmax_section / 100.0)… in frame_max_bits()
367 …bits = ((cpi->av_per_frame_bandwidth >> 2) < (max_bits >> 2)) ? cpi->av_per_frame_bandwidth >> 2 :… in frame_max_bits()
369 max_bits = (int)(max_bits * buffer_fullness_ratio); in frame_max_bits()
374 if (max_bits < min_max_bits) in frame_max_bits()
375 max_bits = min_max_bits; in frame_max_bits()
384 …max_bits = (int)(((double)cpi->twopass.bits_left / (cpi->twopass.total_stats.count - (double)cpi->… in frame_max_bits()
388 if (max_bits < 0) in frame_max_bits()
389 max_bits = 0; in frame_max_bits()
391 return max_bits; in frame_max_bits()
1755 int max_bits = frame_max_bits(cpi); /* Max for a single frame */ in define_gf_group() local
2133 if (cpi->twopass.gf_group_bits > max_bits * cpi->baseline_gf_interval) in define_gf_group()
2134 cpi->twopass.gf_group_bits = max_bits * cpi->baseline_gf_interval; in define_gf_group()
2357 int max_bits = frame_max_bits(cpi); /* Max for a single frame */ in assign_std_frame_bits() local
2378 if (target_frame_size > max_bits) in assign_std_frame_bits()
2379 target_frame_size = max_bits; in assign_std_frame_bits()
2886 int max_bits = frame_max_bits(cpi); in find_next_key_frame() local
2899 max_grp_bits = (int64_t)max_bits * (int64_t)cpi->twopass.frames_to_key; in find_next_key_frame()