Searched refs:target_bits_per_mb (Results 1 – 2 of 2) 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()
383 int i, target_bits_per_mb; in vp9_rc_regulate_q() local388 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() local1334 if (vp9_rc_bits_per_mb(frame_type, i, 1.0) <= target_bits_per_mb ) in vp9_compute_qdelta_by_rate()