Searched defs:dc_scaler (Results 1 - 4 of 4) sorted by last modified time

/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dcal_dc_scaler.cpp158 int dc_scaler; local
165 if (QP > 0 && QP < 5) dc_scaler = 8;
166 else if (QP > 4 && QP < 9) dc_scaler = 2 * QP;
167 else if (QP > 8 && QP < 25) dc_scaler = QP + 8;
168 else dc_scaler = 2 * QP - 16;
172 if (QP > 0 && QP < 5) dc_scaler = 8;
173 else if (QP > 4 && QP < 25) dc_scaler = (QP + 13) >> 1;
174 else dc_scaler = QP - 6;
180 return dc_scaler;
H A Dvlc_dequant.cpp74 int dc_scaler; local
99 dc_scaler = (comp < 4) ? video->mblock->DCScalarLum : video->mblock->DCScalarChr;
332 temp = (int32)datablock[0] * dc_scaler;
526 int dc_scaler; local
546 dc_scaler = (comp < 4) ? video->mblock->DCScalarLum : video->mblock->DCScalarChr;
780 temp = (int32)datablock[0] * dc_scaler;
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dfastcodemb.cpp58 Int dc_scaler = 8; local
107 dc_scaler = 8;
111 dc_scaler = cal_dc_scalerENC(QP, 1); /* luminance blocks */
113 DctTh1 = (Int)(dc_scaler * 3);//*1.829
170 dc_scaler = 8;
173 dc_scaler = cal_dc_scalerENC(QP, 2); /* chrominance blocks */
175 DctTh1 = (Int)(dc_scaler * 3);//*1.829
206 bitmaprow + k, bitmapzz, dc_scaler, shortHeader);
234 bitmapcol, bitmaprow + k, bitmapzz, dctMode, k, dc_scaler, shortHeader);
286 Int dc_scaler local
[all...]
H A Dfastquant.cpp40 /* scale for dc_scaler and qmat, note, no value smaller than 8 */
93 Int dc_scaler; local
97 dc_scaler = 8;
99 dc_scaler = 2 * QP;
101 dc_scaler = QP + 8;
103 dc_scaler = 2 * QP - 16;
108 dc_scaler = 8;
110 dc_scaler = (QP + 13) / 2;
112 dc_scaler = QP - 6;
114 return dc_scaler;
269 BlockQuantDequantH263Intra(Short *rcoeff, Short *qcoeff, struct QPstruct *QuantParam, UChar bitmapcol[ ], UChar *bitmaprow, UInt *bitmapzz, Int dctMode, Int comp, Int dc_scaler, UChar shortHeader) argument
495 BlockQuantDequantH263DCIntra(Short *rcoeff, Short *qcoeff, struct QPstruct *QuantParam, UChar *bitmaprow, UInt *bitmapzz, Int dc_scaler, UChar shortHeader) argument
544 BlockQuantDequantMPEGInter(Short *rcoeff, Short *qcoeff, Int QP, Int *qmat, UChar bitmapcol[ ], UChar *bitmaprow, UInt *bitmapzz, Int dctMode, Int comp, Int dc_scaler) argument
673 BlockQuantDequantMPEGIntra(Short *rcoeff, Short *qcoeff, Int QP, Int *qmat, UChar bitmapcol[ ], UChar *bitmaprow, UInt *bitmapzz, Int dctMode, Int comp, Int dc_scaler) argument
919 BlockQuantDequantMPEGDCIntra(Short *rcoeff, Short *qcoeff, Int QP, Int *qmat, UChar bitmapcol[ ], UChar *bitmaprow, UInt *bitmapzz, Int dc_scaler) argument
[all...]

Completed in 67 milliseconds