Searched refs:diff_BTCounter (Results 1 – 2 of 2) sorted by relevance
296 Int diff_BTCounter; in RC_VopUpdateStat() local323 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()
802 int diff_BTCounter; in RCUpdateFrame() local823 diff_BTCounter = (int)((OsclFloat)(rateCtrl->TMN_TH - rateCtrl->TMN_W - pMP->actual_bits) / in RCUpdateFrame()825 if (diff_BTCounter >= 0) in RCUpdateFrame()826 pMP->counter_BTsrc += diff_BTCounter; /* pMP->actual_bits is smaller */ in RCUpdateFrame()828 pMP->counter_BTdst -= diff_BTCounter; /* pMP->actual_bits is bigger */ in RCUpdateFrame()830 …trl->TMN_TH -= (int)((OsclFloat)pMP->bitrate / (pMP->framerate + 0.0001) * (diff_BTCounter * 0.1)); in RCUpdateFrame()832 pMP->diff_counter -= diff_BTCounter; in RCUpdateFrame()