OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:aver_mad
(Results
1 - 4
of
4
) sorted by null
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
rate_control.cpp
498
if (pMP[n]->
aver_mad
!= 0)
500
pMP[n]->aver_mad_prev = pMP[n]->
aver_mad
;
504
pMP[n]->
aver_mad
= 0;
522
/* Purpose : quadratic bit allocation model: T(n) = C*sqrt(mad(n)/
aver_mad
(n-1)) */
564
//pMP->
aver_mad
= average_mad;
566
pMP->
aver_mad
= (pMP->
aver_mad
* pMP->encoded_frames + curr_mad) / (pMP->encoded_frames + 1);
575
if (curr_mad > pMP->
aver_mad
*1.1)
577
if (curr_mad / (pMP->
aver_mad
+ 0.0001) > 2)
578
diff_counter_BTdst = (Int)(M4VENC_SQRT(curr_mad / (pMP->
aver_mad
+ 0.0001)) * 10 + 0.4) - 10
[
all
...]
mp4lib_int.h
298
float
aver_mad
; /* so-far average mad could replace sum_mad */
member in struct:tagMultiPass
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
rate_control.cpp
548
//pMP->
aver_mad
= average_mad;
550
pMP->
aver_mad
= (pMP->
aver_mad
* pMP->encoded_frames + curr_mad) / (pMP->encoded_frames + 1);
559
if (curr_mad > pMP->
aver_mad
*1.1)
561
if (curr_mad / (pMP->
aver_mad
+ 0.0001) > 2)
562
diff_counter_BTdst = (int)(sqrt(curr_mad / (pMP->
aver_mad
+ 0.0001)) * 10 + 0.4) - 10;
563
//diff_counter_BTdst = (int)((sqrt(curr_mad/pMP->
aver_mad
)*2+curr_mad/pMP->
aver_mad
)/(3*0.1) + 0.4) - 10;
565
diff_counter_BTdst = (int)(curr_mad / (pMP->
aver_mad
+ 0.0001) * 10 + 0.4) - 10;
568
//diff_counter_BTsrc = 10 - (int)((sqrt(curr_mad/pMP->
aver_mad
) + pow(curr_mad/pMP->aver_mad, 1.0/3.0))/(2.0*0.1) + 0.4)
[
all
...]
avcenc_int.h
199
OsclFloat
aver_mad
; /* so-far average mad could replace sum_mad */
member in struct:tagMultiPass
Completed in 97 milliseconds