Home
last modified time | relevance | path

Searched refs:dc_scaler (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/media/codecs/m4v_h263/dec/src/
Dcal_dc_scaler.cpp158 int dc_scaler; in cal_dc_scaler() local
165 if (QP > 0 && QP < 5) dc_scaler = 8; in cal_dc_scaler()
166 else if (QP > 4 && QP < 9) dc_scaler = 2 * QP; in cal_dc_scaler()
167 else if (QP > 8 && QP < 25) dc_scaler = QP + 8; in cal_dc_scaler()
168 else dc_scaler = 2 * QP - 16; in cal_dc_scaler()
172 if (QP > 0 && QP < 5) dc_scaler = 8; in cal_dc_scaler()
173 else if (QP > 4 && QP < 25) dc_scaler = (QP + 13) >> 1; in cal_dc_scaler()
174 else dc_scaler = QP - 6; in cal_dc_scaler()
180 return dc_scaler; in cal_dc_scaler()
Dvlc_dequant.cpp74 int dc_scaler; in VlcDequantMpegIntraBlock() local
99 dc_scaler = (comp < 4) ? video->mblock->DCScalarLum : video->mblock->DCScalarChr; in VlcDequantMpegIntraBlock()
332 temp = (int32)datablock[0] * dc_scaler; in VlcDequantMpegIntraBlock()
526 int dc_scaler; in VlcDequantH263IntraBlock() local
546 dc_scaler = (comp < 4) ? video->mblock->DCScalarLum : video->mblock->DCScalarChr; in VlcDequantH263IntraBlock()
780 temp = (int32)datablock[0] * dc_scaler; in VlcDequantH263IntraBlock()
/frameworks/av/media/codecs/m4v_h263/enc/src/
Dfastquant.cpp93 Int dc_scaler; in cal_dc_scalerENC() local
97 dc_scaler = 8; in cal_dc_scalerENC()
99 dc_scaler = 2 * QP; in cal_dc_scalerENC()
101 dc_scaler = QP + 8; in cal_dc_scalerENC()
103 dc_scaler = 2 * QP - 16; in cal_dc_scalerENC()
108 dc_scaler = 8; in cal_dc_scalerENC()
110 dc_scaler = (QP + 13) / 2; in cal_dc_scalerENC()
112 dc_scaler = QP - 6; in cal_dc_scalerENC()
114 return dc_scaler; in cal_dc_scalerENC()
271 Int dctMode, Int comp, Int dc_scaler, UChar shortHeader) in BlockQuantDequantH263Intra() argument
[all …]
Dfastcodemb.cpp58 Int dc_scaler = 8; in CodeMB_H263() local
107 dc_scaler = 8; in CodeMB_H263()
111 dc_scaler = cal_dc_scalerENC(QP, 1); /* luminance blocks */ in CodeMB_H263()
113 DctTh1 = (Int)(dc_scaler * 3);//*1.829 in CodeMB_H263()
170 dc_scaler = 8; in CodeMB_H263()
173 dc_scaler = cal_dc_scalerENC(QP, 2); /* chrominance blocks */ in CodeMB_H263()
175 DctTh1 = (Int)(dc_scaler * 3);//*1.829 in CodeMB_H263()
206 bitmaprow + k, bitmapzz, dc_scaler, shortHeader); in CodeMB_H263()
234 … bitmapcol, bitmaprow + k, bitmapzz, dctMode, k, dc_scaler, shortHeader); in CodeMB_H263()
286 Int dc_scaler = 8; in CodeMB_MPEG() local
[all …]
Dfastcodemb.h74 Int dctMode, Int comp, Int dc_scaler);
80 UChar *bitmaprow, UInt *bitmapzz, Int dc_scaler);
84 Int DctMode, Int comp, Int dc_scaler);
88 Int DctMode, Int comp, Int dc_scaler);
94 … UChar bitmapcol[ ], UChar *bitmaprow, UInt *bitmapzz, Int dc_scaler);
Dmp4enc_lib.h71 Int dctMode, Int comp, Int dc_scaler, UChar shortHeader);
77 … UChar *bitmaprow, UInt *bitmapzz, Int dc_scaler, UChar shortHeader);
82 Int DctMode, Int comp, Int dc_scaler);
86 Int DctMode, Int comp, Int dc_scaler);
92 … UChar bitmapcol[ ], UChar *bitmaprow, UInt *bitmapzz, Int dc_scaler);