Home
last modified time | relevance | path

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

/frameworks/av/media/module/codecs/m4v_h263/enc/src/
Drate_control.cpp296 Int diff_BTCounter; in RC_VopUpdateStat() local
323 diff_BTCounter = (Int)((float)(rc->TMN_TH - rc->TMN_W - pMP->actual_bits) / in RC_VopUpdateStat()
325 if (diff_BTCounter >= 0) in RC_VopUpdateStat()
326 pMP->counter_BTsrc += diff_BTCounter; /* pMP->actual_bits is smaller */ in RC_VopUpdateStat()
328 pMP->counter_BTdst -= diff_BTCounter; /* pMP->actual_bits is bigger */ in RC_VopUpdateStat()
330 … rc->TMN_TH -= (Int)((float)pMP->bitrate / (pMP->framerate + 0.0001) * (diff_BTCounter * 0.1)); in RC_VopUpdateStat()
332 pMP->diff_counter -= diff_BTCounter; in RC_VopUpdateStat()