Home
last modified time | relevance | path

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

/frameworks/av/media/module/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()
579diff_counter_BTdst = (Int)(M4VENC_SQRT(curr_mad / (pMP->aver_mad + 0.0001)) * 10 + 0.4) - 10; in targetBitCalculation()
582 diff_counter_BTdst = (Int)(curr_mad / (pMP->aver_mad + 0.0001) * 10 + 0.4) - 10; in targetBitCalculation()
590 if (diff_counter_BTsrc == 0 && diff_counter_BTdst == 0 && in targetBitCalculation()
601diff_counter_BTdst = (Int)(M4VENC_SQRT(curr_mad / (pMP->aver_mad_prev + 0.0001)) * 10 + 0.4) - 10; in targetBitCalculation()
604diff_counter_BTdst = (Int)(curr_mad / (pMP->aver_mad_prev + 0.0001) * 10 + 0.4) - 10; in targetBitCalculation()
612 if (diff_counter_BTsrc == 0 && diff_counter_BTdst == 0 && in targetBitCalculation()
624 diff_counter_BTdst = PV_MIN(diff_counter_BTdst, bound); in targetBitCalculation()
632 diff_counter_BTdst = PV_MIN(diff_counter_BTdst, bound); in targetBitCalculation()
[all …]