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

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Drate_control.cpp71 rc[n]->Bs = video->encParams->BufferSize[n];
73 rc[n]->VBV_fullness = (Int)(rc[n]->Bs * 0.5); /* rc[n]->Bs */
85 rc[n]->max_BitVariance_num = (Int)((rc[n]->Bs - video->encParams->maxFrameSize) / 2 / (rc[n]->bitrate / rc[n]->framerate / 10.0)) - 5;
90 rc[n]->max_BitVariance_num = (Int)((float)(rc[n]->Bs - rc[n]->VBV_fullness) / ((float)LayerBitRate[n] / LayerFrameRate[n] / 10.0)) - 5;
99 rc[n]->max_BitVariance_num = (Int)((float)(rc[n]->Bs - rc[n]->VBV_fullness) * 10 / ((float)rc[n]->TMN_TH)) - 5;
115 rc[n]->VBV_fullness = (Int)(rc[n]->Bs / 3.0 - rc[n]->Bs / 2.0); /* the buffer range is [-Bs/2, Bs/
[all...]
H A Drate_control.h54 Int Bs; /*buffer size e.g., R/2 */ member in struct:__anon663
89 Int low_bound; /* bound for underflow detection, usually low_bound=-Bs/2, but could be changed in H.263 mode */
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Drate_control.cpp158 rateCtrl->VBV_fullness = rateCtrl->low_bound; // -rateCtrl->Bs/2;
160 pMP->counter_BTsrc = pMP->counter_BTdst + (int)((OsclFloat)(rateCtrl->Bs / 2 - rateCtrl->low_bound) / 2.0 / (pMP->target_bits_per_frame / 10));
222 rateCtrl->Bs = rateCtrl->cpbSize;
224 rateCtrl->VBV_fullness = (int)(rateCtrl->Bs * 0.5); /* rateCtrl->Bs */
229 rateCtrl->max_BitVariance_num = (int)((OsclFloat)(rateCtrl->Bs - rateCtrl->VBV_fullness) / (rateCtrl->bitsPerFrame / 10.0)) - 5;
234 rateCtrl->VBV_fullness = (int)(rateCtrl->Bs / 3.0 - rateCtrl->Bs / 2.0); /* the buffer range is [-Bs/2, Bs/
[all...]
H A Davcenc_int.h274 int Bs; /*buffer size e.g., R/2 */ member in struct:tagAVCRateControl
315 int low_bound; /* bound for underflow detection, usually low_bound=-Bs/2, but could be changed in H.263 mode */

Completed in 81 milliseconds