Lines Matching defs:max_bits
349 int max_bits;
353 * tighten up on max_bits.
362 max_bits = (int)(cpi->av_per_frame_bandwidth * ((double)cpi->oxcf.two_pass_vbrmax_section / 100.0));
367 /* The lower of max_bits / 4 or cpi->av_per_frame_bandwidth / 4. */
368 int min_max_bits = ((cpi->av_per_frame_bandwidth >> 2) < (max_bits >> 2)) ? cpi->av_per_frame_bandwidth >> 2 : max_bits >> 2;
370 max_bits = (int)(max_bits * buffer_fullness_ratio);
375 if (max_bits < min_max_bits)
376 max_bits = min_max_bits;
385 max_bits = (int)(((double)cpi->twopass.bits_left / (cpi->twopass.total_stats.count - (double)cpi->common.current_video_frame)) * ((double)cpi->oxcf.two_pass_vbrmax_section / 100.0));
389 if (max_bits < 0)
390 max_bits = 0;
392 return max_bits;
1762 int max_bits = frame_max_bits(cpi); /* Max for a single frame */
2141 (int64_t)max_bits * cpi->baseline_gf_interval)
2143 (int64_t)max_bits * cpi->baseline_gf_interval;
2366 int max_bits = frame_max_bits(cpi); /* Max for a single frame */
2380 /* Clip to target size to 0 - max_bits (or cpi->twopass.gf_group_bits)
2387 if (target_frame_size > max_bits)
2388 target_frame_size = max_bits;
2896 int max_bits = frame_max_bits(cpi);
2909 max_grp_bits = (int64_t)max_bits * (int64_t)cpi->twopass.frames_to_key;