OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:max_BitVariance_num
(Results
1 - 4
of
4
) sorted by null
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
rate_control.cpp
85
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
= 0
[
all
...]
rate_control.h
85
Int
max_BitVariance_num
; /* the number of the maximum bit variance within the given buffer with the unit of 10% of bitrate/framerate*/
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
rate_control.cpp
229
rateCtrl->
max_BitVariance_num
= (int)((OsclFloat)(rateCtrl->Bs - rateCtrl->VBV_fullness) / (rateCtrl->bitsPerFrame / 10.0)) - 5;
230
if (rateCtrl->
max_BitVariance_num
< 0) rateCtrl->
max_BitVariance_num
+= 5;
363
pMP->counter_BTdst = AVC_MIN(pMP->counter_BTdst, (int)(rateCtrl->
max_BitVariance_num
/ 2 * 0.40)); /* 0.75s time frame may go beyond VBV buffer if we set the buffer size smaller than 0.75s */
620
if (AVC_ABS(prev_counter_diff) >= rateCtrl->
max_BitVariance_num
|| AVC_ABS(curr_counter_diff) >= rateCtrl->
max_BitVariance_num
)
623
if (curr_counter_diff > rateCtrl->
max_BitVariance_num
&& diff_counter_BTdst)
625
diff_counter_BTdst = (rateCtrl->
max_BitVariance_num
- prev_counter_diff) + diff_counter_BTsrc;
629
else if (curr_counter_diff < -rateCtrl->
max_BitVariance_num
&& diff_counter_BTsrc)
631
diff_counter_BTsrc = diff_counter_BTdst - (-rateCtrl->
max_BitVariance_num
- prev_counter_diff)
[
all
...]
avcenc_int.h
313
int
max_BitVariance_num
; /* the number of the maximum bit variance within the given buffer with the unit of 10% of bitrate/framerate*/
Completed in 142 milliseconds