Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/codecs/avc/enc/src/
Drate_control.cpp30 int Qstep2QP(double Qstep);
409 OsclFloat Qstep, prev_QP = 0.625; in calculateQuantizer_Multipass() local
481 Qstep = (int)(prev_RD / curr_RD + 0.5); in calculateQuantizer_Multipass()
488Qstep = (int)(prev_QP * (sqrt(prev_RD / curr_RD) + prev_RD / curr_RD) / 2.0 + 0.9); /* Quadratic a… in calculateQuantizer_Multipass()
490Qstep = (int)(prev_QP * (sqrt(prev_RD / curr_RD) + pow(prev_RD / curr_RD, 1.0 / 3.0)) / 2.0 + 0.9); in calculateQuantizer_Multipass()
499 rateCtrl->Qc = Qstep2QP(Qstep); in calculateQuantizer_Multipass()
917 double Qstep; in QP2Qstep() local
920 Qstep = QP2QSTEP[QP % 6]; in QP2Qstep()
922 Qstep *= 2; in QP2Qstep()
924 return Qstep; in QP2Qstep()
[all …]