Searched refs:prev_counter_diff (Results 1 – 2 of 2) sorted by relevance
524 int diff_counter_BTsrc, diff_counter_BTdst, prev_counter_diff, curr_counter_diff, bound; in targetBitCalculation() local617 prev_counter_diff = pMP->counter_BTdst - pMP->counter_BTsrc; in targetBitCalculation()618 curr_counter_diff = prev_counter_diff + (diff_counter_BTdst - diff_counter_BTsrc); in targetBitCalculation()620 …if (AVC_ABS(prev_counter_diff) >= rateCtrl->max_BitVariance_num || AVC_ABS(curr_counter_diff) >= r… in targetBitCalculation()625 … diff_counter_BTdst = (rateCtrl->max_BitVariance_num - prev_counter_diff) + diff_counter_BTsrc; in targetBitCalculation()631 … diff_counter_BTsrc = diff_counter_BTdst - (-rateCtrl->max_BitVariance_num - prev_counter_diff); in targetBitCalculation()
537 Int diff_counter_BTsrc, diff_counter_BTdst, prev_counter_diff, curr_counter_diff, bound; in targetBitCalculation() local635 prev_counter_diff = pMP->counter_BTdst - pMP->counter_BTsrc; in targetBitCalculation()636 curr_counter_diff = prev_counter_diff + (diff_counter_BTdst - diff_counter_BTsrc); in targetBitCalculation()638 …if (PV_ABS(prev_counter_diff) >= rc->max_BitVariance_num || PV_ABS(curr_counter_diff) >= rc->max_B… in targetBitCalculation()643 diff_counter_BTdst = (rc->max_BitVariance_num - prev_counter_diff) + diff_counter_BTsrc; in targetBitCalculation()649 … diff_counter_BTsrc = diff_counter_BTdst - (-rc->max_BitVariance_num - prev_counter_diff); in targetBitCalculation()