/third_party/openh264/codec/decoder/core/src/ |
D | error_concealment.cpp | 134 for (int32_t iMbY = 0; iMbY < iMbHeight; ++iMbY) { in DoErrorConSliceCopy() local 136 iMbXyIndex = iMbY * iMbWidth + iMbX; in DoErrorConSliceCopy() 142 pDstData = pDstPic->pData[0] + iMbY * 16 * iDstStride + iMbX * 16; in DoErrorConSliceCopy() 143 pSrcData = pSrcPic->pData[0] + iMbY * 16 * iSrcStride + iMbX * 16; in DoErrorConSliceCopy() 146 pDstData = pDstPic->pData[1] + iMbY * 8 * iDstStride / 2 + iMbX * 8; in DoErrorConSliceCopy() 147 pSrcData = pSrcPic->pData[1] + iMbY * 8 * iSrcStride / 2 + iMbX * 8; in DoErrorConSliceCopy() 150 pDstData = pDstPic->pData[2] + iMbY * 8 * iDstStride / 2 + iMbX * 8; in DoErrorConSliceCopy() 151 pSrcData = pSrcPic->pData[2] + iMbY * 8 * iSrcStride / 2 + iMbX * 8; in DoErrorConSliceCopy() 155 pDstData = pDstPic->pData[0] + iMbY * 16 * iDstStride + iMbX * 16; in DoErrorConSliceCopy() 161 pDstData = pDstPic->pData[1] + iMbY * 8 * iDstStride / 2 + iMbX * 8; in DoErrorConSliceCopy() [all …]
|
D | decode_slice.cpp | 104 pCurDqLayer->iMbY = iNextMbXyIndex / pCurDqLayer->iMbWidth; in WelsTargetSliceConstruction() 123 pCurDqLayer->iMbX, pCurDqLayer->iMbY, pCurSlice->eSliceType); in WelsTargetSliceConstruction() 153 pCurDqLayer->iMbY = iNextMbXyIndex / pCurDqLayer->iMbWidth; in WelsTargetSliceConstruction() 212 int32_t iMbY = pCurDqLayer->iMbY; in WelsMbInterConstruction() local 218 pDstY = pCurDqLayer->pDec->pData[0] + ((iMbY * iLumaStride + iMbX) << 4); in WelsMbInterConstruction() 219 pDstCb = pCurDqLayer->pDec->pData[1] + ((iMbY * iChromaStride + iMbX) << 3); in WelsMbInterConstruction() 220 pDstCr = pCurDqLayer->pDec->pData[2] + ((iMbY * iChromaStride + iMbX) << 3); in WelsMbInterConstruction() 229 pTempDstYCbCr[0] = pCtx->pTempDec->pData[0] + ((iMbY * iLumaStride + iMbX) << 4); in WelsMbInterConstruction() 230 pTempDstYCbCr[1] = pCtx->pTempDec->pData[1] + ((iMbY * iChromaStride + iMbX) << 3); in WelsMbInterConstruction() 231 pTempDstYCbCr[2] = pCtx->pTempDec->pData[2] + ((iMbY * iChromaStride + iMbX) << 3); in WelsMbInterConstruction() [all …]
|
D | deblocking.cpp | 672 int32_t iMbY = pCurDqLayer->iMbY; in DeblockingAvailableNoInterlayer() local 680 …bTopFlag = (iMbY > 0) && (pCurDqLayer->pSliceIdc[iMbXy] == pCurDqLayer->pSliceIdc[iMbXy - pCurDqL… in DeblockingAvailableNoInterlayer() 683 bTopFlag = (iMbY > 0); in DeblockingAvailableNoInterlayer() 889 int32_t iMbY = pCurDqLayer->iMbY; in DeblockingInterMb() local 898 pDestY = pFilter->pCsData[0] + ((iMbY * iLineSize + iMbX) << 4); in DeblockingInterMb() 899 pDestCb = pFilter->pCsData[1] + ((iMbY * iLineSizeUV + iMbX) << 3); in DeblockingInterMb() 900 pDestCr = pFilter->pCsData[2] + ((iMbY * iLineSizeUV + iMbX) << 3); in DeblockingInterMb() 977 int32_t iMbY = pCurDqLayer->iMbY; in FilteringEdgeLumaHV() local 988 pDestY = pFilter->pCsData[0] + ((iMbY * iLineSize + iMbX) << 4); in FilteringEdgeLumaHV() 1038 int32_t iMbY = pCurDqLayer->iMbY; in FilteringEdgeChromaHV() local [all …]
|
D | rec_mb.cpp | 52 int32_t iMbY = pCurDqLayer->iMbY; in WelsFillRecNeededMbInfo() local 58 pCurDqLayer->pPred[0] = pCurPic->pData[0] + ((iMbY * iLumaStride + iMbX) << 4); in WelsFillRecNeededMbInfo() 59 pCurDqLayer->pPred[1] = pCurPic->pData[1] + ((iMbY * iChromaStride + iMbX) << 3); in WelsFillRecNeededMbInfo() 60 pCurDqLayer->pPred[2] = pCurPic->pData[2] + ((iMbY * iChromaStride + iMbX) << 3); in WelsFillRecNeededMbInfo() 474 int32_t iMBOffsetY = pCurDqLayer->iMbY << 4; in GetInterPred() 680 int32_t iMBOffsetY = pCurDqLayer->iMbY << 4; in GetInterBPred()
|
D | mv_pred.cpp | 175 iCurY = pCurDqLayer->iMbY; in PredPSkipMvFromNeighbor() 319 if (16 * pCurDqLayer->iMbY > pCtx->lastReadyHeightOffset[1][0]) { in GetColocatedMb() 320 if (colocPic->pReadyEvent[pCurDqLayer->iMbY].isSignaled != 1) { in GetColocatedMb() 321 WAIT_EVENT (&colocPic->pReadyEvent[pCurDqLayer->iMbY], WELS_DEC_THREAD_WAIT_INFINITE); in GetColocatedMb() 323 pCtx->lastReadyHeightOffset[1][0] = 16 * pCurDqLayer->iMbY; in GetColocatedMb() 421 iCurY = pCurDqLayer->iMbY; in PredMvBDirectSpatial()
|
D | parse_mb_syn_cabac.cpp | 1511 int32_t iMbY = pCurDqLayer->iMbY; in ParseIPCMInfoCabac() local 1514 int32_t iMbOffsetLuma = (iMbX + iMbY * iDstStrideLuma) << 4; in ParseIPCMInfoCabac() 1515 int32_t iMbOffsetChroma = (iMbX + iMbY * iDstStrideChroma) << 3; in ParseIPCMInfoCabac()
|
D | parse_mb_syn_cavlc.cpp | 63 iCurY = pCurDqLayer->iMbY; in GetNeighborAvailMbType()
|
/third_party/openh264/test/decoder/ |
D | DecUT_ErrorConcealment.cpp | 141 for (int32_t iMbY = 0; iMbY < iMbHeight; ++iMbY) { in DoAncErrorConSliceCopy() local 143 iMbXyIndex = iMbY * iMbWidth + iMbX; in DoAncErrorConSliceCopy() 147 pDstData = pDstPic->pData[0] + iMbY * 16 * iDstStride + iMbX * 16; in DoAncErrorConSliceCopy() 148 pSrcData = pSrcPic->pData[0] + iMbY * 16 * iSrcStride + iMbX * 16; in DoAncErrorConSliceCopy() 155 pDstData = pDstPic->pData[1] + iMbY * 8 * iDstStride / 2 + iMbX * 8; in DoAncErrorConSliceCopy() 156 pSrcData = pSrcPic->pData[1] + iMbY * 8 * iSrcStride / 2 + iMbX * 8; in DoAncErrorConSliceCopy() 163 pDstData = pDstPic->pData[2] + iMbY * 8 * iDstStride / 2 + iMbX * 8; in DoAncErrorConSliceCopy() 164 pSrcData = pSrcPic->pData[2] + iMbY * 8 * iSrcStride / 2 + iMbX * 8; in DoAncErrorConSliceCopy() 172 pDstData = pDstPic->pData[0] + iMbY * 16 * iDstStride + iMbX * 16; in DoAncErrorConSliceCopy() 178 pDstData = pDstPic->pData[1] + iMbY * 8 * iDstStride / 2 + iMbX * 8; in DoAncErrorConSliceCopy() [all …]
|
D | DecUT_PredMv.cpp | 281 iCurY = pCurLayer->iMbY; in AnchorPredPSkipMvFromNeighbor() 544 sDqLayer.iMbY = 0; in TEST() 545 sDqLayer.iMbXyIndex = sDqLayer.iMbY * sDqLayer.iMbWidth + sDqLayer.iMbX; in TEST() 550 sDqLayer.iMbY = 0; in TEST() 551 sDqLayer.iMbXyIndex = sDqLayer.iMbY * sDqLayer.iMbWidth + sDqLayer.iMbX; in TEST() 556 sDqLayer.iMbY = rand() % sDqLayer.iMbHeight; in TEST() 557 sDqLayer.iMbXyIndex = sDqLayer.iMbY * sDqLayer.iMbWidth + sDqLayer.iMbX; in TEST() 562 sDqLayer.iMbY = rand() % (sDqLayer.iMbHeight - 1) + 1; //not equal to 0 in TEST() 563 sDqLayer.iMbXyIndex = sDqLayer.iMbY * sDqLayer.iMbWidth + sDqLayer.iMbX; in TEST() 620 sDqLayer.iMbY = (rand() % (sDqLayer.iMbHeight - 2)) + 1; //1 ~ (mb_height - 2) in TEST() [all …]
|
D | DecUT_DeblockCommon.cpp | 431 sLayer.iMbY = iY; \ in TEST() 432 sLayer.iMbXyIndex = sLayer.iMbX + sLayer.iMbY*3; \ in TEST() 439 sLayer.iMbY = iY; \ in TEST() 440 sLayer.iMbXyIndex = sLayer.iMbX + sLayer.iMbY*3; \ in TEST() 451 sLayer.iMbY = iY; \ in TEST() 452 sLayer.iMbXyIndex = sLayer.iMbX + sLayer.iMbY*3; \ in TEST() 593 sDqLayer.iMbX = sDqLayer.iMbY = 0; in TEST() 604 sDqLayer.iMbX = sDqLayer.iMbY = 0; in TEST() 614 sDqLayer.iMbX = sDqLayer.iMbY = 0; in TEST() 625 sDqLayer.iMbX = sDqLayer.iMbY = 0; in TEST() [all …]
|
/third_party/openh264/codec/encoder/core/src/ |
D | deblocking.cpp | 365 int32_t iMbY = pCurMb->iMbY; in DeblockingInterMb() local 368 …bool bTopBsValid[2] = { (iMbY > 0), ((iMbY > 0)&& (pCurMb->uiSliceIdc == (pCurMb - iMbStride)->ui… in DeblockingInterMb() 451 int32_t iMbY = pCurMb->iMbY; in FilteringEdgeLumaHV() local 454 …bool bTopBsValid[2] = { (iMbY > 0), ((iMbY > 0)&& (pCurMb->uiSliceIdc == (pCurMb - iMbStride)->ui… in FilteringEdgeLumaHV() 506 int32_t iMbY = pCurMb->iMbY; in FilteringEdgeChromaHV() local 509 …bool bTopBsValid[2] = { (iMbY > 0), ((iMbY > 0)&& (pCurMb->uiSliceIdc == (pCurMb - iMbStride)->ui… in FilteringEdgeChromaHV() 635 int32_t iMbY = pCurMb->iMbY; in DeblockingMbAvcbase() local 638 …bool bTopBsValid[2] = { (iMbY > 0), ((iMbY > 0)&& (pCurMb->uiSliceIdc == (pCurMb - iMbStride)->ui… in DeblockingMbAvcbase() 723 … = pCurDq->pDecPic->pData[0] + ((pCurrentMbBlock->iMbX + pCurrentMbBlock->iMbY * pFilter.iCsStride… in DeblockingFilterSliceAvcbase() 725 … = pCurDq->pDecPic->pData[1] + ((pCurrentMbBlock->iMbX + pCurrentMbBlock->iMbY * pFilter.iCsStride… in DeblockingFilterSliceAvcbase() [all …]
|
D | svc_mode_decision.cpp | 124 const int32_t kiRefMbIdx = (pCurMb->iMbY >> 1) * kpRefLayer->iMbWidth + (pCurMb->iMbX >> in GetRefMb() 134 …int32_t iRefMbPartIdx = ((pCurMb->iMbY & 0x01) << 1) + (pCurMb->iMbX & 0x01); //may be need modifi… in SetMvBaseEnhancelayer() 313 inline bool CheckBorder (int32_t iMbX, int32_t iMbY, int32_t iScrollMvX, int32_t iScrollMvY, int32_… in CheckBorder() argument 317 (iMbY << 4) + iScrollMvY < 0 || in CheckBorder() 318 (iMbY << 4) + iScrollMvY > (iMbHeight - 1) << 4 in CheckBorder() 326 const int32_t kiMbY = pCurMb->iMbY; in JudgeStaticSkip() 354 const int32_t kiMbY = pCurMb->iMbY; in JudgeScrollSkip() 502 const int32_t kiMbY = pCurMb->iMbY; in SetBlockStaticIdcToMd()
|
D | svc_base_layer_md.cpp | 263 const int32_t kiMbY = pCurMb->iMbY; in WelsMdIntraInit() 325 const int32_t kiMbY = pCurMb->iMbY; in WelsMdInterInit() 1007 if (pCurMb->iMbY < kiMbHeight - 1) { in WelsMdP16x16() 1344 const int32_t kiOffsetY = (pCurMb->iMbY * kiPicStride + pCurMb->iMbX) << 4; in VaaBackgroundMbDataUpdate() 1345 const int32_t kiOffsetUV = (pCurMb->iMbY * kiPicStrideUV + pCurMb->iMbX) << 3; in VaaBackgroundMbDataUpdate() 1459 n = (pCurMb->iMbY << 4) + sQpelMvp.iMvY; in WelsMdPSkipEnc()
|
D | encoder_ext.cpp | 857 pList[iIdx].iMbY = pEnc->pStrideTab->pMbIndexY[kiDlayerId][iIdx]; in InitMbInfo() 867 bTop = (pList[iIdx].iMbY > 0) && (uiSliceIdc == WelsMbToSliceIdc (pLayer, iTopXY)); in InitMbInfo() 868 bLeftTop = (pList[iIdx].iMbX > 0) && (pList[iIdx].iMbY > 0) && (uiSliceIdc == in InitMbInfo() 870 bRightTop = (pList[iIdx].iMbX < (iMbWidth - 1)) && (pList[iIdx].iMbY > 0) && (uiSliceIdc == in InitMbInfo() 893 if (pList[iIdx].iMbY >= BASE_MV_MB_NMB) in InitMbInfo() 895 if (pList[iIdx].iMbY <= (iMbHeight - 1 - BASE_MV_MB_NMB)) in InitMbInfo()
|
D | svc_encode_slice.cpp | 142 const int32_t kiMbY = pMb->iMbY; in UpdateMbNeighbor() 1789 pMd-> iMbPixY = (pCurMb->iMbY << 4); in WelsInitInterMDStruc()
|
/third_party/openh264/codec/decoder/core/inc/ |
D | dec_frame.h | 95 int32_t iMbY; member 145 int32_t iMbY; member
|
D | error_concealment.h | 53 …(PWelsDecoderContext pCtx, PPicture pDec, PPicture pRef, int32_t iMbXy, int32_t iMbX, int32_t iMbY,
|
/third_party/openh264/codec/encoder/core/inc/ |
D | svc_enc_macroblock.h | 56 int16_t iMbY; // position of MB in vertical axis [0..32767] member
|