HomeSort by relevance Sort by last modified time
    Searched refs:QP (Results 1 - 25 of 33) sorted by null

1 2

  /external/opencore/codecs_v2/video/m4v_h263/dec/src/
cal_dc_scaler.cpp 151 int QP,
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
    [all...]
combined_decode.cpp 50 int16 QP, *QPMB = video->QPMB;
117 QP = video->currVop->quantizer;
130 video->QP_CHR = MQ_chroma_QP_table[QP];
134 video->QP_CHR = QP; /* ANNEX_T */
156 status = GetMBheader(video, &QP);
166 /* Store the QP value for later use in AC prediction */
167 QPMB[mbnum] = QP;
326 QP = video->currVop->quantizer;
346 PV_STATUS GetMBheader(VideoDecData *video, int16 *QP)
470 *QP += DQ_tab[DQUANT]
    [all...]
chv_filter.cpp 159 QP_store: pointer to the array of QP corresponding to the decoded frame.
168 To differentiate real and fake edge, it then check the difference with QP to
190 int QP = 1;
208 QP = QP_store[(brwidth>>2) + (mbc>>1)]; /* QP is per MB based value */
224 if (chr) QP = QP_store[jVal0];
237 if (((jVal2 > 0) && (jVal2 < (QP << 1)))
238 || ((jVal2 < 0) && (jVal2 > -(QP << 1)))) /* (D-C) compared with 2QP */
282 }/* a3_0 > 2QP */
    [all...]
chvr_filter.cpp 37 int QP = 1;
77 QP = QP_store[(brwidth>>2) + (mbc>>1)];
109 QP = QP_store[index];
128 if ((a3_0 > KThH || a3_0 < -KThH) && a3_0<QP && a3_0> -QP)
190 if (PV_ABS(a3_0) < (QP << 3))
268 QP = QP_store[index];
288 if ((a3_0 > KThH || a3_0 < -KThH) && a3_0<QP && a3_0> -QP)
347 if (PV_ABS(a3_0) < (QP << 3)
    [all...]
vlc_dequant.cpp 59 int QP = video->QPMB[mbnum];
148 temp = (int32)datablock[k] * qmat[k] * QP;
193 temp = (int32)dcac_col[j] * qmat[k] * QP;
209 temp = (int32)datablock[k] * qmat[k] * QP;
242 temp = (int32)dcac_row[j] * qmat[k] * QP;
259 temp = (int32)datablock[k] * qmat[k] * QP;
298 temp = (int32)datablock[k] * qmat[k] * QP;
314 temp = (int32)datablock[k] * qmat[k] * QP;
391 int QP = video->QPMB[mbnum];
445 temp = (-(int32)(2 * run_level.level + 1) * qmat[k] * QP + 15) >> 4; /* 03/23/01 *
    [all...]
conceal.cpp 35 int16 QP;
47 QP = video->QPMB[mbnum];
49 GetMBheaderDataPart_DQUANT_DC(video, &QP);
54 QP = video->QPMB[mbnum-1];
55 if (intra_dc_vlc_thr == 7 || QP >= intra_dc_vlc_thr*2 + 11) /* if switched then conceal from previous frame */
datapart_decode.cpp 146 int16 QP, *QPMB = video->QPMB;
155 QP = video->currVop->quantizer;
176 status = GetMBheaderDataPart_DQUANT_DC(video, &QP);
189 QPMB[mbnum] = QP;
311 int16 QP, *QPMB = video->QPMB;
407 QP = video->currVop->quantizer;
417 QPMB[mbnum] = QP; /* 03/01/01 */
445 status = GetMBheaderDataPart_DQUANT_DC(video, &QP);
449 QPMB[mbnum] = QP;
517 PV_STATUS GetMBheaderDataPart_DQUANT_DC(VideoDecData *video, int16 *QP)
    [all...]
dcac_prediction.cpp 46 int QP = video->QPMB[mbnum];
47 int QP_half = QP >> 1;
146 if (QP_tmp == QP)
158 q_block[i] = (val < 0) ? (int16)((val - QP_half) / QP) : (int16)((val + QP_half) / QP);
175 if (QP_tmp == QP)
187 q_block[i<<3] = (val < 0) ? (int16)((val - QP_half) / QP) : (int16)((val + QP_half) / QP);
mp4dec_lib.h 82 int cal_dc_scaler(int QP, int type);
104 PV_STATUS GetMBheader(VideoDecData *video, int16 *QP);
110 PV_STATUS GetMBheaderDataPart_DQUANT_DC(VideoDecData *video, int16 *QP);
  /frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/
cal_dc_scaler.cpp 151 int QP,
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
    [all...]
combined_decode.cpp 49 int16 QP, *QPMB = video->QPMB;
116 QP = video->currVop->quantizer;
129 video->QP_CHR = MQ_chroma_QP_table[QP];
133 video->QP_CHR = QP; /* ANNEX_T */
155 status = GetMBheader(video, &QP);
165 /* Store the QP value for later use in AC prediction */
166 QPMB[mbnum] = QP;
325 QP = video->currVop->quantizer;
345 PV_STATUS GetMBheader(VideoDecData *video, int16 *QP)
469 *QP += DQ_tab[DQUANT]
    [all...]
chv_filter.cpp 158 QP_store: pointer to the array of QP corresponding to the decoded frame.
167 To differentiate real and fake edge, it then check the difference with QP to
189 int QP = 1;
207 QP = QP_store[(brwidth>>2) + (mbc>>1)]; /* QP is per MB based value */
223 if (chr) QP = QP_store[jVal0];
236 if (((jVal2 > 0) && (jVal2 < (QP << 1)))
237 || ((jVal2 < 0) && (jVal2 > -(QP << 1)))) /* (D-C) compared with 2QP */
281 }/* a3_0 > 2QP */
    [all...]
chvr_filter.cpp 37 int QP = 1;
77 QP = QP_store[(brwidth>>2) + (mbc>>1)];
109 QP = QP_store[index];
128 if ((a3_0 > KThH || a3_0 < -KThH) && a3_0<QP && a3_0> -QP)
190 if (PV_ABS(a3_0) < (QP << 3))
268 QP = QP_store[index];
288 if ((a3_0 > KThH || a3_0 < -KThH) && a3_0<QP && a3_0> -QP)
347 if (PV_ABS(a3_0) < (QP << 3)
    [all...]
vlc_dequant.cpp 59 int QP = video->QPMB[mbnum];
148 temp = (int32)datablock[k] * qmat[k] * QP;
193 temp = (int32)dcac_col[j] * qmat[k] * QP;
209 temp = (int32)datablock[k] * qmat[k] * QP;
242 temp = (int32)dcac_row[j] * qmat[k] * QP;
259 temp = (int32)datablock[k] * qmat[k] * QP;
298 temp = (int32)datablock[k] * qmat[k] * QP;
314 temp = (int32)datablock[k] * qmat[k] * QP;
391 int QP = video->QPMB[mbnum];
445 temp = (-(int32)(2 * run_level.level + 1) * qmat[k] * QP + 15) >> 4; /* 03/23/01 *
    [all...]
conceal.cpp 35 int16 QP;
47 QP = video->QPMB[mbnum];
49 GetMBheaderDataPart_DQUANT_DC(video, &QP);
54 QP = video->QPMB[mbnum-1];
55 if (intra_dc_vlc_thr == 7 || QP >= intra_dc_vlc_thr*2 + 11) /* if switched then conceal from previous frame */
datapart_decode.cpp 145 int16 QP, *QPMB = video->QPMB;
154 QP = video->currVop->quantizer;
175 status = GetMBheaderDataPart_DQUANT_DC(video, &QP);
188 QPMB[mbnum] = QP;
310 int16 QP, *QPMB = video->QPMB;
406 QP = video->currVop->quantizer;
416 QPMB[mbnum] = QP; /* 03/01/01 */
444 status = GetMBheaderDataPart_DQUANT_DC(video, &QP);
448 QPMB[mbnum] = QP;
516 PV_STATUS GetMBheaderDataPart_DQUANT_DC(VideoDecData *video, int16 *QP)
    [all...]
dcac_prediction.cpp 46 int QP = video->QPMB[mbnum];
47 int QP_half = QP >> 1;
146 if (QP_tmp == QP)
158 q_block[i] = (val < 0) ? (int16)((val - QP_half) / QP) : (int16)((val + QP_half) / QP);
175 if (QP_tmp == QP)
187 q_block[i<<3] = (val < 0) ? (int16)((val - QP_half) / QP) : (int16)((val + QP_half) / QP);
mp4dec_lib.h 81 int cal_dc_scaler(int QP, int type);
103 PV_STATUS GetMBheader(VideoDecData *video, int16 *QP);
109 PV_STATUS GetMBheaderDataPart_DQUANT_DC(VideoDecData *video, int16 *QP);
  /external/opencore/codecs_v2/video/m4v_h263/enc/src/
fastcodemb.h 45 Int QP;
52 void initCodeMB(approxDCT *function, Int QP);
53 PV_STATUS CodeMB_H263(VideoEncData *video, approxDCT *function, Int QP, Int ncoefblck[], Int offset);
54 PV_STATUS CodeMB_MPEG(VideoEncData *video, approxDCT *function, Int QP, Int ncoefblck[], Int offset);
67 Int cal_dc_scalerENC(Int QP, Int type) ;
82 Int BlockQuantDequantMPEGInter(Int *rcoeff, Int *qcoeff, Int QP, Int *qmat,
86 Int BlockQuantDequantMPEGIntra(Int *rcoeff, Int *qcoeff, Int QP, Int *qmat,
90 Int BlockQuantDequantMPEGDCInter(Int *rcoeff, Int *qcoeff, Int QP, Int *qmat,
93 Int BlockQuantDequantMPEGDCIntra(Int *rcoeff, Int *qcoeff, Int QP, Int *qmat,
fastcodemb.cpp 34 /* QP Combined offset from the origin to the current */
35 /* macroblock and QP for current MB. */
51 PV_STATUS CodeMB_H263(VideoEncData *video, approxDCT *function, Int QP, Int ncoefblck[])
81 Int offset = QP >> 5; /* QP is combined offset and QP */
89 QP = QP & 0x1F;
92 QuantParam.QPx2 = QP << 1;
93 QuantParam.QP = QP
    [all...]
fastquant.cpp 84 /* Int Qp Quantizer */
90 Int cal_dc_scalerENC(Int QP, Int type)
96 if (QP > 0 && QP < 5)
98 else if (QP > 4 && QP < 9)
99 dc_scaler = 2 * QP;
100 else if (QP > 8 && QP < 25)
101 dc_scaler = QP + 8
    [all...]
fastquant_inline.h 100 __inline int32 aan_dc_scale(int32 coeff, int32 QP)
103 if (coeff < 0) coeff += (QP >> 1);
104 else coeff -= (QP >> 1);
125 __inline int32 coeff_dequant_mpeg(int32 q_value, int32 stepsize, int32 QP, int32 tmp)
132 stepsize *= QP;
244 __inline int32 coeff_dequant_mpeg(int32 q_value, int32 stepsize, int32 QP, int32 tmp)
251 smulbb stepsize, stepsize, QP
341 __inline int32 coeff_dequant_mpeg(int32 q_value, int32 stepsize, int32 QP, int32 tmp)
348 mul stepsize, stepsize, QP
380 __inline int32 aan_dc_scale(int32 coeff, int32 QP)
436 register int32 qp = QPdiv2; local
489 register int32 qp = QPx2; local
543 register int32 qp = QP; local
574 register int32 qp = QP; local
    [all...]
combined_encode.cpp 49 Int QP;
117 QP = QPMB[mbnum]; /* Get quant_scale */
119 status = EncodeGOBHeader(video, slice_counter, QP, 0); //ind_y /* Encode GOB Header */
129 QP = QPMB[mbnum]; /* always read new QP */
159 status = (*CodeMB)(video, &fastDCTfunction, (offset << 5) + QP, ncoefblck);
275 Int QP;
315 QPMB[0] = video->QP_prev = QP = currVop->quantizer;
322 QP = QPMB[mbnum];
373 status = EncodeGOBHeader(video, slice_counter, QP, 1); //ind_y /* Encode GOB Header *
    [all...]
datapart_encode.cpp 48 Int QP;
105 QP = QPMB[mbnum]; /* always read new QP */
118 video->QP_prev = currVop->quantizer; /* store QP */
130 status = (*CodeMB)(video, &fastDCTfunction, (offset << 5) + QP, ncoefblck);
222 Int QP;
259 QPMB[0] = video->QP_prev = QP = currVop->quantizer;
268 QP = QPMB[mbnum];
321 QP = QPMB[mbnum]; /* always read new QP */
    [all...]
  /external/opencore/codecs_v2/video/avc_h264/enc/src/
rate_control.cpp 31 double QP2Qstep(int QP);
175 int qp; local
250 /*compute the initial QP*/
274 qp = 35;
276 qp = 25;
278 qp = 20;
280 qp = 15;
281 rateCtrl->initQP = qp;
375 /* collect the necessary data: target bits, actual bits, mad and QP */
377 pMP->QP = video->QPy
    [all...]

Completed in 761 milliseconds

1 2