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 - 2
of
2
) 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;
570
pMP->
aver_mad_prev
= (pMP->
aver_mad_prev
* pMP->encoded_frames_prev + curr_mad) / (pMP->encoded_frames_prev + 1);
597
/* transition time: use previous average mad "pMP->
aver_mad_prev
" instead of the current average mad "pMP->aver_mad" */
598
if (curr_mad > pMP->
aver_mad_prev
*1.1)
600
if (curr_mad / pMP->
aver_mad_prev
> 2)
601
diff_counter_BTdst = (Int)(M4VENC_SQRT(curr_mad / (pMP->
aver_mad_prev
+ 0.0001)) * 10 + 0.4) - 10;
602
//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;
604
diff_counter_BTdst = (Int)(curr_mad / (pMP->
aver_mad_prev
+ 0.0001) * 10 + 0.4) - 10
[
all
...]
mp4lib_int.h
300
float
aver_mad_prev
; /* previous average mad */
member in struct:tagMultiPass
Completed in 269 milliseconds