Home | History | Annotate | Download | only in src

Lines Matching refs:qp

29 double QP2Qstep(int QP);
173 int qp;
248 /*compute the initial QP*/
272 qp = 35;
274 qp = 25;
276 qp = 20;
278 qp = 15;
279 rateCtrl->initQP = qp;
373 /* collect the necessary data: target bits, actual bits, mad and QP */
375 pMP->QP = video->QPy;
406 /* Mad based variable bit allocation + QP calculation with a new quadratic method */
425 /* current frame QP estimation */
435 prev_QP = pMP->pRDSamples[i][0].QP;
463 prev_QP = QP2Qstep(pMP->pRDSamples[j][0].QP);
470 prev_QP = QP2Qstep(pMP->pRDSamples[j][i].QP);
477 if (prev_mad > 0.001) // only when prev_mad is greater than 0, otherwise keep using the same QP
481 if (prev_QP == 0.625) // added this to allow getting out of QP = 0 easily
497 // it doesn't hit the target bit rate due to this QP lower bound.
680 pMP->sum_QP -= pMP->QP;
758 currMB->QPy = video->QPy; /* use previous QP */
817 pMP->sum_QP += pMP->QP;
851 pMP->pRDSamples[pMP->framePos][counter_samples].QP = pMP->QP;
915 /* convert from QP to Qstep */
916 double QP2Qstep(int QP)
922 Qstep = QP2QSTEP[QP % 6];
923 for (i = 0; i < (QP / 6); i++)
929 /* convert from step size to QP */