Lines Matching refs:bound
492 // lower bound on Qc should be a function of curr_mad
493 // When mad is already low, lower bound on Qc doesn't have to be small.
495 // it doesn't hit the target bit rate due to this QP lower bound.
524 int diff_counter_BTsrc, diff_counter_BTdst, prev_counter_diff, curr_counter_diff, bound;
602 /* First, set the upper bound for current bit allocation variance: 80% of available buffer */
603 bound = (int)((rateCtrl->Bs / 2 - rateCtrl->VBV_fullness) * 0.6 / (pMP->target_bits_per_frame / 10)); /* rateCtrl->Bs */
604 diff_counter_BTsrc = AVC_MIN(diff_counter_BTsrc, bound);
605 diff_counter_BTdst = AVC_MIN(diff_counter_BTdst, bound);
607 /* Second, set another upper bound for current bit allocation: 4-5*bitrate/framerate */
608 bound = 50;
610 // not necessary bound = 10; -- For Low delay */
612 diff_counter_BTsrc = AVC_MIN(diff_counter_BTsrc, bound);
613 diff_counter_BTdst = AVC_MIN(diff_counter_BTdst, bound);