Home
last modified time | relevance | path

Searched refs:pMbType (Results 1 – 15 of 15) sorted by relevance

/third_party/openh264/codec/decoder/core/src/
Ddecode_slice.cpp294 if (IS_INTRA16x16 (pCurDqLayer->pDec->pMbType[iMbXy])) { in WelsMbIntraPredictionConstruction()
296 } else if (IS_INTRA8x8 (pCurDqLayer->pDec->pMbType[iMbXy])) { in WelsMbIntraPredictionConstruction()
298 } else if (IS_INTRA4x4 (pCurDqLayer->pDec->pMbType[iMbXy])) { in WelsMbIntraPredictionConstruction()
336 if (MB_TYPE_INTRA_PCM == pCurDqLayer->pDec->pMbType[pCurDqLayer->iMbXyIndex]) { in WelsTargetMbConstruction()
339 } else if (IS_INTRA (pCurDqLayer->pDec->pMbType[pCurDqLayer->iMbXyIndex])) { in WelsTargetMbConstruction()
341 } else if (IS_INTER (pCurDqLayer->pDec->pMbType[pCurDqLayer->iMbXyIndex])) { //InterMB in WelsTargetMbConstruction()
352 pCurDqLayer->pDec->pMbType[pCurDqLayer->iMbXyIndex]); in WelsTargetMbConstruction()
683 pCurDqLayer->pDec->pMbType[iMbXy] = MB_TYPE_INTRA4x4; in WelsDecodeMbCabacISliceBaseMode0()
689 uiMbType = pCurDqLayer->pDec->pMbType[iMbXy] = MB_TYPE_INTRA8x8; in WelsDecodeMbCabacISliceBaseMode0()
703 pCurDqLayer->pDec->pMbType[iMbXy] = MB_TYPE_INTRA16x16; in WelsDecodeMbCabacISliceBaseMode0()
[all …]
Dpic_queue.cpp117 pPic->pMbType = (uint32_t*)pMa->WelsMallocz (uiMbCount * sizeof (uint32_t), "pPic->pMbType"); in AllocPicture()
155 if (pPic->pMbType) { in FreePicture()
156 pMa->WelsFree (pPic->pMbType, "pPic->pMbType"); in FreePicture()
157 pPic->pMbType = NULL; in FreePicture()
Dparse_mb_syn_cabac.cpp482 uint32_t* pMbType = pCtx->pCurDqLayer->pDec->pMbType; in ParseIntraPredModeChromaCabac() local
493 && pMbType[iMbXyTop] != MB_TYPE_INTRA_PCM; in ParseIntraPredModeChromaCabac()
495 && pMbType[iMbXyLeft] != MB_TYPE_INTRA_PCM; in ParseIntraPredModeChromaCabac()
540 switch (pCurDqLayer->pDec->pMbType[iMbXy]) { in ParseInterPMotionInfoCabac()
742 MbType mbType = pCurDqLayer->pDec->pMbType[iMbXy]; in ParseInterBMotionInfoCabac()
1284 uint32_t* pMbType = pCtx->pCurDqLayer->pDec->pMbType; in ParseCbfInfoCabac() local
1287 nA = nB = (int8_t)!!IS_INTRA (pMbType[iCurrBlkXy]); in ParseCbfInfoCabac()
1291 nB = (pMbType[iTopBlkXy] == MB_TYPE_INTRA_PCM) || ((pCbfDc[iTopBlkXy] >> iResProperty) & 1); in ParseCbfInfoCabac()
1293 nA = (pMbType[iLeftBlkXy] == MB_TYPE_INTRA_PCM) || ((pCbfDc[iLeftBlkXy] >> iResProperty) & 1); in ParseCbfInfoCabac()
1304 nB = pNzcCache[g_kCacheNzcScanIdx[iZIndex] - 8] || pMbType[iTopBlkXy] == MB_TYPE_INTRA_PCM; in ParseCbfInfoCabac()
[all …]
Dparse_mb_syn_cavlc.cpp102 …pNeighAvail->iLeftType = (pNeighAvail->iLeftAvail ? pCurDqLayer->pDec->pMbType[iLeftXy] … in GetNeighborAvailMbType()
103 …pNeighAvail->iTopType = (pNeighAvail->iTopAvail ? pCurDqLayer->pDec->pMbType[iTopXy] … in GetNeighborAvailMbType()
104 …pNeighAvail->iLeftTopType = (pNeighAvail->iLeftTopAvail ? pCurDqLayer->pDec->pMbType[iLeftTopXy]… in GetNeighborAvailMbType()
105 …pNeighAvail->iRightTopType = (pNeighAvail->iRightTopAvail ? pCurDqLayer->pDec->pMbType[iRightTopXy… in GetNeighborAvailMbType()
1088 switch (pCurDqLayer->pDec->pMbType[iMbXy]) { in ParseInterInfo()
1212 if (MB_TYPE_8x8_REF0 == pCurDqLayer->pDec->pMbType[iMbXy]) { in ParseInterInfo()
1240 if (MB_TYPE_8x8_REF0 == pCurDqLayer->pDec->pMbType[iMbXy]) { in ParseInterInfo()
1353 MbType mbType = pCurDqLayer->pDec->pMbType[iMbXy]; in ParseInterBInfo()
Ddeblocking.cpp1138 uint32_t iCurMbType = pCurDqLayer->pDec != NULL ? pCurDqLayer->pDec->pMbType[iMbXyIndex] : in WelsDeblockingMb()
1139 pCurDqLayer->pMbType[iMbXyIndex]; in WelsDeblockingMb()
1157 …uiMbType = pCurDqLayer->pDec != NULL ? pCurDqLayer->pDec->pMbType[iMbNb] : pCurDqLayer->pMbType[iM… in WelsDeblockingMb()
1171 …uiMbType = pCurDqLayer->pDec != NULL ? pCurDqLayer->pDec->pMbType[iMbNb] : pCurDqLayer->pMbType[iM… in WelsDeblockingMb()
Derror_concealment.cpp276 … if (pMbCorrectlyDecodedFlag[iMbXyIndex] && IS_INTER (pCurDqLayer->pDec->pMbType[iMbXyIndex])) { in GetAvilInfoFromCorrectMb()
277 uint32_t iMBType = pCurDqLayer->pDec->pMbType[iMbXyIndex]; in GetAvilInfoFromCorrectMb()
Ddecoder_core.cpp1513 …pCtx->sMb.pMbType[i] = (uint32_t*)pMa->WelsMallocz (pCtx->sMb.iMbWidth * pCtx->sMb.iMbHeight * siz… in InitialDqLayersContext()
1593 ((NULL == pCtx->sMb.pMbType[i]) || in InitialDqLayersContext()
1648 if (pCtx->sMb.pMbType[i]) { in UninitialDqLayersContext()
1649 pMa->WelsFree (pCtx->sMb.pMbType[i], "pCtx->sMb.pMbType[]"); in UninitialDqLayersContext()
1651 pCtx->sMb.pMbType[i] = NULL; in UninitialDqLayersContext()
2448 pCurDq->pMbType = pCtx->sMb.pMbType[0]; in InitCurDqLayerData()
2956 switch (pCtx->pCurDqLayer->pDec->pMbType[iRealMbIdx]) { in CheckRefPicturesComplete()
Drec_mb.cpp471 uint32_t iMBType = pCurDqLayer->pDec->pMbType[iMBXY]; in GetInterPred()
677 uint32_t iMBType = pCurDqLayer->pDec->pMbType[iMBXY]; in GetInterBPred()
Dmv_pred.cpp333 MbType coloc_mbType = colocPic->pMbType[iMbXy]; in GetColocatedMb()
/third_party/openh264/test/decoder/
DDecUT_PredMv.cpp317 iLeftType = ((iCurX != 0 && bLeftAvail) ? pCurLayer->pMbType[iLeftXy] : 0); in AnchorPredPSkipMvFromNeighbor()
318 iTopType = ((iCurY != 0 && bTopAvail) ? pCurLayer->pMbType[iTopXy] : 0); in AnchorPredPSkipMvFromNeighbor()
320 ? pCurLayer->pMbType[iLeftTopXy] : 0); in AnchorPredPSkipMvFromNeighbor()
322 ? pCurLayer->pMbType[iRightTopXy] : 0); in AnchorPredPSkipMvFromNeighbor()
422 …pDqLayer->pMbType = (uint32_t*) WelsMallocz (pDqLayer->iMbWidth * pDqLayer->iMbHeight * sizeof (ui… in AllocLayerData()
424 if (pDqLayer->pMbType == NULL) in AllocLayerData()
447 if (pDqLayer->pMbType != NULL) { in FreeLayerData()
448 WelsFree (pDqLayer->pMbType, "pDqLayer->pMbType"); in FreeLayerData()
449 pDqLayer->pMbType = NULL; in FreeLayerData()
479 pDqLayer->pMbType[i] = 1 << (rand() % 11); //2^(1 ~ 10) in InitRandomLayerMbType()
[all …]
DDecUT_DeblockCommon.cpp957 sDqLayer.pMbType = iMbType; in TEST()
958 sDqLayer.pMbType[0] = MB_TYPE_INTRA4x4; in TEST()
959 sDqLayer.pMbType[1] = MB_TYPE_INTRA4x4; in TEST()
973 EXPECT_TRUE(iY[0]==iLumaV0)<<iQP<<" "<<sDqLayer.pMbType[1]; \ in TEST()
974 …TRUE(iY[1<<2]==iLumaV1 && iY[2<<2]==iLumaV1 && iY[3<<2]==iLumaV1)<<iQP<<" "<<sDqLayer.pMbType[1]; \ in TEST()
975 …tride[0]]==iLumaV2 && iY[(3 << 2)*sFilter.iCsStride[0]]==iLumaV2)<<iQP<<" "<<sDqLayer.pMbType[1]; \ in TEST()
976 EXPECT_TRUE(iCb[0]==iChromaV0 && iCr[0]==iChromaV0)<<iQP<<" "<<sDqLayer.pMbType[1]; \ in TEST()
977 EXPECT_TRUE(iCb[2<<1]==iChromaV1 && iCr[2<<1]==iChromaV1)<<iQP<<" "<<sDqLayer.pMbType[1]; \ in TEST()
978 …ride[1]]==iChromaV2 && iCr[(2<<1)*sFilter.iCsStride[1]]==iChromaV2)<<iQP<<" "<<sDqLayer.pMbType[1]; in TEST()
982 sDqLayer.pMbType[1] = MB_TYPE_INTRA4x4; in TEST()
[all …]
/third_party/openh264/codec/decoder/core/inc/
Ddec_frame.h66 uint32_t* pMbType; member
138 uint32_t* pMbType; member
Dmv_pred.h187 return pCurDqLayer->pDec->pMbType; in GetMbType()
189 return pCurDqLayer->pMbType; in GetMbType()
Dpicture.h99 uint32_t* pMbType; // mb type used for direct mode member
Ddecoder_context.h345 uint32_t* pMbType[LAYER_NUM_EXCHANGEABLE]; /* mb type */ member