/external/opencore/codecs_v2/video/m4v_h263/dec/src/ |
D | cal_dc_scaler.cpp | 151 int QP, in cal_dc_scaler() argument 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()
|
D | combined_decode.cpp | 50 int16 QP, *QPMB = video->QPMB; in DecodeFrameCombinedMode() local 117 QP = video->currVop->quantizer; in DecodeFrameCombinedMode() 130 video->QP_CHR = MQ_chroma_QP_table[QP]; in DecodeFrameCombinedMode() 134 video->QP_CHR = QP; /* ANNEX_T */ in DecodeFrameCombinedMode() 156 status = GetMBheader(video, &QP); in DecodeFrameCombinedMode() 167 QPMB[mbnum] = QP; in DecodeFrameCombinedMode() 326 QP = video->currVop->quantizer; in DecodeFrameCombinedMode() 346 PV_STATUS GetMBheader(VideoDecData *video, int16 *QP) in GetMBheader() argument 470 *QP += DQ_tab[DQUANT]; in GetMBheader() 472 if (*QP < 1) *QP = 1; in GetMBheader() [all …]
|
D | vlc_dequant.cpp | 59 int QP = video->QPMB[mbnum]; in VlcDequantMpegIntraBlock() local 148 temp = (int32)datablock[k] * qmat[k] * QP; in VlcDequantMpegIntraBlock() 193 temp = (int32)dcac_col[j] * qmat[k] * QP; in VlcDequantMpegIntraBlock() 209 temp = (int32)datablock[k] * qmat[k] * QP; in VlcDequantMpegIntraBlock() 242 temp = (int32)dcac_row[j] * qmat[k] * QP; in VlcDequantMpegIntraBlock() 259 temp = (int32)datablock[k] * qmat[k] * QP; in VlcDequantMpegIntraBlock() 298 temp = (int32)datablock[k] * qmat[k] * QP; in VlcDequantMpegIntraBlock() 314 temp = (int32)datablock[k] * qmat[k] * QP; in VlcDequantMpegIntraBlock() 391 int QP = video->QPMB[mbnum]; in VlcDequantMpegInterBlock() local 445 temp = (-(int32)(2 * run_level.level + 1) * qmat[k] * QP + 15) >> 4; /* 03/23/01 */ in VlcDequantMpegInterBlock() [all …]
|
D | chv_filter.cpp | 190 int QP = 1; in CombinedHorzVertFilter() local 208 QP = QP_store[(brwidth>>2) + (mbc>>1)]; /* QP is per MB based value */ in CombinedHorzVertFilter() 224 if (chr) QP = QP_store[jVal0]; in CombinedHorzVertFilter() 237 if (((jVal2 > 0) && (jVal2 < (QP << 1))) in CombinedHorzVertFilter() 238 … || ((jVal2 < 0) && (jVal2 > -(QP << 1)))) /* (D-C) compared with 2QP */ in CombinedHorzVertFilter() 294 if (((jVal2 > 0) && (jVal2 < (QP))) in CombinedHorzVertFilter() 295 … || ((jVal2 < 0) && (jVal2 > -(QP)))) /* (C-B) compared with QP */ in CombinedHorzVertFilter() 340 if (chr) QP = QP_store[jVal0]; in CombinedHorzVertFilter() 353 if (((jVal2 > 0) && (jVal2 < (QP << 1))) in CombinedHorzVertFilter() 354 || ((jVal2 < 0) && (jVal2 > -(QP << 1)))) in CombinedHorzVertFilter() [all …]
|
D | chvr_filter.cpp | 37 int QP = 1; in CombinedHorzVertRingFilter() local 77 QP = QP_store[(brwidth>>2) + (mbc>>1)]; in CombinedHorzVertRingFilter() 109 QP = QP_store[index]; in CombinedHorzVertRingFilter() 128 if ((a3_0 > KThH || a3_0 < -KThH) && a3_0<QP && a3_0> -QP) in CombinedHorzVertRingFilter() 190 if (PV_ABS(a3_0) < (QP << 3)) in CombinedHorzVertRingFilter() 268 QP = QP_store[index]; in CombinedHorzVertRingFilter() 288 if ((a3_0 > KThH || a3_0 < -KThH) && a3_0<QP && a3_0> -QP) in CombinedHorzVertRingFilter() 347 if (PV_ABS(a3_0) < (QP << 3)) in CombinedHorzVertRingFilter() 437 QP = QP_store[index]; in CombinedHorzVertRingFilter() 442 max_diff = (QP >> 2) + 4; in CombinedHorzVertRingFilter() [all …]
|
D | datapart_decode.cpp | 146 int16 QP, *QPMB = video->QPMB; in DecodeDataPart_I_VideoPacket() local 155 QP = video->currVop->quantizer; in DecodeDataPart_I_VideoPacket() 176 status = GetMBheaderDataPart_DQUANT_DC(video, &QP); in DecodeDataPart_I_VideoPacket() 189 QPMB[mbnum] = QP; in DecodeDataPart_I_VideoPacket() 311 int16 QP, *QPMB = video->QPMB; in DecodeDataPart_P_VideoPacket() local 407 QP = video->currVop->quantizer; in DecodeDataPart_P_VideoPacket() 417 QPMB[mbnum] = QP; /* 03/01/01 */ in DecodeDataPart_P_VideoPacket() 445 status = GetMBheaderDataPart_DQUANT_DC(video, &QP); in DecodeDataPart_P_VideoPacket() 449 QPMB[mbnum] = QP; in DecodeDataPart_P_VideoPacket() 517 PV_STATUS GetMBheaderDataPart_DQUANT_DC(VideoDecData *video, int16 *QP) in GetMBheaderDataPart_DQUANT_DC() argument [all …]
|
D | conceal.cpp | 35 int16 QP; in ConcealTexture_I() local 47 QP = video->QPMB[mbnum]; in ConcealTexture_I() 49 GetMBheaderDataPart_DQUANT_DC(video, &QP); in ConcealTexture_I() 54 QP = video->QPMB[mbnum-1]; in ConcealTexture_I() 55 …if (intra_dc_vlc_thr == 7 || QP >= intra_dc_vlc_thr*2 + 11) /* if switched then conceal from prev… in ConcealTexture_I()
|
D | dcac_prediction.cpp | 46 int QP = video->QPMB[mbnum]; in doDCACPrediction() local 47 int QP_half = QP >> 1; in doDCACPrediction() 146 if (QP_tmp == QP) in doDCACPrediction() 158 … q_block[i] = (val < 0) ? (int16)((val - QP_half) / QP) : (int16)((val + QP_half) / QP); in doDCACPrediction() 175 if (QP_tmp == QP) in doDCACPrediction() 187 … q_block[i<<3] = (val < 0) ? (int16)((val - QP_half) / QP) : (int16)((val + QP_half) / QP); in doDCACPrediction()
|
D | 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);
|
/external/opencore/codecs_v2/video/m4v_h263/enc/src/ |
D | fastquant.cpp | 90 Int cal_dc_scalerENC(Int QP, Int type) in cal_dc_scalerENC() argument 96 if (QP > 0 && QP < 5) in cal_dc_scalerENC() 98 else if (QP > 4 && QP < 9) in cal_dc_scalerENC() 99 dc_scaler = 2 * QP; in cal_dc_scalerENC() 100 else if (QP > 8 && QP < 25) in cal_dc_scalerENC() 101 dc_scaler = QP + 8; in cal_dc_scalerENC() 103 dc_scaler = 2 * QP - 16; in cal_dc_scalerENC() 107 if (QP > 0 && QP < 5) in cal_dc_scalerENC() 109 else if (QP > 4 && QP < 25) in cal_dc_scalerENC() 110 dc_scaler = (QP + 13) / 2; in cal_dc_scalerENC() [all …]
|
D | fastcodemb.cpp | 51 PV_STATUS CodeMB_H263(VideoEncData *video, approxDCT *function, Int QP, Int ncoefblck[]) in CodeMB_H263() argument 81 Int offset = QP >> 5; /* QP is combined offset and QP */ in CodeMB_H263() 89 QP = QP & 0x1F; in CodeMB_H263() 92 QuantParam.QPx2 = QP << 1; in CodeMB_H263() 93 QuantParam.QP = QP; in CodeMB_H263() 94 QuantParam.QPdiv2 = QP >> 1; in CodeMB_H263() 96 QuantParam.Addition = QP - 1 + (QP & 0x1); in CodeMB_H263() 112 dc_scaler = cal_dc_scalerENC(QP, 1); /* luminance blocks */ in CodeMB_H263() 115 ColTh = ColThIntra[QP]; in CodeMB_H263() 126 ColTh = ColThInter[QP]; in CodeMB_H263() [all …]
|
D | fastcodemb.h | 45 Int QP; member 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,
|
D | fastquant_inline.h | 100 __inline int32 aan_dc_scale(int32 coeff, int32 QP) in aan_dc_scale() argument 103 if (coeff < 0) coeff += (QP >> 1); in aan_dc_scale() 104 else coeff -= (QP >> 1); in aan_dc_scale() 125 __inline int32 coeff_dequant_mpeg(int32 q_value, int32 stepsize, int32 QP, int32 tmp) in coeff_dequant_mpeg() argument 132 stepsize *= QP; in coeff_dequant_mpeg() 244 __inline int32 coeff_dequant_mpeg(int32 q_value, int32 stepsize, int32 QP, int32 tmp) in coeff_dequant_mpeg() argument 251 smulbb stepsize, stepsize, QP in coeff_dequant_mpeg() 341 __inline int32 coeff_dequant_mpeg(int32 q_value, int32 stepsize, int32 QP, int32 tmp) in coeff_dequant_mpeg() argument 348 mul stepsize, stepsize, QP in coeff_dequant_mpeg() 380 __inline int32 aan_dc_scale(int32 coeff, int32 QP) in aan_dc_scale() argument [all …]
|
D | combined_encode.cpp | 49 Int QP; in EncodeFrameCombinedMode() local 117 QP = QPMB[mbnum]; /* Get quant_scale */ in EncodeFrameCombinedMode() 119 … status = EncodeGOBHeader(video, slice_counter, QP, 0); //ind_y /* Encode GOB Header */ in EncodeFrameCombinedMode() 129 QP = QPMB[mbnum]; /* always read new QP */ in EncodeFrameCombinedMode() 159 status = (*CodeMB)(video, &fastDCTfunction, (offset << 5) + QP, ncoefblck); in EncodeFrameCombinedMode() 275 Int QP; in EncodeSliceCombinedMode() local 315 QPMB[0] = video->QP_prev = QP = currVop->quantizer; in EncodeSliceCombinedMode() 322 QP = QPMB[mbnum]; in EncodeSliceCombinedMode() 373 … status = EncodeGOBHeader(video, slice_counter, QP, 1); //ind_y /* Encode GOB Header */ in EncodeSliceCombinedMode() 407 QP = QPMB[mbnum]; /* always read new QP */ in EncodeSliceCombinedMode() [all …]
|
D | datapart_encode.cpp | 48 Int QP; in EncodeFrameDataPartMode() local 105 QP = QPMB[mbnum]; /* always read new QP */ in EncodeFrameDataPartMode() 130 status = (*CodeMB)(video, &fastDCTfunction, (offset << 5) + QP, ncoefblck); in EncodeFrameDataPartMode() 222 Int QP; in EncodeSliceDataPartMode() local 259 QPMB[0] = video->QP_prev = QP = currVop->quantizer; in EncodeSliceDataPartMode() 268 QP = QPMB[mbnum]; in EncodeSliceDataPartMode() 321 QP = QPMB[mbnum]; /* always read new QP */ in EncodeSliceDataPartMode() 341 status = (*CodeMB)(video, &fastDCTfunction, (offset << 5) + QP, ncoefblck); in EncodeSliceDataPartMode()
|
D | mp4enc_lib.h | 64 Int cal_dc_scalerENC(Int QP, Int type) ; 80 Int BlockQuantDequantMPEGInter(Short *rcoeff, Short *qcoeff, Int QP, Int *qmat, 84 Int BlockQuantDequantMPEGIntra(Short *rcoeff, Short *qcoeff, Int QP, Int *qmat, 88 Int BlockQuantDequantMPEGDCInter(Short *rcoeff, Short *qcoeff, Int QP, Int *qmat, 91 Int BlockQuantDequantMPEGDCIntra(Short *rcoeff, Short *qcoeff, Int QP, Int *qmat,
|
D | vlc_encode.cpp | 2002 Int cal_dc_scalerENC(Int QP, Int type) ; 2007 if(tmp<0) tmp = (tmp-(QP/2))/QP;\ 2008 else tmp = (tmp+(QP/2))/QP;\ 2028 UChar QP = video->QPMB[mbnum]; in DCACPred() local 2130 if (comp == 0) dc_scale = cal_dc_scalerENC(QP, 1) ; in DCACPred() 2131 if (comp == 4) dc_scale = cal_dc_scalerENC(QP, 2) ; in DCACPred() 2218 if (QPtmp != QP) in DCACPred() 2240 if (QPtmp != QP) in DCACPred() 2265 if (QPtmp != QP) in DCACPred() 2289 if (QPtmp != QP) in DCACPred() [all …]
|
D | rate_control.cpp | 245 pMP->QP = currVop->quantizer; in RC_VopQPSetting() 274 pMP->pRDSamples[pMP->framePos][counter_samples].QP = pMP->QP; in SaveRDSamples() 318 pMP->sum_QP += pMP->QP; in RC_VopUpdateStat() 744 prev_QP = pMP->pRDSamples[j][0].QP; in calculateQuantizer_Multipass() 750 prev_QP = pMP->pRDSamples[j][i].QP; in calculateQuantizer_Multipass() 873 pMP->sum_QP -= pMP->QP; in updateRC_PostProc()
|
D | mp4lib_int.h | 256 Int QP; member 267 Int QP; /* quantization level for current frame, = rc->Qc*/ member 466 Int QP; member
|
/external/opencore/codecs_v2/video/avc_h264/enc/src/ |
D | rate_control.cpp | 31 double QP2Qstep(int QP); 377 pMP->QP = video->QPy; in RCInitFrameQP() 437 prev_QP = pMP->pRDSamples[i][0].QP; in calculateQuantizer_Multipass() 465 prev_QP = QP2Qstep(pMP->pRDSamples[j][0].QP); in calculateQuantizer_Multipass() 472 prev_QP = QP2Qstep(pMP->pRDSamples[j][i].QP); in calculateQuantizer_Multipass() 682 pMP->sum_QP -= pMP->QP; in updateRC_PostProc() 819 pMP->sum_QP += pMP->QP; in RCUpdateFrame() 853 pMP->pRDSamples[pMP->framePos][counter_samples].QP = pMP->QP; in AVCSaveRDSamples() 918 double QP2Qstep(int QP) in QP2Qstep() argument 924 Qstep = QP2QSTEP[QP % 6]; in QP2Qstep() [all …]
|
D | avcenc_int.h | 153 int QP; member 164 int QP; /* quantization level for current frame, = rc->Qc*/ member
|
/external/opencore/codecs_v2/video/avc_h264/common/src/ |
D | deblock.cpp | 291 int edge, QP, QPC; in DeblockMb() local 330 QP = (MbP->QPy + MbQ->QPy + 1) >> 1; // Average QP of the two blocks; in DeblockMb() 331 indexA = QP + video->FilterOffsetA; in DeblockMb() 332 indexB = QP + video->FilterOffsetB; in DeblockMb() 437 QP = (MbP->QPy + MbQ->QPy + 1) >> 1; // Average QP of the two blocks; in DeblockMb() 438 indexA = QP + video->FilterOffsetA; in DeblockMb() 439 indexB = QP + video->FilterOffsetB; in DeblockMb()
|
/external/jpeg/ |
D | testimg.ppm | 4 …;6�;8�;8�99�99�:;�;;�<=�?=�A;�?6�=2�;-�;+�=*�=+�<)�;(�:&�8%�:%�9'�8)�5*�<5�QP�ee�^a�MM�NL�TM�YP�\Q…
|
/external/opencore/protocols/rtp_payload_parser/util/output/ |
D | pv_rtp.bin | 8321 �7����\\3!�Y"�R��iR)�U�eL2Q^bK�Ć0��@C�㢢2��@n�B�*�w��QP��g5�����SN �y�[Wu�+�j+���…
|
/external/icu4c/data/unidata/ |
D | UnicodeData.txt | 570 0239;LATIN SMALL LETTER QP DIGRAPH;Ll;0;L;;;;;N;;;;;
|