Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp8/encoder/
Dratectrl.c1155 int target_bits_per_mb; in vp8_regulate_q() local
1177 target_bits_per_mb = (target_bits_per_frame / cpi->common.MBs) in vp8_regulate_q()
1180 target_bits_per_mb = in vp8_regulate_q()
1191 if (bits_per_mb_at_this_q <= target_bits_per_mb) { in vp8_regulate_q()
1192 if ((target_bits_per_mb - bits_per_mb_at_this_q) <= last_error) { in vp8_regulate_q()
1200 last_error = bits_per_mb_at_this_q - target_bits_per_mb; in vp8_regulate_q()
1262 if (bits_per_mb_at_this_q <= target_bits_per_mb) break; in vp8_regulate_q()
1491 int target_bits_per_mb; in vp8_drop_encodedframe_overshoot() local
1506 target_bits_per_mb = (target_size / cpi->common.MBs) in vp8_drop_encodedframe_overshoot()
1509 target_bits_per_mb = in vp8_drop_encodedframe_overshoot()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ratectrl.c807 int i, target_bits_per_mb, bits_per_mb_at_this_q; in vp9_rc_regulate_q() local
812 target_bits_per_mb = in vp9_rc_regulate_q()
829 if (bits_per_mb_at_this_q <= target_bits_per_mb) { in vp9_rc_regulate_q()
830 if ((target_bits_per_mb - bits_per_mb_at_this_q) <= last_error) in vp9_rc_regulate_q()
837 last_error = bits_per_mb_at_this_q - target_bits_per_mb; in vp9_rc_regulate_q()
2341 const int target_bits_per_mb = (int)(rate_target_ratio * base_bits_per_mb); in vp9_compute_qdelta_by_rate() local
2346 target_bits_per_mb) { in vp9_compute_qdelta_by_rate()
3015 int target_bits_per_mb; in vp9_encodedframe_overshoot() local
3054 target_bits_per_mb = in vp9_encodedframe_overshoot()
3061 new_correction_factor = (double)target_bits_per_mb * q2 / enumerator; in vp9_encodedframe_overshoot()
/external/libaom/libaom/av1/encoder/
Dratectrl.c558 const int target_bits_per_mb = in av1_rc_regulate_q() local
562 find_closest_qindex_by_rate(target_bits_per_mb, cpi, correction_factor, in av1_rc_regulate_q()
1758 const int target_bits_per_mb = (int)(rate_target_ratio * base_bits_per_mb); in av1_compute_qdelta_by_rate() local
1761 find_qindex_by_rate(target_bits_per_mb, bit_depth, frame_type, in av1_compute_qdelta_by_rate()