Home
last modified time | relevance | path

Searched refs:diff_counter_BTsrc (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
558 diff_counter_BTsrc = diff_counter_BTdst = 0; in targetBitCalculation()
586diff_counter_BTsrc = 10 - (Int)(M4VENC_SQRT(curr_mad / (pMP->aver_mad + 0.0001)) * 10 + 0.5); in targetBitCalculation()
590 if (diff_counter_BTsrc == 0 && diff_counter_BTdst == 0 && in targetBitCalculation()
592 diff_counter_BTsrc = 1; in targetBitCalculation()
608diff_counter_BTsrc = 10 - (Int)(M4VENC_SQRT(curr_mad / (pMP->aver_mad_prev + 0.0001)) * 10 + 0.5); in targetBitCalculation()
612 if (diff_counter_BTsrc == 0 && diff_counter_BTdst == 0 && in targetBitCalculation()
614 diff_counter_BTsrc = 1; in targetBitCalculation()
623 diff_counter_BTsrc = PV_MIN(diff_counter_BTsrc, bound); in targetBitCalculation()
631 diff_counter_BTsrc = PV_MIN(diff_counter_BTsrc, bound); in targetBitCalculation()
[all …]