/third_party/openh264/codec/decoder/core/src/ |
D | error_concealment.cpp | 268 int8_t iRefIdx; in GetAvilInfoFromCorrectMb() local 281 iRefIdx = pCurDqLayer->pDec->pRefIndex[0][iMbXyIndex][0]; in GetAvilInfoFromCorrectMb() 282 pCtx->iECMVs[iRefIdx][0] += pCurDqLayer->pDec->pMv[0][iMbXyIndex][0][0]; in GetAvilInfoFromCorrectMb() 283 pCtx->iECMVs[iRefIdx][1] += pCurDqLayer->pDec->pMv[0][iMbXyIndex][0][1]; in GetAvilInfoFromCorrectMb() 284 pCtx->pECRefPic[iRefIdx] = pCtx->sRefPic.pRefList[LIST_0][iRefIdx]; in GetAvilInfoFromCorrectMb() 285 iInterMbCorrectNum[iRefIdx]++; in GetAvilInfoFromCorrectMb() 288 iRefIdx = pCurDqLayer->pDec->pRefIndex[0][iMbXyIndex][0]; in GetAvilInfoFromCorrectMb() 289 pCtx->iECMVs[iRefIdx][0] += pCurDqLayer->pDec->pMv[0][iMbXyIndex][0][0]; in GetAvilInfoFromCorrectMb() 290 pCtx->iECMVs[iRefIdx][1] += pCurDqLayer->pDec->pMv[0][iMbXyIndex][0][1]; in GetAvilInfoFromCorrectMb() 291 pCtx->pECRefPic[iRefIdx] = pCtx->sRefPic.pRefList[LIST_0][iRefIdx]; in GetAvilInfoFromCorrectMb() [all …]
|
D | parse_mb_syn_cavlc.cpp | 1090 int32_t iRefIdx = 0; in ParseInterInfo() local 1097 iRefIdx = uiCode; in ParseInterInfo() 1100 … if ((iRefIdx < 0) || (iRefIdx >= iRefCount[0]) || (ppRefPic[iRefIdx] == NULL)) { //error ref_idx in ParseInterInfo() 1103 iRefIdx = 0; in ParseInterInfo() 1109 pCtx->bMbRefConcealed = pCtx->bRPLRError || pCtx->bMbRefConcealed || ! (ppRefPic[iRefIdx] in ParseInterInfo() 1110 && (ppRefPic[iRefIdx]->bIsComplete || bIsPending)); in ParseInterInfo() 1115 PredMv (iMvArray, iRefIdxArray, LIST_0, 0, 4, iRefIdx, iMv); in ParseInterInfo() 1122 UpdateP16x16MotionInfo (pCurDqLayer, LIST_0, iRefIdx, iMv); in ParseInterInfo() 1126 int32_t iRefIdx[2]; in ParseInterInfo() local 1140 iRefIdx[i] = uiCode; in ParseInterInfo() [all …]
|
D | deblocking.cpp | 263 int8_t* iRefIdx = pCurDqLayer->pDec->pRefIndex[LIST_0][iMbXy]; in DeblockingBSInsideMBNormal() local 272 if (iRefIdx[i] > REF_NOT_IN_LIST) in DeblockingBSInsideMBNormal() 273 iRefs[i] = pFilter->pRefPics[LIST_0][iRefIdx[i]]; in DeblockingBSInsideMBNormal() 357 int8_t* iRefIdx = pCurDqLayer->pDec->pRefIndex[l][iMbXy]; in DeblockingBSliceBSInsideMBNormal() local 361 if (iRefIdx[i] > REF_NOT_IN_LIST) in DeblockingBSliceBSInsideMBNormal() 362 iRefs[l][i] = pFilter->pRefPics[l][iRefIdx[i]]; in DeblockingBSliceBSInsideMBNormal() 460 …int8_t (*iRefIdx)[MB_BLOCK4x4_NUM] = pCurDqLayer->pDec != NULL ? pCurDqLayer->pDec->pRefIndex[LIST… in DeblockingBsMarginalMBAvcbase() local 473 …ref0 = (iRefIdx[iMbXy][*pB8x8Idx] > REF_NOT_IN_LIST) ? pFilter->pRefPics[LIST_0][iRefIdx[iMbXy][*p… in DeblockingBsMarginalMBAvcbase() 474 …ref1 = (iRefIdx[iNeighMb][*pBn8x8Idx] > REF_NOT_IN_LIST) ? pFilter->pRefPics[LIST_0][iRefIdx[iNeig… in DeblockingBsMarginalMBAvcbase() 493 …ref0 = (iRefIdx[iMbXy][*pB8x8Idx] > REF_NOT_IN_LIST) ? pFilter->pRefPics[LIST_0][iRefIdx[iMbXy][*p… in DeblockingBsMarginalMBAvcbase() [all …]
|
D | rec_mb.cpp | 217 …inline int32_t GetRefPic (sMCRefMember* pMCRefMem, PWelsDecoderContext pCtx, const int8_t& iRefIdx, in GetRefPic() argument 221 if (iRefIdx >= 0) { in GetRefPic() 222 pRefPic = pCtx->sRefPic.pRefList[listIdx][iRefIdx]; in GetRefPic() 244 … (PWelsDecoderContext pCtx, sMCRefMember* pMCRefMem, const int32_t& listIdx, const int8_t& iRefIdx, in BaseMC() argument 255 if (GetThreadCount (pCtx) > 1 && iRefIdx >= 0) { in BaseMC() 257 PPicture pRefPic = pCtx->sRefPic.pRefList[listIdx][iRefIdx]; in BaseMC() 267 if (offset > pCtx->lastReadyHeightOffset[listIdx][iRefIdx]) { in BaseMC() 272 pCtx->lastReadyHeightOffset[listIdx][iRefIdx] = offset; in BaseMC() 298 … WeightPrediction (PDqLayer pCurDqLayer, sMCRefMember* pMCRefMem, int32_t listIdx, int32_t iRefIdx, in WeightPrediction() argument 309 iWoc = pCurDqLayer->pPredWeightTable->sPredList[listIdx].iLumaWeight[iRefIdx]; in WeightPrediction() [all …]
|
/third_party/openh264/codec/encoder/core/src/ |
D | deblocking.cpp | 166 uiBS[0][1][0] = BS_EDGE (uiBsx4[0], iRefIdx, pCurMb->sMv, 1, 0); in DeblockingBSInsideMBNormal() 167 uiBS[0][2][0] = BS_EDGE (uiBsx4[1], iRefIdx, pCurMb->sMv, 2, 1); in DeblockingBSInsideMBNormal() 168 uiBS[0][3][0] = BS_EDGE (uiBsx4[2], iRefIdx, pCurMb->sMv, 3, 2); in DeblockingBSInsideMBNormal() 172 uiBS[0][1][1] = BS_EDGE (uiBsx4[0], iRefIdx, pCurMb->sMv, 5, 4); in DeblockingBSInsideMBNormal() 173 uiBS[0][2][1] = BS_EDGE (uiBsx4[1], iRefIdx, pCurMb->sMv, 6, 5); in DeblockingBSInsideMBNormal() 174 uiBS[0][3][1] = BS_EDGE (uiBsx4[2], iRefIdx, pCurMb->sMv, 7, 6); in DeblockingBSInsideMBNormal() 178 uiBS[0][1][2] = BS_EDGE (uiBsx4[0], iRefIdx, pCurMb->sMv, 9, 8); in DeblockingBSInsideMBNormal() 179 uiBS[0][2][2] = BS_EDGE (uiBsx4[1], iRefIdx, pCurMb->sMv, 10, 9); in DeblockingBSInsideMBNormal() 180 uiBS[0][3][2] = BS_EDGE (uiBsx4[2], iRefIdx, pCurMb->sMv, 11, 10); in DeblockingBSInsideMBNormal() 184 uiBS[0][1][3] = BS_EDGE (uiBsx4[0], iRefIdx, pCurMb->sMv, 13, 12); in DeblockingBSInsideMBNormal() [all …]
|
D | ref_list_mgr_svc.cpp | 358 int32_t iRefIdx = 0; in WelsUpdateRefList() local 387 for (iRefIdx = pRefList->uiShortRefCount - 1; iRefIdx >= 0; --iRefIdx) { in WelsUpdateRefList() 388 pRefList->pShortRefList[iRefIdx + 1] = pRefList->pShortRefList[iRefIdx]; in WelsUpdateRefList() 684 int32_t iRefIdx = 0; in WelsUpdateSliceHeaderSyntax() local 685 for (iRefIdx = 0; iRefIdx < pCtx->iNumRef0; iRefIdx++) { in WelsUpdateSliceHeaderSyntax() 686 pRefReorder->SReorderingSyntax[iRefIdx].uiReorderingOfPicNumsIdc = 2; in WelsUpdateSliceHeaderSyntax() 687 …pRefReorder->SReorderingSyntax[iRefIdx].iLongTermPicNum = pCtx->pRefList0[iRefIdx]->iLongTermPicNu… in WelsUpdateSliceHeaderSyntax() 689 pRefReorder->SReorderingSyntax[iRefIdx].uiReorderingOfPicNumsIdc = 3; in WelsUpdateSliceHeaderSyntax()
|
D | wels_preprocess.cpp | 1242 int32_t CWelsPreProcess::GetRefFrameInfo (int32_t iRefIdx, bool bCurrentFrameIsSceneLtr, SPicture*&… in GetRefFrameInfo() argument 1245 …stRefCandidateParam = (bCurrentFrameIsSceneLtr) ? (& (pVaaExt->sVaaLtrBestRefCandidate[iRefIdx])) : in GetRefFrameInfo() 1246 (& (pVaaExt->sVaaStrBestRefCandidate[iRefIdx])); in GetRefFrameInfo() 1336 for (int iRefIdx = kuiShortRefCount - 1; iRefIdx >= 0; --iRefIdx) { in UpdateSrcList() local 1337 WelsExchangeSpatialPictures (&pRefSrcList[iRefIdx + 1], in UpdateSrcList() 1338 &pRefSrcList[iRefIdx]); in UpdateSrcList()
|
D | svc_set_mb_syn_cabac.cpp | 288 int16_t iRefIdx = pMvComp->iRefIndexCache[iIdx + 7]; in WelsCabacMbRef() local 296 while (iRefIdx > 0) { in WelsCabacMbRef() 299 iRefIdx--; in WelsCabacMbRef()
|
/third_party/openh264/codec/decoder/core/inc/ |
D | rec_mb.h | 77 … (PWelsDecoderContext pCtx, sMCRefMember* pMCRefMem, const int32_t& listIdx, const int8_t& iRefIdx,
|
/third_party/openh264/codec/encoder/core/inc/ |
D | wels_preprocess.h | 134 int32_t GetRefFrameInfo (int32_t iRefIdx, bool bCurrentFrameIsSceneLtr, SPicture*& pRefOri);
|