Home
last modified time | relevance | path

Searched refs:iMbY (Results 1 – 18 of 18) sorted by relevance

/third_party/openh264/codec/decoder/core/src/
Derror_concealment.cpp134 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 …]
Ddecode_slice.cpp104 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 …]
Ddeblocking.cpp672 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 …]
Drec_mb.cpp52 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()
Dmv_pred.cpp175 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()
Dparse_mb_syn_cabac.cpp1511 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()
Dparse_mb_syn_cavlc.cpp63 iCurY = pCurDqLayer->iMbY; in GetNeighborAvailMbType()
/third_party/openh264/test/decoder/
DDecUT_ErrorConcealment.cpp141 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 …]
DDecUT_PredMv.cpp281 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 …]
DDecUT_DeblockCommon.cpp431 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/
Ddeblocking.cpp365 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 …]
Dsvc_mode_decision.cpp124 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()
Dsvc_base_layer_md.cpp263 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()
Dencoder_ext.cpp857 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()
Dsvc_encode_slice.cpp142 const int32_t kiMbY = pMb->iMbY; in UpdateMbNeighbor()
1789 pMd-> iMbPixY = (pCurMb->iMbY << 4); in WelsInitInterMDStruc()
/third_party/openh264/codec/decoder/core/inc/
Ddec_frame.h95 int32_t iMbY; member
145 int32_t iMbY; member
Derror_concealment.h53 …(PWelsDecoderContext pCtx, PPicture pDec, PPicture pRef, int32_t iMbXy, int32_t iMbX, int32_t iMbY,
/third_party/openh264/codec/encoder/core/inc/
Dsvc_enc_macroblock.h56 int16_t iMbY; // position of MB in vertical axis [0..32767] member