Home
last modified time | relevance | path

Searched refs:min_frame_target (Results 1 – 2 of 2) sorted by relevance

/external/libvpx/libvpx/vp8/encoder/
Dratectrl.c608 int min_frame_target; in calc_pframe_target_size() local
615 min_frame_target = 0; in calc_pframe_target_size()
619 min_frame_target = cpi->min_frame_bandwidth; in calc_pframe_target_size()
621 if (min_frame_target < (cpi->av_per_frame_bandwidth >> 5)) in calc_pframe_target_size()
622 min_frame_target = cpi->av_per_frame_bandwidth >> 5; in calc_pframe_target_size()
624 else if (min_frame_target < cpi->per_frame_bandwidth / 4) in calc_pframe_target_size()
625 min_frame_target = cpi->per_frame_bandwidth / 4; in calc_pframe_target_size()
661 if (Adjustment > (cpi->per_frame_bandwidth - min_frame_target)) in calc_pframe_target_size()
662 Adjustment = (cpi->per_frame_bandwidth - min_frame_target); in calc_pframe_target_size()
672 if (cpi->this_frame_target < min_frame_target) in calc_pframe_target_size()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ratectrl.c118 const int min_frame_target = MAX(rc->min_frame_bandwidth, in vp9_rc_clamp_pframe_target_size() local
120 if (target < min_frame_target) in vp9_rc_clamp_pframe_target_size()
121 target = min_frame_target; in vp9_rc_clamp_pframe_target_size()
127 target = min_frame_target; in vp9_rc_clamp_pframe_target_size()
1177 int min_frame_target = MAX(rc->avg_frame_bandwidth >> 4, FRAME_OVERHEAD_BITS); in calc_pframe_target_size_one_pass_cbr() local
1187 min_frame_target = MAX(lc->avg_frame_size >> 4, FRAME_OVERHEAD_BITS); in calc_pframe_target_size_one_pass_cbr()
1198 return MAX(min_frame_target, target); in calc_pframe_target_size_one_pass_cbr()