Home
last modified time | relevance | path

Searched refs:correction_factor (Results 1 – 4 of 4) sorted by relevance

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dratectrl.c326 double correction_factor) in estimate_bits_at_q() argument
328 int Bpm = (int)(.5 + correction_factor * vp8_bits_per_mb[frame_kind][Q]); in estimate_bits_at_q()
1104 int correction_factor = 100; in vp8_update_rate_correction_factors() local
1154 correction_factor = (100 * cpi->projected_frame_size) / projected_size_based_on_q; in vp8_update_rate_correction_factors()
1173 if (correction_factor > 102) in vp8_update_rate_correction_factors()
1176 correction_factor = (int)(100.5 + ((correction_factor - 100) * adjustment_limit)); in vp8_update_rate_correction_factors()
1177 rate_correction_factor = ((rate_correction_factor * correction_factor) / 100); in vp8_update_rate_correction_factors()
1183 else if (correction_factor < 99) in vp8_update_rate_correction_factors()
1186 correction_factor = (int)(100.5 - ((100 - correction_factor) * adjustment_limit)); in vp8_update_rate_correction_factors()
1187 rate_correction_factor = ((rate_correction_factor * correction_factor) / 100); in vp8_update_rate_correction_factors()
[all …]
Dfirstpass.c958 double correction_factor; in calc_correction_factor() local
968 correction_factor = pow(error_term, power_term); in calc_correction_factor()
971 correction_factor = in calc_correction_factor()
972 (correction_factor < 0.05) in calc_correction_factor()
973 ? 0.05 : (correction_factor > 5.0) ? 5.0 : correction_factor; in calc_correction_factor()
975 return correction_factor; in calc_correction_factor()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_ratectrl.c100 double correction_factor) { in vp9_rc_bits_per_mb() argument
106 return (int)(0.5 + (enumerator * correction_factor / q)); in vp9_rc_bits_per_mb()
155 double correction_factor) { in estimate_bits_at_q() argument
156 const int bpm = (int)(vp9_rc_bits_per_mb(frame_kind, q, correction_factor)); in estimate_bits_at_q()
303 int correction_factor = 100; in vp9_rc_update_rate_correction_factors() local
320 correction_factor = (100 * cpi->rc.projected_frame_size) / in vp9_rc_update_rate_correction_factors()
338 if (correction_factor > 102) { in vp9_rc_update_rate_correction_factors()
340 correction_factor = in vp9_rc_update_rate_correction_factors()
341 (int)(100 + ((correction_factor - 100) * adjustment_limit)); in vp9_rc_update_rate_correction_factors()
343 ((rate_correction_factor * correction_factor) / 100); in vp9_rc_update_rate_correction_factors()
[all …]
Dvp9_ratectrl.h155 double correction_factor);