Searched refs:prev_mad (Results 1 – 1 of 1) sorted by relevance
710 float curr_mad, prev_mad, curr_RD, prev_RD, average_mad, aver_QP; in calculateQuantizer_Multipass() local734 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()