Home | History | Annotate | Download | only in src

Lines Matching refs:QP

33 /*      QP      Combined offset from the origin to the current          */
34 /* macroblock and QP for current MB. */
50 PV_STATUS CodeMB_H263(VideoEncData *video, approxDCT *function, Int QP, Int ncoefblck[])
80 Int offset = QP >> 5; /* QP is combined offset and QP */
88 QP = QP & 0x1F;
91 QuantParam.QPx2 = QP << 1;
92 QuantParam.QP = QP;
93 QuantParam.QPdiv2 = QP >> 1;
95 QuantParam.Addition = QP - 1 + (QP & 0x1);
111 dc_scaler = cal_dc_scalerENC(QP, 1); /* luminance blocks */
114 ColTh = ColThIntra[QP];
125 ColTh = ColThInter[QP];
126 DctTh1 = (Int)(16 * QP); //9*QP;
173 dc_scaler = cal_dc_scalerENC(QP, 2); /* chrominance blocks */
200 else if (sad < 18*QP/*(QP<<4)*/) /* DC-only */
214 if (sad < 22*QP/*(QP<<4)+(QP<<1)*/) /* 2x2 DCT */
220 else if (sad < (QP << 5)) /* 4x4 DCT */
262 /* QP Combined offset from the origin to the current */
263 /* macroblock and QP for current MB. */
279 PV_STATUS CodeMB_MPEG(VideoEncData *video, approxDCT *function, Int QP, Int ncoefblck[])
311 Int offset = QP >> 5;
319 QP = QP & 0x1F;
331 dc_scaler = cal_dc_scalerENC(QP, 1); /* luminance blocks */
334 DctTh2 = (Int)((1.25 * QP - 1) * qmat[1] * 0.45);//0.567);//0.567);
335 DctTh3 = (Int)((1.25 * QP - 1) * qmat[2] * 0.55);//1.162); /* 8/2/2001 */
336 DctTh4 = (Int)((1.25 * QP - 1) * qmat[32] * 0.8);//1.7583);//0.7942);
337 ColTh = ColThIntra[QP];
349 DctTh1 = (Int)(((QP << 1) - 0.5) * qmat[0] * 0.4);//0.2286);//0.3062);
350 DctTh2 = (Int)(((QP << 1) - 0.5) * qmat[1] * 0.45);//0.567);//0.4);
351 DctTh3 = (Int)(((QP << 1) - 0.5) * qmat[2] * 0.55);//1.162); /* 8/2/2001 */
352 DctTh4 = (Int)(((QP << 1) - 0.5) * qmat[32] * 0.8);//1.7583);//0.7942);
353 ColTh = ColThInter[QP];
395 dc_scaler = cal_dc_scalerENC(QP, 2); /* luminance blocks */
425 CBP |= (*BlockQuantDequantMPEGDC)(dataBlock, output, QP, qmat,
452 CBP |= (*BlockQuantDequantMPEG)(dataBlock, output, QP, qmat,