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.c610 int min_frame_target; in calc_pframe_target_size() local
617 min_frame_target = 0; in calc_pframe_target_size()
621 min_frame_target = cpi->min_frame_bandwidth; in calc_pframe_target_size()
623 if (min_frame_target < (cpi->av_per_frame_bandwidth >> 5)) in calc_pframe_target_size()
624 min_frame_target = cpi->av_per_frame_bandwidth >> 5; in calc_pframe_target_size()
626 else if (min_frame_target < cpi->per_frame_bandwidth / 4) in calc_pframe_target_size()
627 min_frame_target = cpi->per_frame_bandwidth / 4; in calc_pframe_target_size()
663 if (Adjustment > (cpi->per_frame_bandwidth - min_frame_target)) in calc_pframe_target_size()
664 Adjustment = (cpi->per_frame_bandwidth - min_frame_target); in calc_pframe_target_size()
674 if (cpi->this_frame_target < min_frame_target) in calc_pframe_target_size()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ratectrl.c203 const int min_frame_target = VPXMAX(rc->min_frame_bandwidth, in vp9_rc_clamp_pframe_target_size() local
205 if (target < min_frame_target) in vp9_rc_clamp_pframe_target_size()
206 target = min_frame_target; in vp9_rc_clamp_pframe_target_size()
212 target = min_frame_target; in vp9_rc_clamp_pframe_target_size()
1470 int min_frame_target = in calc_pframe_target_size_one_pass_cbr() local
1493 min_frame_target = VPXMAX(lc->avg_frame_size >> 4, FRAME_OVERHEAD_BITS); in calc_pframe_target_size_one_pass_cbr()
1510 return VPXMAX(min_frame_target, target); in calc_pframe_target_size_one_pass_cbr()