Lines Matching refs:bound
537 Int diff_counter_BTsrc, diff_counter_BTdst, prev_counter_diff, curr_counter_diff, bound;
620 /* First, set the upper bound for current bit allocation variance: 80% of available buffer */
621 bound = (Int)((rc->Bs / 2 - rc->VBV_fullness) * 0.6 / (pMP->target_bits_per_frame / 10)); /* rc->Bs */
622 diff_counter_BTsrc = PV_MIN(diff_counter_BTsrc, bound);
623 diff_counter_BTdst = PV_MIN(diff_counter_BTdst, bound);
625 /* Second, set another upper bound for current bit allocation: 4-5*bitrate/framerate */
626 bound = 50;
628 // not necessary bound = 10; /* 1/17/02 -- For Low delay */
630 diff_counter_BTsrc = PV_MIN(diff_counter_BTsrc, bound);
631 diff_counter_BTdst = PV_MIN(diff_counter_BTdst, bound);
772 // lower bound on Qc should be a function of curr_mad
773 // When mad is already low, lower bound on Qc doesn't have to be small.
775 // it doesn't hit the target bit rate due to this QP lower bound.
824 if ((video->encParams->H263_Enabled && rc->Rc > video->encParams->maxFrameSize) || /* For H263/short header mode, drop the frame if the actual frame size exceeds the bound */