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.c1238 int target_bits_per_mb; in vp8_regulate_q() local
1260 target_bits_per_mb = (target_bits_per_frame / cpi->common.MBs) << BPER_MB_NORMBITS; in vp8_regulate_q()
1262 target_bits_per_mb = (target_bits_per_frame << BPER_MB_NORMBITS) / cpi->common.MBs; in vp8_regulate_q()
1270 if (bits_per_mb_at_this_q <= target_bits_per_mb) in vp8_regulate_q()
1272 if ((target_bits_per_mb - bits_per_mb_at_this_q) <= last_error) in vp8_regulate_q()
1280 last_error = bits_per_mb_at_this_q - target_bits_per_mb; in vp8_regulate_q()
1342 if (bits_per_mb_at_this_q <= target_bits_per_mb) in vp8_regulate_q()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ratectrl.c383 int i, target_bits_per_mb; in vp9_rc_regulate_q() local
388 target_bits_per_mb = in vp9_rc_regulate_q()
397 if (bits_per_mb_at_this_q <= target_bits_per_mb) { in vp9_rc_regulate_q()
398 if ((target_bits_per_mb - bits_per_mb_at_this_q) <= last_error) in vp9_rc_regulate_q()
405 last_error = bits_per_mb_at_this_q - target_bits_per_mb; in vp9_rc_regulate_q()
1329 const int target_bits_per_mb = (int)(rate_target_ratio * base_bits_per_mb); in vp9_compute_qdelta_by_rate() local
1334 if (vp9_rc_bits_per_mb(frame_type, i, 1.0) <= target_bits_per_mb ) in vp9_compute_qdelta_by_rate()