Lines Matching refs:Adjustment
390 /* adjustment up based on q: this factor ranges from ~1.2 to 2.2. */
393 /* frame separation adjustment ( down) */
652 int Adjustment;
653 /* Make rate adjustment to recover bits spent in key frame
659 Adjustment = (cpi->kf_bitrate_adjustment <= cpi->kf_overspend_bits) ? cpi->kf_bitrate_adjustment : cpi->kf_overspend_bits;
661 if (Adjustment > (cpi->per_frame_bandwidth - min_frame_target))
662 Adjustment = (cpi->per_frame_bandwidth - min_frame_target);
664 cpi->kf_overspend_bits -= Adjustment;
670 cpi->this_frame_target = cpi->per_frame_bandwidth - Adjustment;
678 /* If appropriate make an adjustment to recover bits spent on a
683 Adjustment = (cpi->non_gf_bitrate_adjustment <= cpi->gf_overspend_bits) ? cpi->non_gf_bitrate_adjustment : cpi->gf_overspend_bits;
685 if (Adjustment > (cpi->this_frame_target - min_frame_target))
686 Adjustment = (cpi->this_frame_target - min_frame_target);
688 cpi->gf_overspend_bits -= Adjustment;
689 cpi->this_frame_target -= Adjustment;
696 /* % Adjustment limited to the range 1% to 10% */
697 Adjustment = (cpi->last_boost - 100) >> 5;
699 if (Adjustment < 1)
700 Adjustment = 1;
701 else if (Adjustment > 10)
702 Adjustment = 10;
705 Adjustment = (cpi->this_frame_target * Adjustment) / 100;
707 if (Adjustment > (cpi->this_frame_target - min_frame_target))
708 Adjustment = (cpi->this_frame_target - min_frame_target);
711 cpi->this_frame_target += ((cpi->current_gf_interval - 1) * Adjustment);
713 cpi->this_frame_target -= Adjustment;
721 * adjustment we apply here is not capable of recovering all the extra
1156 /* More heavily damped adjustment used if we have been oscillating
1523 /* For very small rate targets where the fractional adjustment