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.c1251 int target_bits_per_mb; in vp8_regulate_q() local
1273 target_bits_per_mb = (target_bits_per_frame / cpi->common.MBs) << BPER_MB_NORMBITS; in vp8_regulate_q()
1275 target_bits_per_mb = (target_bits_per_frame << BPER_MB_NORMBITS) / cpi->common.MBs; in vp8_regulate_q()
1283 if (bits_per_mb_at_this_q <= target_bits_per_mb) in vp8_regulate_q()
1285 if ((target_bits_per_mb - bits_per_mb_at_this_q) <= last_error) in vp8_regulate_q()
1293 last_error = bits_per_mb_at_this_q - target_bits_per_mb; in vp8_regulate_q()
1355 if (bits_per_mb_at_this_q <= target_bits_per_mb) in vp8_regulate_q()
1598 int target_bits_per_mb; in vp8_drop_encodedframe_overshoot() local
1615 target_bits_per_mb = in vp8_drop_encodedframe_overshoot()
1618 target_bits_per_mb = in vp8_drop_encodedframe_overshoot()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ratectrl.c530 int i, target_bits_per_mb, bits_per_mb_at_this_q; in vp9_rc_regulate_q() local
535 target_bits_per_mb = in vp9_rc_regulate_q()
552 if (bits_per_mb_at_this_q <= target_bits_per_mb) { in vp9_rc_regulate_q()
553 if ((target_bits_per_mb - bits_per_mb_at_this_q) <= last_error) in vp9_rc_regulate_q()
560 last_error = bits_per_mb_at_this_q - target_bits_per_mb; in vp9_rc_regulate_q()
1701 const int target_bits_per_mb = (int)(rate_target_ratio * base_bits_per_mb); in vp9_compute_qdelta_by_rate() local
1706 target_bits_per_mb) { in vp9_compute_qdelta_by_rate()
2019 int target_bits_per_mb; in vp9_encodedframe_overshoot() local
2035 target_bits_per_mb = ((uint64_t)target_size << BPER_MB_NORMBITS) / cm->MBs; in vp9_encodedframe_overshoot()
2041 new_correction_factor = (double)target_bits_per_mb * q2 / enumerator; in vp9_encodedframe_overshoot()