Searched refs:target_bits_per_mb (Results 1 – 3 of 3) sorted by relevance
1238 int target_bits_per_mb; in vp8_regulate_q() local1260 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()
369 int i, target_bits_per_mb; in vp9_rc_regulate_q() local376 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()
251 const int target_bits_per_mb = (int)(rate_target_ratio * base_bits_per_mb); in vp9_compute_qdelta_by_rate() local256 if (vp9_rc_bits_per_mb(frame_type, i, 1.0) <= target_bits_per_mb ) in vp9_compute_qdelta_by_rate()