Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp8/encoder/
Dratectrl.c1156 int target_bits_per_mb; in vp8_regulate_q() local
1178 target_bits_per_mb = (target_bits_per_frame / cpi->common.MBs) in vp8_regulate_q()
1181 target_bits_per_mb = in vp8_regulate_q()
1192 if (bits_per_mb_at_this_q <= target_bits_per_mb) { in vp8_regulate_q()
1193 if ((target_bits_per_mb - bits_per_mb_at_this_q) <= last_error) { in vp8_regulate_q()
1201 last_error = bits_per_mb_at_this_q - target_bits_per_mb; in vp8_regulate_q()
1263 if (bits_per_mb_at_this_q <= target_bits_per_mb) break; in vp8_regulate_q()
1492 int target_bits_per_mb; in vp8_drop_encodedframe_overshoot() local
1507 target_bits_per_mb = (target_size / cpi->common.MBs) in vp8_drop_encodedframe_overshoot()
1510 target_bits_per_mb = in vp8_drop_encodedframe_overshoot()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ratectrl.c555 int i, target_bits_per_mb, bits_per_mb_at_this_q; in vp9_rc_regulate_q() local
560 target_bits_per_mb = in vp9_rc_regulate_q()
576 if (bits_per_mb_at_this_q <= target_bits_per_mb) { in vp9_rc_regulate_q()
577 if ((target_bits_per_mb - bits_per_mb_at_this_q) <= last_error) in vp9_rc_regulate_q()
584 last_error = bits_per_mb_at_this_q - target_bits_per_mb; in vp9_rc_regulate_q()
1829 const int target_bits_per_mb = (int)(rate_target_ratio * base_bits_per_mb); in vp9_compute_qdelta_by_rate() local
1834 target_bits_per_mb) { in vp9_compute_qdelta_by_rate()
2450 int target_bits_per_mb; in vp9_encodedframe_overshoot() local
2466 target_bits_per_mb = in vp9_encodedframe_overshoot()
2473 new_correction_factor = (double)target_bits_per_mb * q2 / enumerator; in vp9_encodedframe_overshoot()