Home
last modified time | relevance | path

Searched refs:prev_counter_diff (Results 1 – 1 of 1) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Drate_control.cpp538 Int diff_counter_BTsrc, diff_counter_BTdst, prev_counter_diff, curr_counter_diff, bound; in targetBitCalculation() local
636 prev_counter_diff = pMP->counter_BTdst - pMP->counter_BTsrc; in targetBitCalculation()
637 curr_counter_diff = prev_counter_diff + (diff_counter_BTdst - diff_counter_BTsrc); in targetBitCalculation()
639 …if (PV_ABS(prev_counter_diff) >= rc->max_BitVariance_num || PV_ABS(curr_counter_diff) >= rc->max_B… in targetBitCalculation()
644 diff_counter_BTdst = (rc->max_BitVariance_num - prev_counter_diff) + diff_counter_BTsrc; in targetBitCalculation()
650 … diff_counter_BTsrc = diff_counter_BTdst - (-rc->max_BitVariance_num - prev_counter_diff); in targetBitCalculation()