Home
last modified time | relevance | path

Searched refs:iMbXy (Results 1 – 11 of 11) sorted by relevance

/third_party/openh264/codec/decoder/core/src/
Ddecode_slice.cpp179 int32_t iMbXy = pCurDqLayer->iMbXyIndex; in WelsMbInterSampleConstruction() local
182 if (pCurDqLayer->pTransformSize8x8Flag[iMbXy]) { in WelsMbInterSampleConstruction()
185 …if (pCurDqLayer->pNzc[iMbXy][iIndex] || pCurDqLayer->pNzc[iMbXy][iIndex + 1] || pCurDqLayer->pNzc[ in WelsMbInterSampleConstruction()
186 || pCurDqLayer->pNzc[iMbXy][iIndex + 5]) { in WelsMbInterSampleConstruction()
188 …pCtx->pIdctResAddPredFunc8x8 (pDstY + iOffset, iStrideL, pCurDqLayer->pScaledTCoeff[iMbXy] + (i <<… in WelsMbInterSampleConstruction()
193 const int8_t* pNzc = pCurDqLayer->pNzc[iMbXy]; in WelsMbInterSampleConstruction()
194 int16_t* pScaledTCoeff = pCurDqLayer->pScaledTCoeff[iMbXy]; in WelsMbInterSampleConstruction()
201 const int8_t* pNzc = pCurDqLayer->pNzc[iMbXy]; in WelsMbInterSampleConstruction()
202 int16_t* pScaledTCoeff = pCurDqLayer->pScaledTCoeff[iMbXy]; in WelsMbInterSampleConstruction()
290 int32_t iMbXy = pCurDqLayer->iMbXyIndex; in WelsMbIntraPredictionConstruction() local
[all …]
Ddeblocking.cpp58 #define MB_BS_MV(pRefPic0, pRefPic1, iMotionVector, iMbXy, iMbBn, iIndex, iNeighIndex) \ argument
61 ( WELS_ABS( iMotionVector[iMbXy][iIndex][0] - iMotionVector[iMbBn][iNeighIndex][0] ) >= 4 ) ||\
62 ( WELS_ABS( iMotionVector[iMbXy][iIndex][1] - iMotionVector[iMbBn][iNeighIndex][1] ) >= 4 )\
65 #define ON_MB_BS_MV_DIFF(iMV_A, iMV_B, iMbXy, iMbBn, iIndex, iNeighIndex) \ argument
67 (( WELS_ABS( iMV_A[iMbXy][iIndex][0] - iMV_B[iMbBn][iNeighIndex][0] ) >= 4 ) || \
68 ( WELS_ABS( iMV_A[iMbXy][iIndex][1] - iMV_B[iMbBn][iNeighIndex][1] ) >= 4 ))\
71 #define IN_MB_BS_MV_DIFF(iMV_A, iMV_B, iMbXy, iIndex, iNeighIndex) \ argument
73 (( WELS_ABS( iMV_A[iMbXy][iIndex][0] - iMV_B[iMbXy][iNeighIndex][0] ) >= 4 ) || \
74 ( WELS_ABS( iMV_A[iMbXy][iIndex][1] - iMV_B[iMbXy][iNeighIndex][1] ) >= 4 )) \
79 #define ON_MB_BS(ref_p0, ref_q0, ref_p1, ref_q1, mv0, mv1, iMbXy, iMbBn, iIndex, iNeighIndex) \ argument
[all …]
Dmv_pred.cpp312 int32_t iMbXy = pCurDqLayer->iMbXyIndex; in GetColocatedMb() local
314 uint32_t is8x8 = IS_Inter_8x8 (GetMbType (pCurDqLayer)[iMbXy]); in GetColocatedMb()
315 mbType = GetMbType (pCurDqLayer)[iMbXy]; in GetColocatedMb()
333 MbType coloc_mbType = colocPic->pMbType[iMbXy]; in GetColocatedMb()
357 int16_t* pMv = IS_TYPE_L1 (coloc_mbType) ? colocPic->pMv[LIST_1][iMbXy][0] : iMVZero; in GetColocatedMb()
358 ST32 (pCurDqLayer->iColocMv[LIST_0][0], LD32 (colocPic->pMv[LIST_0][iMbXy][0])); in GetColocatedMb()
360 pCurDqLayer->iColocRefIndex[LIST_0][0] = colocPic->pRefIndex[LIST_0][iMbXy][0]; in GetColocatedMb()
361 …er->iColocRefIndex[LIST_1][0] = IS_TYPE_L1 (coloc_mbType) ? colocPic->pRefIndex[LIST_1][iMbXy][0] : in GetColocatedMb()
365 … CopyRectBlock4Cols (pCurDqLayer->iColocMv[LIST_0], colocPic->pMv[LIST_0][iMbXy], 16, 16, 4, 4); in GetColocatedMb()
366 …CopyRectBlock4Cols (pCurDqLayer->iColocRefIndex[LIST_0], colocPic->pRefIndex[LIST_0][iMbXy], 4, 4,… in GetColocatedMb()
[all …]
Dparse_mb_syn_cabac.cpp108 int32_t iMbXy = pCurDqLayer->iMbXyIndex; in UpdateP16x8RefIdxCabac() local
114 ST32 (&pCurDqLayer->pDec->pRefIndex[iListIdx][iMbXy][iScan4Idx ], iRef4Bytes); in UpdateP16x8RefIdxCabac()
115 ST32 (&pCurDqLayer->pDec->pRefIndex[iListIdx][iMbXy][iScan4Idx4], iRef4Bytes); in UpdateP16x8RefIdxCabac()
126 int32_t iMbXy = pCurDqLayer->iMbXyIndex; in UpdateP8x16RefIdxCabac() local
133 ST16 (&pCurDqLayer->pDec->pRefIndex[iListIdx][iMbXy][iScan4Idx ], iRef2Bytes); in UpdateP8x16RefIdxCabac()
134 ST16 (&pCurDqLayer->pDec->pRefIndex[iListIdx][iMbXy][iScan4Idx4], iRef2Bytes); in UpdateP8x16RefIdxCabac()
143 int32_t iMbXy = pCurDqLayer->iMbXyIndex; in UpdateP8x8RefIdxCabac() local
145 …pCurDqLayer->pDec->pRefIndex[iListIdx][iMbXy][iScan4Idx] = pCurDqLayer->pDec->pRefIndex[iListIdx][ in UpdateP8x8RefIdxCabac()
147 …pCurDqLayer->pDec->pRefIndex[iListIdx][iMbXy][iScan4Idx + 4] = pCurDqLayer->pDec->pRefIndex[iListI… in UpdateP8x8RefIdxCabac()
152 int32_t iMbXy = pCurDqLayer->iMbXyIndex; in UpdateP8x8DirectCabac() local
[all …]
Dparse_mb_syn_cavlc.cpp1074 int32_t iMbXy = pCurDqLayer->iMbXyIndex; in ParseInterInfo() local
1088 switch (pCurDqLayer->pDec->pMbType[iMbXy]) { in ParseInterInfo()
1212 if (MB_TYPE_8x8_REF0 == pCurDqLayer->pDec->pMbType[iMbXy]) { in ParseInterInfo()
1224 pCurDqLayer->pSubMbType[iMbXy][i] = g_ksInterPSubMbTypeInfo[uiSubMbType].iType; in ParseInterInfo()
1229 pCurDqLayer->pNoSubMbPartSizeLessThan8x8Flag[iMbXy] &= (uiSubMbType == 0); in ParseInterInfo()
1240 if (MB_TYPE_8x8_REF0 == pCurDqLayer->pDec->pMbType[iMbXy]) { in ParseInterInfo()
1241 memset (pCurDqLayer->pDec->pRefIndex[0][iMbXy], 0, 16); in ParseInterInfo()
1262 …pCurDqLayer->pDec->pRefIndex[0][iMbXy][uiScan4Idx ] = pCurDqLayer->pDec->pRefIndex[0][iMbXy][uiSc… in ParseInterInfo()
1263 …pCurDqLayer->pDec->pRefIndex[0][iMbXy][uiScan4Idx + 4] = pCurDqLayer->pDec->pRefIndex[0][iMbXy][ui… in ParseInterInfo()
1275 uint32_t uiSubMbType = pCurDqLayer->pSubMbType[iMbXy][i]; in ParseInterInfo()
[all …]
Drec_mb.cpp64 int32_t RecI8x8Mb (int32_t iMbXy, PWelsDecoderContext pCtx, int16_t* pScoeffLevel, PDqLayer pDqLaye… in RecI8x8Mb() argument
65 RecI8x8Luma (iMbXy, pCtx, pScoeffLevel, pDqLayer); in RecI8x8Mb()
66 RecI4x4Chroma (iMbXy, pCtx, pScoeffLevel, pDqLayer); in RecI8x8Mb()
70 int32_t RecI8x8Luma (int32_t iMbXy, PWelsDecoderContext pCtx, int16_t* pScoeffLevel, PDqLayer pDqLa… in RecI8x8Luma() argument
79 int8_t* pIntra8x8PredMode = pDqLayer->pIntra4x4FinalMode[iMbXy]; // I_NxN in RecI8x8Luma()
88 bTLAvail[0] = !! (pDqLayer->pIntraNxNAvailFlag[iMbXy] & 0x02); in RecI8x8Luma()
89 bTLAvail[1] = !! (pDqLayer->pIntraNxNAvailFlag[iMbXy] & 0x01); in RecI8x8Luma()
90 bTLAvail[2] = !! (pDqLayer->pIntraNxNAvailFlag[iMbXy] & 0x04); in RecI8x8Luma()
93 bTRAvail[0] = !! (pDqLayer->pIntraNxNAvailFlag[iMbXy] & 0x01); in RecI8x8Luma()
94 bTRAvail[1] = !! (pDqLayer->pIntraNxNAvailFlag[iMbXy] & 0x08); in RecI8x8Luma()
[all …]
Derror_concealment.cpp179 void DoMbECMvCopy (PWelsDecoderContext pCtx, PPicture pDec, PPicture pRef, int32_t iMbXy, int32_t i… in DoMbECMvCopy() argument
/third_party/openh264/codec/decoder/core/inc/
Ddeblocking.h101 int32_t iNeighMb, int32_t iMbXy);
102 …ngBSliceBsMarginalMBAvcbase (PDqLayer pCurDqLayer, int32_t iEdge, int32_t iNeighMb, int32_t iMbXy);
108 inline int8_t* GetPNzc (PDqLayer pCurDqLayer, int32_t iMbXy) { in GetPNzc() argument
110 return pCurDqLayer->pDec->pNzc[iMbXy]; in GetPNzc()
112 return pCurDqLayer->pNzc[iMbXy]; in GetPNzc()
Drec_mb.h89 int32_t RecI8x8Mb (int32_t iMbXy, PWelsDecoderContext pCtx, int16_t* pScoeffLevel, PDqLayer pDqLaye…
91 int32_t RecI8x8Luma (int32_t iMbXy, PWelsDecoderContext pCtx, int16_t* pScoeffLevel, PDqLayer pDqLa…
Derror_concealment.h53 void DoMbECMvCopy (PWelsDecoderContext pCtx, PPicture pDec, PPicture pRef, int32_t iMbXy, int32_t i…
/third_party/openh264/codec/encoder/core/src/
Dsvc_mode_decision.cpp166 … const SPicture* pRef, const int32_t iMbXy, const int32_t iSmallestInvisibleTh) { in IsCostLessEqualSkipCost() argument
170 pRef->pMbSkipSad[iMbXy] > iSmallestInvisibleTh && in IsCostLessEqualSkipCost()
171 iCurCost >= (pRef->pMbSkipSad[iMbXy]))); in IsCostLessEqualSkipCost()