Searched refs:max_bits (Results 1 – 2 of 2) sorted by relevance
349 int max_bits; in frame_max_bits() local362 …max_bits = (int)(cpi->av_per_frame_bandwidth * ((double)cpi->oxcf.two_pass_vbrmax_section / 100.0)… in frame_max_bits()368 …bits = ((cpi->av_per_frame_bandwidth >> 2) < (max_bits >> 2)) ? cpi->av_per_frame_bandwidth >> 2 :… in frame_max_bits()370 max_bits = (int)(max_bits * buffer_fullness_ratio); in frame_max_bits()375 if (max_bits < min_max_bits) in frame_max_bits()376 max_bits = min_max_bits; in frame_max_bits()385 …max_bits = (int)(((double)cpi->twopass.bits_left / (cpi->twopass.total_stats.count - (double)cpi->… in frame_max_bits()389 if (max_bits < 0) in frame_max_bits()390 max_bits = 0; in frame_max_bits()392 return max_bits; in frame_max_bits()[all …]
337 int64_t max_bits = in frame_max_bits() local341 if (max_bits < 0) in frame_max_bits()342 max_bits = 0; in frame_max_bits()343 else if (max_bits > cpi->rc.max_frame_bandwidth) in frame_max_bits()344 max_bits = cpi->rc.max_frame_bandwidth; in frame_max_bits()346 return (int)max_bits; in frame_max_bits()1427 const int max_bits = frame_max_bits(cpi); // Max bits for a single frame. in define_gf_group() local1658 if (twopass->gf_group_bits > (int64_t)max_bits * rc->baseline_gf_interval) in define_gf_group()1659 twopass->gf_group_bits = (int64_t)max_bits * rc->baseline_gf_interval; in define_gf_group()1795 const int max_bits = frame_max_bits(cpi); // Max for a single frame. in assign_std_frame_bits() local[all …]