Home
last modified time | relevance | path

Searched refs:average_mad (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libstagefright/codecs/avc/enc/src/
Drate_control.cpp411 OsclFloat curr_mad, prev_mad, curr_RD, prev_RD, average_mad, aver_QP; in calculateQuantizer_Multipass() local
507average_mad = (pMP->encoded_frames == 0 ? 0 : pMP->sum_mad / (OsclFloat)pMP->encoded_frames); /* t… in calculateQuantizer_Multipass()
509 ((OsclFloat)rateCtrl->Qc <= aver_QP*1.1 || curr_mad <= average_mad*1.1) && in calculateQuantizer_Multipass()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Drate_control.cpp708 float curr_mad, prev_mad, curr_RD, prev_RD, average_mad, aver_QP; in calculateQuantizer_Multipass() local
785average_mad = (pMP->encoded_frames == 0 ? 0 : pMP->sum_mad / (float)pMP->encoded_frames); /* this … in calculateQuantizer_Multipass()
787 ((float)rc->Qc <= aver_QP*1.1 || curr_mad <= average_mad*1.1) && in calculateQuantizer_Multipass()