Home
last modified time | relevance | path

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

/third_party/openh264/codec/decoder/core/src/
Derror_concealment.cpp135 for (int32_t iMbX = 0; iMbX < iMbWidth; ++iMbX) { 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.cpp103 pCurDqLayer->iMbX = iNextMbXyIndex % pCurDqLayer->iMbWidth; in WelsTargetSliceConstruction()
123 pCurDqLayer->iMbX, pCurDqLayer->iMbY, pCurSlice->eSliceType); in WelsTargetSliceConstruction()
152 pCurDqLayer->iMbX = iNextMbXyIndex % pCurDqLayer->iMbWidth; in WelsTargetSliceConstruction()
211 int32_t iMbX = pCurDqLayer->iMbX; 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.cpp673 int32_t iMbX = pCurDqLayer->iMbX; in DeblockingAvailableNoInterlayer() local
679 bLeftFlag = (iMbX > 0) && (pCurDqLayer->pSliceIdc[iMbXy] == pCurDqLayer->pSliceIdc[iMbXy - 1]); in DeblockingAvailableNoInterlayer()
682 bLeftFlag = (iMbX > 0); in DeblockingAvailableNoInterlayer()
888 int32_t iMbX = pCurDqLayer->iMbX; 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()
976 int32_t iMbX = pCurDqLayer->iMbX; in FilteringEdgeLumaHV() local
988 pDestY = pFilter->pCsData[0] + ((iMbY * iLineSize + iMbX) << 4); in FilteringEdgeLumaHV()
1037 int32_t iMbX = pCurDqLayer->iMbX; in FilteringEdgeChromaHV() local
[all …]
Drec_mb.cpp51 int32_t iMbX = pCurDqLayer->iMbX; 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()
473 int32_t iMBOffsetX = pCurDqLayer->iMbX << 4; in GetInterPred()
679 int32_t iMBOffsetX = pCurDqLayer->iMbX << 4; in GetInterBPred()
Dparse_mb_syn_cabac.cpp1510 int32_t iMbX = pCurDqLayer->iMbX; in ParseIPCMInfoCabac() local
1514 int32_t iMbOffsetLuma = (iMbX + iMbY * iDstStrideLuma) << 4; in ParseIPCMInfoCabac()
1515 int32_t iMbOffsetChroma = (iMbX + iMbY * iDstStrideChroma) << 3; in ParseIPCMInfoCabac()
Dmv_pred.cpp174 iCurX = pCurDqLayer->iMbX; in PredPSkipMvFromNeighbor()
420 iCurX = pCurDqLayer->iMbX; in PredMvBDirectSpatial()
Dparse_mb_syn_cavlc.cpp62 iCurX = pCurDqLayer->iMbX; in GetNeighborAvailMbType()
/third_party/openh264/test/decoder/
DDecUT_ErrorConcealment.cpp142 for (int32_t iMbX = 0; iMbX < iMbWidth; ++iMbX) { 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.cpp280 iCurX = pCurLayer->iMbX; in AnchorPredPSkipMvFromNeighbor()
543 sDqLayer.iMbX = 0; in TEST()
545 sDqLayer.iMbXyIndex = sDqLayer.iMbY * sDqLayer.iMbWidth + sDqLayer.iMbX; in TEST()
549 sDqLayer.iMbX = rand() % sDqLayer.iMbWidth; in TEST()
551 sDqLayer.iMbXyIndex = sDqLayer.iMbY * sDqLayer.iMbWidth + sDqLayer.iMbX; in TEST()
555 sDqLayer.iMbX = 0; in TEST()
557 sDqLayer.iMbXyIndex = sDqLayer.iMbY * sDqLayer.iMbWidth + sDqLayer.iMbX; in TEST()
561 sDqLayer.iMbX = sDqLayer.iMbWidth - 1; in TEST()
563 sDqLayer.iMbXyIndex = sDqLayer.iMbY * sDqLayer.iMbWidth + sDqLayer.iMbX; in TEST()
619 sDqLayer.iMbX = (rand() % (sDqLayer.iMbWidth - 2)) + 1; //1 ~ (mb_width - 2) in TEST()
[all …]
DDecUT_DeblockCommon.cpp430 sLayer.iMbX = iX; \ in TEST()
432 sLayer.iMbXyIndex = sLayer.iMbX + sLayer.iMbY*3; \ in TEST()
438 sLayer.iMbX = iX; \ in TEST()
440 sLayer.iMbXyIndex = sLayer.iMbX + sLayer.iMbY*3; \ in TEST()
450 sLayer.iMbX = iX; \ 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.cpp364 int32_t iMbX = pCurMb->iMbX; in DeblockingInterMb() local
367 …bool bLeftBsValid[2] = { (iMbX > 0), ((iMbX > 0)&& (pCurMb->uiSliceIdc == (pCurMb - 1)->uiSliceIdc… in DeblockingInterMb()
450 int32_t iMbX = pCurMb->iMbX; in FilteringEdgeLumaHV() local
453 …bool bLeftBsValid[2] = { (iMbX > 0), ((iMbX > 0)&& (pCurMb->uiSliceIdc == (pCurMb - 1)->uiSliceIdc… in FilteringEdgeLumaHV()
505 int32_t iMbX = pCurMb->iMbX; in FilteringEdgeChromaHV() local
508 …bool bLeftBsValid[2] = { (iMbX > 0), ((iMbX > 0)&& (pCurMb->uiSliceIdc == (pCurMb - 1)->uiSliceIdc… in FilteringEdgeChromaHV()
634 int32_t iMbX = pCurMb->iMbX; in DeblockingMbAvcbase() local
637 …bool bLeftBsValid[2] = { (iMbX > 0), ((iMbX > 0)&& (pCurMb->uiSliceIdc == (pCurMb - 1)->uiSliceIdc… in DeblockingMbAvcbase()
723 …pFilter.pCsData[0] = pCurDq->pDecPic->pData[0] + ((pCurrentMbBlock->iMbX + pCurrentMbBlock->iMbY *… in DeblockingFilterSliceAvcbase()
725 …pFilter.pCsData[1] = pCurDq->pDecPic->pData[1] + ((pCurrentMbBlock->iMbX + pCurrentMbBlock->iMbY *… 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
315 return ((iMbX << 4) + iScrollMvX < 0 || in CheckBorder()
316 (iMbX << 4) + iScrollMvX > (iMbWidth - 1) << 4 || in CheckBorder()
325 const int32_t kiMbX = pCurMb->iMbX; in JudgeStaticSkip()
353 const int32_t kiMbX = pCurMb->iMbX; in JudgeScrollSkip()
501 const int32_t kiMbX = pCurMb->iMbX; in SetBlockStaticIdcToMd()
Dsvc_base_layer_md.cpp262 const int32_t kiMbX = pCurMb->iMbX; in WelsMdIntraInit()
324 const int32_t kiMbX = pCurMb->iMbX; in WelsMdInterInit()
1001 if (pCurMb->iMbX < kiMbWidth - 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()
1453 n = (pCurMb->iMbX << 4) + sQpelMvp.iMvX; in WelsMdPSkipEnc()
Dencoder_ext.cpp856 pList[iIdx].iMbX = pEnc->pStrideTab->pMbIndexX[kiDlayerId][iIdx]; in InitMbInfo()
866 bLeft = (pList[iIdx].iMbX > 0) && (uiSliceIdc == WelsMbToSliceIdc (pLayer, iLeftXY)); 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()
889 if (pList[iIdx].iMbX >= BASE_MV_MB_NMB) in InitMbInfo()
891 if (pList[iIdx].iMbX <= (iMbWidth - 1 - BASE_MV_MB_NMB)) in InitMbInfo()
Dsvc_encode_slice.cpp141 const int32_t kiMbX = pMb->iMbX; in UpdateMbNeighbor()
1788 pMd-> iMbPixX = (pCurMb->iMbX << 4); in WelsInitInterMDStruc()
/third_party/openh264/codec/decoder/core/inc/
Ddec_frame.h94 int32_t iMbX; member
144 int32_t iMbX; 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.h55 int16_t iMbX; // position of MB in horizontal axis [0..32767] member