Home
last modified time | relevance | path

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

/hardware/intel/common/omx-components/videocodec/libvpx_internal/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()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_ratectrl.c369 int i, target_bits_per_mb; in vp9_rc_regulate_q() local
376 target_bits_per_mb = (target_bits_per_frame / cm->MBs) << BPER_MB_NORMBITS; in vp9_rc_regulate_q()
378 target_bits_per_mb = (target_bits_per_frame << BPER_MB_NORMBITS) / cm->MBs; in vp9_rc_regulate_q()
386 if (bits_per_mb_at_this_q <= target_bits_per_mb) { in vp9_rc_regulate_q()
387 if ((target_bits_per_mb - bits_per_mb_at_this_q) <= last_error) in vp9_rc_regulate_q()
394 last_error = bits_per_mb_at_this_q - target_bits_per_mb; in vp9_rc_regulate_q()
Dvp9_onyx_if.c251 const int target_bits_per_mb = (int)(rate_target_ratio * base_bits_per_mb); in vp9_compute_qdelta_by_rate() local
256 if (vp9_rc_bits_per_mb(frame_type, i, 1.0) <= target_bits_per_mb ) in vp9_compute_qdelta_by_rate()