Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Drate_control.cpp708 Int prev_QP, prev_actual_bits, curr_target, i, j; in calculateQuantizer_Multipass() local
746 prev_QP = pMP->pRDSamples[j][0].QP; in calculateQuantizer_Multipass()
752 prev_QP = pMP->pRDSamples[j][i].QP; in calculateQuantizer_Multipass()
759 if (prev_QP == 1) // 11/14/05, added this to allow getting out of QP = 1 easily in calculateQuantizer_Multipass()
765 rc->Qc = (Int)(prev_QP * M4VENC_SQRT(prev_RD / curr_RD) + 0.9); in calculateQuantizer_Multipass()
768 …rc->Qc = (Int)(prev_QP * (M4VENC_SQRT(prev_RD / curr_RD) + prev_RD / curr_RD) / 2.0 + 0.9); /* Qua… in calculateQuantizer_Multipass()
770 …rc->Qc = (Int)(prev_QP * (M4VENC_SQRT(prev_RD / curr_RD) + M4VENC_POW(prev_RD / curr_RD, 1.0 / 3.0… in calculateQuantizer_Multipass()
Dmp4lib_int.h267 Int prev_QP; /* quantization level for previous frame */ member