Home
last modified time | relevance | path

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

/frameworks/av/media/module/codecs/m4v_h263/enc/src/
Drate_control.cpp710 float curr_mad, prev_mad, curr_RD, prev_RD, average_mad, aver_QP; in calculateQuantizer_Multipass() local
734 prev_mad = pMP->pRDSamples[0][0].mad; in calculateQuantizer_Multipass()
738 if (pMP->pRDSamples[i][0].mad != 0 && prev_mad != 0 && in calculateQuantizer_Multipass()
739 PV_ABS(prev_mad - curr_mad) > PV_ABS(pMP->pRDSamples[i][0].mad - curr_mad)) in calculateQuantizer_Multipass()
741 prev_mad = pMP->pRDSamples[i][0].mad; in calculateQuantizer_Multipass()
757 prev_RD = (float)prev_actual_bits / prev_mad; in calculateQuantizer_Multipass()