Home | History | Annotate | Download | only in encoder

Lines Matching refs:MBs

568 static int baseline_bits_at_q(int frame_kind, int Q, int MBs)
573 * chosen such that the maximum product of Bpm and MBs fits 31 bits. The
576 if (MBs > (1 << 11))
577 return (Bpm >> BPER_MB_NORMBITS) * MBs;
579 return (Bpm * MBs) >> BPER_MB_NORMBITS;
632 cpi->this_frame_target = (baseline_bits_at_q(0, Q, cpi->common.MBs) * Boost) / 100;
650 cpi->this_frame_target = (((bits_per_mb_at_this_q * cpi->common.MBs) >> BPER_MB_NORMBITS) * Boost) / 100;
1155 cpi->this_frame_target = (baseline_bits_at_q(1, Q, cpi->common.MBs) * cpi->last_boost) / 100;
1200 //projected_size_based_on_q = ((int)(.5 + rate_correction_factor * vp8_bits_per_mb[cpi->common.frame_type][Q]) * cpi->common.MBs) >> BPER_MB_NORMBITS;
1201 projected_size_based_on_q = (int)(((.5 + rate_correction_factor * vp8_bits_per_mb[cpi->common.frame_type][Q]) * cpi->common.MBs) / (1 << BPER_MB_NORMBITS));
1282 * chosen such that the maximum product of Bpm and MBs fits 31 bits. The
1285 if (cpi->common.MBs > (1 << 11))
1286 return (Bpm >> BPER_MB_NORMBITS) * cpi->common.MBs;
1288 return (Bpm * cpi->common.MBs) >> BPER_MB_NORMBITS;
1339 target_bits_per_mb = (target_bits_per_frame / cpi->common.MBs) << BPER_MB_NORMBITS; // Case where we would overflow int
1341 target_bits_per_mb = (target_bits_per_frame << BPER_MB_NORMBITS) / cpi->common.MBs;
1452 return (bits_per_mb_at_max_q * cpi->common.MBs) >> BPER_MB_NORMBITS;