Home
last modified time | relevance | path

Searched refs:BPER_MB_NORMBITS (Results 1 – 4 of 4) sorted by relevance

/external/libvpx/libvpx/vp8/encoder/
Dratectrl.c46 #define BPER_MB_NORMBITS 9 macro
336 return (Bpm >> BPER_MB_NORMBITS) * MBs; in estimate_bits_at_q()
338 return (Bpm * MBs) >> BPER_MB_NORMBITS; in estimate_bits_at_q()
1139 …factor * vp8_bits_per_mb[cpi->common.frame_type][Q]) * cpi->common.MBs) / (1 << BPER_MB_NORMBITS)); in vp8_update_rate_correction_factors()
1271 if (target_bits_per_frame >= (INT_MAX >> BPER_MB_NORMBITS)) in vp8_regulate_q()
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()
1614 if (target_size >= (INT_MAX >> BPER_MB_NORMBITS)) in vp8_drop_encodedframe_overshoot()
1616 (target_size / cpi->common.MBs) << BPER_MB_NORMBITS; in vp8_drop_encodedframe_overshoot()
1619 (target_size << BPER_MB_NORMBITS) / cpi->common.MBs; in vp8_drop_encodedframe_overshoot()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ratectrl.h25 #define BPER_MB_NORMBITS 9 macro
Dvp9_ratectrl.c197 (int)((uint64_t)bpm * mbs) >> BPER_MB_NORMBITS); in vp9_estimate_bits_at_q()
536 ((uint64_t)target_bits_per_frame << BPER_MB_NORMBITS) / cm->MBs; in vp9_rc_regulate_q()
2035 target_bits_per_mb = ((uint64_t)target_size << BPER_MB_NORMBITS) / cm->MBs; in vp9_encodedframe_overshoot()
Dvp9_firstpass.c1202 BPER_MB_NORMBITS) / active_mbs; in get_twopass_worst_quality()