Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Drate_control.cpp208 video->rc[currLayer]->Qc = video->encParams->InitQuantIvop[currLayer]; in RC_VopQPSetting()
213 currVop->quantizer = video->rc[currLayer]->Qc; in RC_VopQPSetting()
721 if (rc->T < 0) rc->Qc = 31; in calculateQuantizer_Multipass()
761 rc->Qc = (Int)(prev_RD / curr_RD + 0.5); 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()
781 if (rc->Qc < 1) rc->Qc = 1; in calculateQuantizer_Multipass()
782 if (rc->Qc > 31) rc->Qc = 31; in calculateQuantizer_Multipass()
789 ((float)rc->Qc <= aver_QP*1.1 || curr_mad <= average_mad*1.1) && in calculateQuantizer_Multipass()
Drate_control.h45 Int Qc; /*quantization level used for the current frame. */ member