Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/codecs/avc/enc/src/
Drate_control.cpp408 int prev_actual_bits = 0, curr_target, /*pos=0,*/i, j; in calculateQuantizer_Multipass() local
434 prev_actual_bits = pMP->pRDSamples[i][0].actual_bits; in calculateQuantizer_Multipass()
449 prev_actual_bits = pMP->pRDSamples[i-1][0].actual_bits; in calculateQuantizer_Multipass()
457 prev_actual_bits = pMP->pRDSamples[i][0].actual_bits; in calculateQuantizer_Multipass()
465 …if (AVC_ABS(prev_actual_bits - curr_target) > AVC_ABS(pMP->pRDSamples[j][i].actual_bits - curr_tar… in calculateQuantizer_Multipass()
467 prev_actual_bits = pMP->pRDSamples[j][i].actual_bits; in calculateQuantizer_Multipass()
477 prev_RD = (OsclFloat)prev_actual_bits / prev_mad; in calculateQuantizer_Multipass()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Drate_control.cpp706 Int prev_QP, prev_actual_bits, curr_target, i, j; in calculateQuantizer_Multipass() local
731 prev_actual_bits = pMP->pRDSamples[0][0].actual_bits; in calculateQuantizer_Multipass()
740 prev_actual_bits = pMP->pRDSamples[i][0].actual_bits; in calculateQuantizer_Multipass()
747 …if (PV_ABS(prev_actual_bits - curr_target) > PV_ABS(pMP->pRDSamples[j][i].actual_bits - curr_targe… in calculateQuantizer_Multipass()
749 prev_actual_bits = pMP->pRDSamples[j][i].actual_bits; in calculateQuantizer_Multipass()
755 prev_RD = (float)prev_actual_bits / prev_mad; in calculateQuantizer_Multipass()