Searched refs:prev_counter_diff (Results 1 – 2 of 2) sorted by relevance
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()
528 int diff_counter_BTsrc, diff_counter_BTdst, prev_counter_diff, curr_counter_diff, bound; in targetBitCalculation() local621 prev_counter_diff = pMP->counter_BTdst - pMP->counter_BTsrc; in targetBitCalculation()622 curr_counter_diff = prev_counter_diff + (diff_counter_BTdst - diff_counter_BTsrc); in targetBitCalculation()624 …if (AVC_ABS(prev_counter_diff) >= rateCtrl->max_BitVariance_num || AVC_ABS(curr_counter_diff) >= r… in targetBitCalculation()629 … diff_counter_BTdst = (rateCtrl->max_BitVariance_num - prev_counter_diff) + diff_counter_BTsrc; in targetBitCalculation()635 … diff_counter_BTsrc = diff_counter_BTdst - (-rateCtrl->max_BitVariance_num - prev_counter_diff); in targetBitCalculation()