Searched refs:TMN_TH (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/
H A Drate_control.cpp70 //rc[n]->TMN_TH = (Int)((float)LayerBitRate[n]/LayerFrameRate[n]);
78 rc[n]->TMN_TH = (Int)((float)LayerBitRate[n] / LayerFrameRate[n]);
98 rc[n]->TMN_TH = (Int)((float)(LayerBitRate[n] - LayerBitRate[n-1]) / (LayerFrameRate[n] - LayerFrameRate[n-1]));
99 rc[n]->max_BitVariance_num = (Int)((float)(rc[n]->Bs - rc[n]->VBV_fullness) * 10 / ((float)rc[n]->TMN_TH)) - 5;
104 rc[n]->TMN_TH = 1 << 30;
236 pMP->counter_BTdst = PV_MAX(pMP->counter_BTdst, (Int)((rc->Bs / 2 - rc->VBV_fullness) * 0.30 / (rc->TMN_TH / 10.0) + 0.5)); /* At least 30% of VBV buffer size/2 */
239 pMP->target_bits = rc->T = rc->TMN_TH = (Int)(rc->TMN_TH * (1.0 + pMP->counter_BTdst * 0.1));
323 diff_BTCounter = (Int)((float)(rc->TMN_TH - rc->TMN_W - pMP->actual_bits) /
330 rc->TMN_TH
[all...]
H A Drate_control.h83 Int TMN_TH; member in struct:__anon720
/frameworks/base/media/libstagefright/codecs/avc/enc/src/
H A Drate_control.cpp229 rateCtrl->TMN_TH = rateCtrl->bitsPerFrame;
366 pMP->counter_BTdst = AVC_MAX(pMP->counter_BTdst, (int)((rateCtrl->Bs / 2 - rateCtrl->VBV_fullness) * 0.30 / (rateCtrl->TMN_TH / 10.0) + 0.5)); /* At least 30% of VBV buffer size/2 */
369 pMP->target_bits = rateCtrl->T = rateCtrl->TMN_TH = (int)(rateCtrl->TMN_TH * (1.0 + pMP->counter_BTdst * 0.1));
514 rateCtrl->TMN_TH -= (int)(pMP->target_bits_per_frame / 10.0);
515 rateCtrl->T = rateCtrl->TMN_TH - rateCtrl->TMN_W;
639 /*3.diff_counter_BTsrc, diff_counter_BTdst ==> TMN_TH */
640 rateCtrl->TMN_TH = (int)(pMP->target_bits_per_frame);
645 rateCtrl->TMN_TH -= (int)(pMP->target_bits_per_frame * diff_counter_BTsrc * 0.1);
650 rateCtrl->TMN_TH
[all...]
H A Davcenc_int.h311 int TMN_TH; member in struct:tagAVCRateControl

Completed in 65 milliseconds