Home
last modified time | relevance | path

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

/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/
Drate_control.cpp116 …pMP[n]->counter_BTsrc = (Int)((rc[n]->Bs / 2.0 - rc[n]->Bs / 3.0) / (rc[n]->bitrate / rc[n]->frame… in RC_Initialize()
117 …rc[n]->TMN_W = (Int)(rc[n]->VBV_fullness + pMP[n]->counter_BTsrc * (rc[n]->bitrate / rc[n]->framer… in RC_Initialize()
131 pMP[n]->counter_BTdst = pMP[n]->counter_BTsrc = 0; in RC_Initialize()
326 pMP->counter_BTsrc += diff_BTCounter; /* pMP->actual_bits is smaller */ in RC_VopUpdateStat()
392 pMP->counter_BTsrc += 10 * num_skip; in RC_UpdateBuffer()
399 …pMP->counter_BTsrc = pMP->counter_BTdst + (Int)((float)(rc->Bs / 2 - rc->low_bound) / 2.0 / (pMP->… in RC_UpdateBuffer()
487 pMP[n]->counter_BTdst = pMP[n]->counter_BTsrc = 0; in RC_UpdateBXRCParams()
492 pMP[n]->counter_BTsrc = -diff_counter; in RC_UpdateBXRCParams()
495 … (pMP[n]->target_bits_per_frame / 10) * (pMP[n]->counter_BTdst - pMP[n]->counter_BTsrc)); in RC_UpdateBXRCParams()
547 if (pMP->counter_BTsrc > 1000 && pMP->counter_BTdst > 1000) in targetBitCalculation()
[all …]
Dmp4lib_int.h290 …Int counter_BTsrc; /* BT = Bit Transfer, bit transfer from low motion frames or less complicatedl… member
/frameworks/base/media/libstagefright/codecs/avc/enc/src/
Drate_control.cpp153 pMP->counter_BTsrc += 10 * (frameInc - 1); in RCUpdateBuffer()
160 …pMP->counter_BTsrc = pMP->counter_BTdst + (int)((OsclFloat)(rateCtrl->Bs / 2 - rateCtrl->low_bound… in RCUpdateBuffer()
237 …rateCtrl->pMP->counter_BTsrc = (int)((rateCtrl->Bs / 2.0 - rateCtrl->Bs / 3.0) / (rateCtrl->bitsPe… in InitRateControlModule()
238 …rateCtrl->TMN_W = (int)(rateCtrl->VBV_fullness + rateCtrl->pMP->counter_BTsrc * (rateCtrl->bitsPer… in InitRateControlModule()
512 pMP->counter_BTsrc <= (pMP->counter_BTdst + (int)(pMP->framerate*1.0 + 0.5))) in calculateQuantizer_Multipass()
516 pMP->counter_BTsrc++; in calculateQuantizer_Multipass()
533 if (pMP->counter_BTsrc > 1000 && pMP->counter_BTdst > 1000) in targetBitCalculation()
535 pMP->counter_BTsrc -= 1000; in targetBitCalculation()
575 curr_mad <= pMP->aver_mad*1.1 && pMP->counter_BTsrc < pMP->counter_BTdst) in targetBitCalculation()
596 curr_mad <= pMP->aver_mad_prev*1.1 && pMP->counter_BTsrc < pMP->counter_BTdst) in targetBitCalculation()
[all …]
Davcenc_int.h191 …int counter_BTsrc; /* BT = Bit Transfer, bit transfer from low motion frames or less complicatedl… member