Home
last modified time | relevance | path

Searched refs:eSliceType (Results 1 – 25 of 26) sorted by relevance

12

/third_party/openh264/codec/decoder/core/src/
Dmanage_dec_ref.cpp85 if (pRef->eSliceType == I_SLICE) { in SetUnRef()
88 int32_t lists = pRef->eSliceType == P_SLICE ? 1 : 2; in SetUnRef()
150 && (pCtx->eSliceType != I_SLICE in WelsCheckAndRecoverForFutureDecoding()
151 && pCtx->eSliceType != SI_SLICE)) { in WelsCheckAndRecoverForFutureDecoding()
160 if (pCtx->eSliceType == B_SLICE) { in WelsCheckAndRecoverForFutureDecoding()
196 pRef->eSliceType = pCtx->eSliceType; in WelsCheckAndRecoverForFutureDecoding()
385 if (pCtx->eSliceType == I_SLICE || pCtx->eSliceType == SI_SLICE) { in WelsReorderRefList()
393 if (pCtx->eSliceType == B_SLICE) ListCount = 2; in WelsReorderRefList()
481 if (pCtx->eSliceType == I_SLICE || pCtx->eSliceType == SI_SLICE) { in WelsReorderRefList2()
499 if (pCtx->eSliceType == B_SLICE) iListCount = 2; in WelsReorderRefList2()
Ddecode_slice.cpp61 if (pCtx->eSliceType == B_SLICE) { in CheckRefPics()
123 pCurDqLayer->iMbX, pCurDqLayer->iMbY, pCurSlice->eSliceType); in WelsTargetSliceConstruction()
160 …if ((pCurSlice->eSliceType != I_SLICE) && (pCurSlice->eSliceType != P_SLICE) && (pCurSlice->eSlice… in WelsTargetSliceConstruction()
222 if (pCtx->eSliceType == P_SLICE) { in WelsMbInterConstruction()
316 if (pCtx->eSliceType == P_SLICE) { in WelsMbInterPrediction()
1540 if (P_SLICE == pSliceHeader->eSliceType) in WelsDecodeSlice()
1542 else if (B_SLICE == pSliceHeader->eSliceType) in WelsDecodeSlice()
1547 if (P_SLICE == pSliceHeader->eSliceType) { in WelsDecodeSlice()
1549 } else if (B_SLICE == pSliceHeader->eSliceType) { in WelsDecodeSlice()
1566 pCtx->eSliceType = pSliceHeader->eSliceType; in WelsDecodeSlice()
[all …]
Dcabac_decoder.cpp61 void WelsCabacContextInit (PWelsDecoderContext pCtx, uint8_t eSliceType, int32_t iCabacInitIdc, in… in WelsCabacContextInit() argument
62 int32_t iIdx = pCtx->eSliceType == WelsCommon::I_SLICE ? 0 : iCabacInitIdc + 1; in WelsCabacContextInit()
Ddecoder_core.cpp390 if (pSh->eSliceType != B_SLICE) { in ParsePredWeightedTable()
449 const EWelsSliceType keSt = pSh->eSliceType; in ParseRefPicListReordering()
945 pSliceHead->eSliceType = static_cast <EWelsSliceType> (uiSliceType); in ParseSliceHeaderSyntaxs()
1200 if (pSliceHead->eSliceType != I_SLICE && pSliceHead->eSliceType != SI_SLICE) { in ParseSliceHeaderSyntaxs()
2419 pCtx->eSliceType = pSh->eSliceType; in WelsDqLayerDecodeStart()
2429 if (pCtx->eSliceType == B_SLICE) { in InitRefPicList()
2434 if ((pCtx->eSliceType != I_SLICE && pCtx->eSliceType != SI_SLICE)) { in InitRefPicList()
2627 pCtx->pDec->eSliceType = pSh->eSliceType; in DecodeCurrentAccessUnit()
2631 pLayerInfo.sSliceInLayer.eSliceType = pSh->eSliceType; in DecodeCurrentAccessUnit()
2652 pSh->eSliceType); in DecodeCurrentAccessUnit()
[all …]
Dparse_mb_syn_cabac.cpp235 if (B_SLICE == pCtx->eSliceType) in ParseSkipFlagCabac()
1098 if (pCtx->eSliceType == B_SLICE) { in ParseRefIdxCabac()
1110 if (pCtx->eSliceType == B_SLICE) { in ParseRefIdxCabac()
1123 if (pCtx->eSliceType == B_SLICE) { in ParseRefIdxCabac()
1134 if (pCtx->eSliceType == B_SLICE) { in ParseRefIdxCabac()
1143 if (pCtx->eSliceType != B_SLICE) { in ParseRefIdxCabac()
Ddeblocking.cpp1144 bool bBSlice = pSliceHeader->eSliceType == B_SLICE; in WelsDeblockingMb()
1238 pFilter.eSliceType = (EWelsSliceType) pCurDqLayer->sLayerInfo.sSliceInLayer.eSliceType; in WelsDeblockingFilterSlice()
1304 pFilter.eSliceType = (EWelsSliceType)pCurDqLayer->sLayerInfo.sSliceInLayer.eSliceType; in WelsDeblockingInitFilter()
Dparse_mb_syn_cavlc.cpp258 if (pSliceHeader->eSliceType == B_SLICE) { in WelsFillCacheInterCabac()
440 if (pSliceHeader->eSliceType == B_SLICE) { in WelsFillCacheInter()
/third_party/openh264/codec/encoder/core/src/
Dsvc_set_mb_syn_cabac.cpp55 EWelsSliceType eSliceType) { in WelsCabacMbType() argument
57 if (eSliceType == I_SLICE) { in WelsCabacMbType()
90 } else if (eSliceType == P_SLICE) { in WelsCabacMbType()
261 …id WelsMbSkipCabac (SCabacCtx* pCabacCtx, SMB* pCurMb, int32_t iMbWidth, EWelsSliceType eSliceType, in WelsMbSkipCabac() argument
263 int32_t iCtx = (eSliceType == P_SLICE) ? 11 : 24; in WelsMbSkipCabac()
654 WelsMbSkipCabac (&pSlice->sCabacCtx, pCurMb, iMbWidth, pEncCtx->eSliceType, 1); in WelsSpatialWriteMbSynCabac()
658 if (pEncCtx->eSliceType != I_SLICE) in WelsSpatialWriteMbSynCabac()
659 WelsMbSkipCabac (&pSlice->sCabacCtx, pCurMb, iMbWidth, pEncCtx->eSliceType, 0); in WelsSpatialWriteMbSynCabac()
662 WelsCabacMbType (pCabacCtx, pCurMb, pMbCache, iMbWidth, pEncCtx->eSliceType); in WelsSpatialWriteMbSynCabac()
Dref_list_mgr_svc.cpp263 if (pCtx->eSliceType == I_SLICE) { in LTRMarkProcess()
279 if (pCtx->eSliceType == I_SLICE || pLtr->bLTRMarkingFlag) { in LTRMarkProcess()
286 …if (pLtr->iLTRMarkMode == LTR_DIRECT_MARK && pCtx->eSliceType != I_SLICE && !pLtr->bLTRMarkingFlag… in LTRMarkProcess()
361 const EWelsSliceType keSliceType = pCtx->eSliceType; in WelsUpdateRefList()
609 if (pCtx->eSliceType != I_SLICE) { in WelsBuildRefList()
645 return (pCtx->iNumRef0 > 0 || pCtx->eSliceType == I_SLICE) ? (true) : (false); in WelsBuildRefList()
791 && pCtx->eSliceType == I_SLICE); in WelsUpdateRefListScreen()
794 if (pCtx->eSliceType == P_SLICE) { in WelsUpdateRefListScreen()
819 if (pCtx->eSliceType != I_SLICE) { in WelsBuildRefListScreen()
886 return (pCtx->iNumRef0 > 0 || pCtx->eSliceType == I_SLICE) ? (true) : (false); in WelsBuildRefListScreen()
Dratectl.cpp371 …} else if (pWelsSvcRc->iGopIndexInVGop == pWelsSvcRc->iGopNumberInVGop || pEncCtx->eSliceType == I… in RcUpdateTemporalZero()
552 if (pEncCtx->eSliceType == I_SLICE) { in RcDecideTargetBits()
578 if (pEncCtx->eSliceType == I_SLICE) { in RcDecideTargetBitsTimestamp()
1021 …pEncCtx->uiDependencyId, uiTimeStamp, pEncCtx->eSliceType, pEncCtx->iGlobalQp, pWelsSvcRc->iAverag… in RcTraceFrameBits()
1039 if (pEncCtx->eSliceType == P_SLICE) { in RcUpdatePictureQpBits()
1150 if (pEncCtx->eSliceType == I_SLICE) { in WelsRcPictureInitGom()
1169 && (pEncCtx->eSliceType == I_SLICE))) { in WelsRcPictureInitGom()
1175 if (pEncCtx->eSliceType == I_SLICE) { in WelsRcPictureInitGom()
1190 if (pEncCtx->eSliceType == P_SLICE) { in WelsRcPictureInfoUpdateGom()
1255 if (pEncCtx->pSvcParam->bEnableAdaptiveQuant && (pEncCtx->eSliceType == P_SLICE)) { in WelsRcPictureInitDisable()
[all …]
Dsvc_encode_slice.cpp93 pCurSliceHeader->eSliceType = pEncCtx->eSliceType; in WelsSliceHeaderExtInit()
101 if (P_SLICE == pEncCtx->eSliceType) { in WelsSliceHeaderExtInit()
217 uint8_t eSliceType = sSliceHeader->eSliceType % 5; in WriteReferenceReorder() local
220 if (I_SLICE != eSliceType && SI_SLICE != eSliceType) { // !I && !SI in WriteReferenceReorder()
283 BsWriteUE (pBs, pSliceHeader->eSliceType); /* same type things */ in WelsSliceHeaderWrite()
295 if (P_SLICE == pSliceHeader->eSliceType) { in WelsSliceHeaderWrite()
309 if (pPps->bEntropyCodingModeFlag && pSliceHeader->eSliceType != I_SLICE) { in WelsSliceHeaderWrite()
351 BsWriteUE (pBs, pSliceHeader->eSliceType); /* same type things */ in WelsSliceHeaderExtWrite()
364 if (P_SLICE == pSliceHeader->eSliceType) { in WelsSliceHeaderExtWrite()
384 if (pPps->bEntropyCodingModeFlag && pSliceHeader->eSliceType != I_SLICE) { in WelsSliceHeaderExtWrite()
[all …]
Dwels_preprocess.cpp251 …* CWelsPreProcess::GetBestRefPic (EUsageType iUsageType, bool bSceneLtr, EWelsSliceType eSliceType, in GetBestRefPic() argument
267 bool bNeededMbAq = (pSvcParam->bEnableAdaptiveQuant && (pCtx->eSliceType == P_SLICE)); in AnalyzeSpatialPic()
268 bool bCalculateBGD = (pCtx->eSliceType == P_SLICE && pSvcParam->bEnableBackgroundDetection); in AnalyzeSpatialPic()
278 bool bCalculateVar = (pSvcParam->iRCMode >= RC_BITRATE_MODE && pCtx->eSliceType == I_SLICE); in AnalyzeSpatialPic()
281 … = GetBestRefPic (pSvcParam->iUsageType, pCtx->bCurFrameMarkedAsSceneLtr, pCtx->eSliceType, kiDidx, in AnalyzeSpatialPic()
838 if (pCtx->eSliceType == P_SLICE) in AnalyzePictureComplexity()
840 else if (pCtx->eSliceType == I_SLICE) in AnalyzePictureComplexity()
851 sComplexityAnalysisParam->iIdrFlag = (pCtx->eSliceType == I_SLICE); in AnalyzePictureComplexity()
890 if (pSvcParam->iRCMode == RC_QUALITY_MODE && pCtx->eSliceType == P_SLICE) { in AnalyzePictureComplexity()
893 && pCtx->eSliceType == P_SLICE) { in AnalyzePictureComplexity()
[all …]
Dencoder.cpp293 pEncCtx->eSliceType = P_SLICE; in InitFrameCoding()
302 pEncCtx->eSliceType = I_SLICE; in InitFrameCoding()
320 pEncCtx->eSliceType = I_SLICE; in InitFrameCoding()
Dwels_task_encoder.cpp188 (m_pCtx->eSliceType == P_SLICE ? 'P' : 'I'), in ExecuteTask()
306 (m_pCtx->eSliceType == P_SLICE ? 'P' : 'I'), in ExecuteTask()
Dencoder_ext.cpp2482 if (I_SLICE == pCtx->eSliceType) { //check if uiSliceSizeConstraint too small in WelsInitCurrentDlayerMltslc()
2587 || (pCtx->eSliceType == I_SLICE)); in WelsInitCurrentLayer()
2666 (pCtx->pSvcParam->iUsageType == SCREEN_CONTENT_REAL_TIME && P_SLICE == pCtx->eSliceType in PreprocessSliceCoding()
2674 if (P_SLICE == pCtx->eSliceType) { in PreprocessSliceCoding()
2702 if (P_SLICE == pCtx->eSliceType) { in PreprocessSliceCoding()
3354 pEncCtx->eSliceType = P_SLICE; in StackBackEncoderStatus()
3558 pCtx->pEncPic->iPictureType = pCtx->eSliceType; in WelsEncoderEncodeExt()
3613 if (iCurTid == 0 || pCtx->eSliceType == I_SLICE) in WelsEncoderEncodeExt()
3630 pCtx->pDecPic->iPictureType = pCtx->eSliceType; in WelsEncoderEncodeExt()
3644 if (pCtx->eSliceType != I_SLICE) { in WelsEncoderEncodeExt()
[all …]
Dsvc_set_mb_syn_cavlc.cpp76 switch (pSliceHeadExt->sSliceHeader.eSliceType) { in WelsSpatialWriteMbPred()
272 if (pEncCtx->eSliceType != I_SLICE) { in WelsSpatialWriteMbSyn()
Dset_mb_syn_cabac.cpp88 int32_t iIdx = pEncCtx->eSliceType == WelsCommon::I_SLICE ? 0 : iModel + 1; in WelsCabacContextInit()
/third_party/openh264/codec/decoder/core/inc/
Dslice.h136 EWelsSliceType eSliceType; member
200 uint8_t eSliceType; member
Dpicture.h90 EWelsSliceType eSliceType; member
Dcabac_decoder.h84 void WelsCabacContextInit (PWelsDecoderContext pCtx, uint8_t eSliceType, int32_t iCabacInitIdc, in…
Ddecoder_context.h171 EWelsSliceType eSliceType; member
332 EWelsSliceType eSliceType; // Slice type member
/third_party/openh264/codec/encoder/core/inc/
Dslice.h111 EWelsSliceType eSliceType; member
Dencoder_context.h157 EWelsSliceType eSliceType; // currently coding slice type member
Dwels_preprocess.h189 …SPicture* GetBestRefPic (EUsageType iUsageType, bool bSceneLtr, EWelsSliceType eSliceType, int32_t…
/third_party/openh264/test/decoder/
DDecUT_DeblockCommon.cpp918 sDqLayer.sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.eSliceType = P_SLICE; in TEST()

12