Searched refs:max_BitVariance_num (Results 1 - 2 of 2) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Drate_control.cpp85 rc[n]->max_BitVariance_num = (Int)((rc[n]->Bs - video->encParams->maxFrameSize) / 2 / (rc[n]->bitrate / rc[n]->framerate / 10.0)) - 5;
86 if (rc[n]->max_BitVariance_num < 0) rc[n]->max_BitVariance_num += 5;
90 rc[n]->max_BitVariance_num = (Int)((float)(rc[n]->Bs - rc[n]->VBV_fullness) / ((float)LayerBitRate[n] / LayerFrameRate[n] / 10.0)) - 5;
91 if (rc[n]->max_BitVariance_num < 0) rc[n]->max_BitVariance_num += 5;
99 rc[n]->max_BitVariance_num = (Int)((float)(rc[n]->Bs - rc[n]->VBV_fullness) * 10 / ((float)rc[n]->TMN_TH)) - 5;
100 if (rc[n]->max_BitVariance_num < 0) rc[n]->max_BitVariance_num += 5;
105 rc[n]->max_BitVariance_num
[all...]
H A Drate_control.h85 Int max_BitVariance_num; /* the number of the maximum bit variance within the given buffer with the unit of 10% of bitrate/framerate*/ member in struct:__anon586

Completed in 67 milliseconds