Home
last modified time | relevance | path

Searched refs:uiMbType (Results 1 – 12 of 12) sorted by relevance

/third_party/openh264/codec/encoder/core/src/
Dsvc_set_mb_syn_cabac.cpp62 if ((uiNeighborAvail & LEFT_MB_POS) && !IS_INTRA4x4 (pLeftMb->uiMbType)) in WelsCabacMbType()
64 if ((uiNeighborAvail & TOP_MB_POS) && !IS_INTRA4x4 (pTopMb->uiMbType)) //TOP MB in WelsCabacMbType()
67 if (pCurMb->uiMbType == MB_TYPE_INTRA4x4) { in WelsCabacMbType()
91 uint32_t uiMbType = pCurMb->uiMbType; in WelsCabacMbType() local
92 if (uiMbType == MB_TYPE_16x16) { in WelsCabacMbType()
96 } else if ((uiMbType == MB_TYPE_16x8) || (uiMbType == MB_TYPE_8x16)) { in WelsCabacMbType()
100 WelsCabacEncodeDecision (pCabacCtx, 17, pCurMb->uiMbType == MB_TYPE_16x8); in WelsCabacMbType()
102 } else if ((uiMbType == MB_TYPE_8x8) || (uiMbType == MB_TYPE_8x8_REF0)) { in WelsCabacMbType()
106 } else if (pCurMb->uiMbType == MB_TYPE_INTRA4x4) { in WelsCabacMbType()
237 …if (IS_SKIP (pPrevMb->uiMbType) || ((pPrevMb->uiMbType != MB_TYPE_INTRA16x16) && (!pPrevMb->uiCbp)) in WelsCabacMbDeltaQp()
[all …]
Dsvc_set_mb_syn_cavlc.cpp65 Mb_Type uiMbType = pCurMb->uiMbType; in WelsSpatialWriteMbPred() local
87 switch (uiMbType) { in WelsSpatialWriteMbPred()
265 if (IS_SKIP (pCurMb->uiMbType)) { in WelsSpatialWriteMbSyn()
277 if (IS_Inter_8x8 (pCurMb->uiMbType)) { in WelsSpatialWriteMbSyn()
284 if (IS_INTRA4x4 (pCurMb->uiMbType)) { in WelsSpatialWriteMbSyn()
286 } else if (!IS_INTRA16x16 (pCurMb->uiMbType)) { in WelsSpatialWriteMbSyn()
291 if (pCurMb->uiCbp > 0 || IS_INTRA16x16 (pCurMb->uiMbType)) { in WelsSpatialWriteMbSyn()
311 Mb_Type uiMbType = pCurMb->uiMbType; in WelsWriteMbResidual() local
318 if (IS_INTRA16x16 (uiMbType)) { in WelsWriteMbResidual()
Dsvc_mode_decision.cpp61 …kbMbLeftAvailPskip = ((kuiNeighborAvail & LEFT_MB_POS) ? IS_SKIP ((pCurMb - 1)->uiMbType) : false); in WelsMdSpatialelInterMbIlfmdNoilp()
62 …const bool kbMbTopAvailPskip = ((kuiNeighborAvail & TOP_MB_POS) ? IS_SKIP (kpTopMb->uiMbType) : f… in WelsMdSpatialelInterMbIlfmdNoilp()
63 …eftAvailPskip = ((kuiNeighborAvail & TOPLEFT_MB_POS) ? IS_SKIP ((kpTopMb - 1)->uiMbType) : false); in WelsMdSpatialelInterMbIlfmdNoilp()
64 …ghtAvailPskip = ((kuiNeighborAvail & TOPRIGHT_MB_POS) ? IS_SKIP ((kpTopMb + 1)->uiMbType) : false); in WelsMdSpatialelInterMbIlfmdNoilp()
88 pCurMb->uiMbType = MB_TYPE_16x16; in WelsMdSpatialelInterMbIlfmdNoilp()
99 pCurMb->uiMbType = MB_TYPE_INTRA16x16; in WelsMdSpatialelInterMbIlfmdNoilp()
112 const Mb_Type kuiInterLayerRefMbType = kpInterLayerRefMb->uiMbType; in WelsMdInterMbEnhancelayer()
130 const Mb_Type kuiRefMbType = kpRefMb->uiMbType; in SetMvBaseEnhancelayer()
279 if (pCurMb->uiMbType == MB_TYPE_BACKGROUND) { in WelsMdUpdateBGDInfo()
280 pCurMb->uiMbType = MB_TYPE_SKIP; in WelsMdUpdateBGDInfo()
[all …]
Dmd.cpp69 if (IS_INTRA4x4 ((pCurMb - 1)->uiMbType)) { in FillNeighborCacheIntra()
106 if (IS_INTRA4x4 (pTopMb->uiMbType)) { in FillNeighborCacheIntra()
139 if ((uiNeighborAvail & LEFT_MB_POS) && IS_SVC_INTER (pLeftMb->uiMbType)) { in FillNeighborCacheInterWithoutBGD()
150 if (pLeftMb->uiMbType == MB_TYPE_SKIP) { in FillNeighborCacheInterWithoutBGD()
171 if ((uiNeighborAvail & TOP_MB_POS) && IS_SVC_INTER (pTopMb->uiMbType)) { //TOP MB in FillNeighborCacheInterWithoutBGD()
180 if (pTopMb->uiMbType == MB_TYPE_SKIP) { in FillNeighborCacheInterWithoutBGD()
200 if ((uiNeighborAvail & TOPLEFT_MB_POS) && IS_SVC_INTER (pLeftTopMb->uiMbType)) { //LEFT_TOP MB in FillNeighborCacheInterWithoutBGD()
205 if (pLeftTopMb->uiMbType == MB_TYPE_SKIP) { in FillNeighborCacheInterWithoutBGD()
220 if ((uiNeighborAvail & TOPRIGHT_MB_POS) && IS_SVC_INTER (iRightTopMb->uiMbType)) { //RIGHT_TOP MB in FillNeighborCacheInterWithoutBGD()
225 if (iRightTopMb->uiMbType == MB_TYPE_SKIP) { in FillNeighborCacheInterWithoutBGD()
[all …]
Dsvc_base_layer_md.cpp936 pCurMb->uiMbType = MB_TYPE_INTRA4x4; in WelsMdIntraFinePartition()
948 pCurMb->uiMbType = MB_TYPE_INTRA4x4; in WelsMdIntraFinePartitionVaa()
959 pCurMb->uiMbType = MB_TYPE_INTRA16x16; in WelsMdIntraMb()
1249 pCurMb->uiMbType = MB_TYPE_8x8; in WelsMdInterFinePartition()
1256 pCurMb->uiMbType = MB_TYPE_16x8; in WelsMdInterFinePartition()
1264 pCurMb->uiMbType = MB_TYPE_8x16; in WelsMdInterFinePartition()
1290 pCurMb->uiMbType = MB_TYPE_16x8; in WelsMdInterFinePartitionVaa()
1301 pCurMb->uiMbType = MB_TYPE_8x16; in WelsMdInterFinePartitionVaa()
1311 pCurMb->uiMbType = MB_TYPE_8x8; in WelsMdInterFinePartitionVaa()
1320 pCurMb->uiMbType = MB_TYPE_8x8; in WelsMdInterFinePartitionVaa()
[all …]
Ddeblocking.cpp561 if (IS_INTRA ((pCurMb - 1)->uiMbType)) { in DeblockingBSCalc_neon()
568 if (IS_INTRA ((pCurMb - iMbStride)->uiMbType)) { in DeblockingBSCalc_neon()
583 if (IS_INTRA ((pCurMb - 1)->uiMbType)) { in DeblockingBSCalc_AArch64_neon()
590 if (IS_INTRA ((pCurMb - iMbStride)->uiMbType)) { in DeblockingBSCalc_AArch64_neon()
602 …* (uint32_t*)uiBS[0][0] = IS_INTRA ((pCurMb - 1)->uiMbType) ? 0x04040404 : DeblockingBSMarginalMBA… in DeblockingBSCalc_c()
608 …* (uint32_t*)uiBS[1][0] = IS_INTRA ((pCurMb - iMbStride)->uiMbType) ? 0x04040404 : DeblockingBSMar… in DeblockingBSCalc_c()
631 Mb_Type uiCurMbType = pCurMb->uiMbType; in DeblockingMbAvcbase()
Dsvc_encode_slice.cpp181 switch (kpMb->uiMbType) { in WelsCountMbType()
495 if ((IS_INTER (pMb->uiMbType) && !IS_SKIP (pMb->uiMbType)) in OutputPMbWithoutConstructCsRsNoCopy()
496 || IS_I_BL (pMb->uiMbType)) { //intra have been reconstructed, NO COPY from CS to pDecPic-- in OutputPMbWithoutConstructCsRsNoCopy()
Dsvc_encode_mb.cpp255 const int32_t kiInterFlag = !IS_INTRA (pCurMb->uiMbType); in WelsEncRecUV()
/third_party/openh264/codec/decoder/core/src/
Ddecode_slice.cpp656 uint32_t uiMbType = 0, uiCbp = 0, uiCbpLuma = 0, uiCbpChroma = 0; in WelsDecodeMbCabacISliceBaseMode0() local
666 WELS_READ_VERIFY (ParseMBTypeISliceCabac (pCtx, &sNeighAvail, uiMbType)); in WelsDecodeMbCabacISliceBaseMode0()
667 if (uiMbType > 25) { in WelsDecodeMbCabacISliceBaseMode0()
669 } else if (!pCtx->pSps->uiChromaFormatIdc && ((uiMbType >= 5 && uiMbType <= 12) || (uiMbType >= 17 in WelsDecodeMbCabacISliceBaseMode0()
670 && uiMbType <= 24))) { in WelsDecodeMbCabacISliceBaseMode0()
672 } else if (25 == uiMbType) { //I_PCM in WelsDecodeMbCabacISliceBaseMode0()
681 } else if (0 == uiMbType) { //I4x4 in WelsDecodeMbCabacISliceBaseMode0()
689 uiMbType = pCurDqLayer->pDec->pMbType[iMbXy] = MB_TYPE_INTRA8x8; in WelsDecodeMbCabacISliceBaseMode0()
706 pCurDqLayer->pIntraPredMode[iMbXy][7] = (uiMbType - 1) & 3; in WelsDecodeMbCabacISliceBaseMode0()
707 pCurDqLayer->pCbp[iMbXy] = g_kuiI16CbpTable[ (uiMbType - 1) >> 2]; in WelsDecodeMbCabacISliceBaseMode0()
[all …]
Dparse_mb_syn_cabac.cpp74 uint32_t uiMbType = 0; in DecodeCabacIntraMbType() local
88 uiMbType = 1; /* I16x16 */ in DecodeCabacIntraMbType()
90 uiMbType += 12 * uiCode; in DecodeCabacIntraMbType()
95 uiMbType += 4 + 4 * uiCode; in DecodeCabacIntraMbType()
98 uiMbType += 2 * uiCode; in DecodeCabacIntraMbType()
100 uiMbType += 1 * uiCode; in DecodeCabacIntraMbType()
101 return uiMbType; in DecodeCabacIntraMbType()
283 …arseMBTypePSliceCabac (PWelsDecoderContext pCtx, PWelsNeighAvail pNeighAvail, uint32_t& uiMbType) { in ParseMBTypePSliceCabac() argument
285 uiMbType = 0; in ParseMBTypePSliceCabac()
296 uiMbType = 30; in ParseMBTypePSliceCabac()
[all …]
Ddeblocking.cpp1157 …uint32_t uiMbType = pCurDqLayer->pDec != NULL ? pCurDqLayer->pDec->pMbType[iMbNb] : pCurDqLayer->p… in WelsDeblockingMb() local
1159 * (uint32_t*)nBS[0][0] = IS_INTRA (uiMbType) ? 0x04040404 : in WelsDeblockingMb()
1163 * (uint32_t*)nBS[0][0] = IS_INTRA (uiMbType) ? 0x04040404 : DeblockingBsMarginalMBAvcbase ( in WelsDeblockingMb()
1171 …uint32_t uiMbType = pCurDqLayer->pDec != NULL ? pCurDqLayer->pDec->pMbType[iMbNb] : pCurDqLayer->p… in WelsDeblockingMb() local
1173 * (uint32_t*)nBS[1][0] = IS_INTRA (uiMbType) ? 0x04040404 : in WelsDeblockingMb()
1177 * (uint32_t*)nBS[1][0] = IS_INTRA (uiMbType) ? 0x04040404 : DeblockingBsMarginalMBAvcbase ( in WelsDeblockingMb()
/third_party/openh264/codec/encoder/core/inc/
Dsvc_enc_macroblock.h52 Mb_Type uiMbType; // including MB detailed partition type, number and type of referen… member