OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:aver_mad_prev
(Results
1 - 4
of
4
) sorted by null
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
rate_control.cpp
500
pMP[n]->
aver_mad_prev
= pMP[n]->aver_mad;
569
pMP->
aver_mad_prev
= (pMP->
aver_mad_prev
* pMP->encoded_frames_prev + curr_mad) / (pMP->encoded_frames_prev + 1);
596
/* transition time: use previous average mad "pMP->
aver_mad_prev
" instead of the current average mad "pMP->aver_mad" */
597
if (curr_mad > pMP->
aver_mad_prev
*1.1)
599
if (curr_mad / pMP->
aver_mad_prev
> 2)
600
diff_counter_BTdst = (Int)(M4VENC_SQRT(curr_mad / (pMP->
aver_mad_prev
+ 0.0001)) * 10 + 0.4) - 10;
601
//diff_counter_BTdst = (Int)((M4VENC_SQRT(curr_mad/pMP->
aver_mad_prev
)*2+curr_mad/pMP->
aver_mad_prev
)/(3*0.1) + 0.4) - 10;
603
diff_counter_BTdst = (Int)(curr_mad / (pMP->
aver_mad_prev
+ 0.0001) * 10 + 0.4) - 10
[
all
...]
mp4lib_int.h
299
float
aver_mad_prev
; /* previous average mad */
member in struct:tagMultiPass
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
rate_control.cpp
553
pMP->
aver_mad_prev
= (pMP->
aver_mad_prev
* pMP->encoded_frames_prev + curr_mad) / (pMP->encoded_frames_prev + 1);
579
/* transition time: use previous average mad "pMP->
aver_mad_prev
" instead of the current average mad "pMP->aver_mad" */
580
if (curr_mad > pMP->
aver_mad_prev
*1.1)
582
if (curr_mad / pMP->
aver_mad_prev
> 2)
583
diff_counter_BTdst = (int)(sqrt(curr_mad / (pMP->
aver_mad_prev
+ 0.0001)) * 10 + 0.4) - 10;
584
//diff_counter_BTdst = (int)((M4VENC_SQRT(curr_mad/pMP->
aver_mad_prev
)*2+curr_mad/pMP->
aver_mad_prev
)/(3*0.1) + 0.4) - 10;
586
diff_counter_BTdst = (int)(curr_mad / (pMP->
aver_mad_prev
+ 0.0001) * 10 + 0.4) - 10;
589
//diff_counter_BTsrc = 10 - (Int)((sqrt(curr_mad/pMP->
aver_mad_prev
) + pow(curr_mad/pMP->aver_mad_prev, 1.0/3.0))/(2.0*0.1) + 0.4)
[
all
...]
avcenc_int.h
200
OsclFloat
aver_mad_prev
; /* previous average mad */
member in struct:tagMultiPass
Completed in 51 milliseconds