Searched refs:average_mad (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
D | rate_control.cpp | 411 OsclFloat curr_mad, prev_mad, curr_RD, prev_RD, average_mad, aver_QP; in calculateQuantizer_Multipass() local 507 …average_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/ |
D | rate_control.cpp | 708 float curr_mad, prev_mad, curr_RD, prev_RD, average_mad, aver_QP; in calculateQuantizer_Multipass() local 785 …average_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()
|