Home | History | Annotate | Download | only in encoder

Lines Matching refs:bits_per_mb_at_this_q

634         int bits_per_mb_at_this_q ;
644 bits_per_mb_at_this_q = (int)(.5 +
647 cpi->this_frame_target = (((bits_per_mb_at_this_q * cpi->common.MBs) >> BPER_MB_NORMBITS) * Boost) / 100;
1287 int bits_per_mb_at_this_q;
1311 bits_per_mb_at_this_q = (int)(.5 + correction_factor * vp8_bits_per_mb[cpi->common.frame_type][i]);
1313 if (bits_per_mb_at_this_q <= target_bits_per_mb)
1315 bits_per_mb_at_this_q) <= last_error)
1323 last_error = bits_per_mb_at_this_q - target_bits_per_mb;
1345 double Factor = (double)target_bits_per_mb/(double)bits_per_mb_at_this_q;
1369 // Adjust bits_per_mb_at_this_q estimate
1370 bits_per_mb_at_this_q = (int)(Factor * bits_per_mb_at_this_q);
1376 if (bits_per_mb_at_this_q <= target_bits_per_mb) // Break out if we get down to the target rate