Home
last modified time | relevance | path

Searched refs:pPps (Results 1 – 21 of 21) sorted by relevance

/third_party/openh264/codec/encoder/core/src/
Dau_set.cpp399 int32_t WelsWritePpsSyntax (SWelsPPS* pPps, SBitStringAux* pBitStringAux, in WelsWritePpsSyntax() argument
403 …BsWriteUE (pLocalBitStringAux, pPps->iPpsId + pParametersetStrategy->GetPpsIdOffset (pPps->iPpsId)… in WelsWritePpsSyntax()
404 …BsWriteUE (pLocalBitStringAux, pPps->iSpsId + pParametersetStrategy->GetSpsIdOffset (pPps->iPpsId,… in WelsWritePpsSyntax()
406 BsWriteOneBit (pLocalBitStringAux, pPps->bEntropyCodingModeFlag); in WelsWritePpsSyntax()
412 BsWriteUE (pLocalBitStringAux, pPps->uiNumSliceGroups - 1); in WelsWritePpsSyntax()
413 if (pPps->uiNumSliceGroups > 1) { in WelsWritePpsSyntax()
416 BsWriteUE (pLocalBitStringAux, pPps->uiSliceGroupMapType); in WelsWritePpsSyntax()
418 switch (pPps->uiSliceGroupMapType) { in WelsWritePpsSyntax()
420 for (i = 0; i < pPps->uiNumSliceGroups; i ++) { in WelsWritePpsSyntax()
421 BsWriteUE (pLocalBitStringAux, pPps->uiRunLength[i] - 1); in WelsWritePpsSyntax()
[all …]
Dsvc_encode_slice.cpp278 SWelsPPS* pPps = pCurLayer->sLayerInfo.pPpsP; in WelsSliceHeaderWrite() local
285 …BsWriteUE (pBs, pSliceHeader->pPps->iPpsId + pParametersetStrategy->GetPpsIdOffset (pSliceHeader-> in WelsSliceHeaderWrite()
309 if (pPps->bEntropyCodingModeFlag && pSliceHeader->eSliceType != I_SLICE) { in WelsSliceHeaderWrite()
314 if (pPps->bDeblockingFilterControlPresentFlag) { in WelsSliceHeaderWrite()
344 SWelsPPS* pPps = pCurLayer->sLayerInfo.pPpsP; in WelsSliceHeaderExtWrite() local
353 BsWriteUE (pBs, pSliceHeader->pPps->iPpsId + in WelsSliceHeaderExtWrite()
354 pParametersetStrategy->GetPpsIdOffset (pSliceHeader->pPps->iPpsId)); in WelsSliceHeaderExtWrite()
384 if (pPps->bEntropyCodingModeFlag && pSliceHeader->eSliceType != I_SLICE) { in WelsSliceHeaderExtWrite()
390 if (pPps->bDeblockingFilterControlPresentFlag) { in WelsSliceHeaderExtWrite()
399 if (pPps->uiNumSliceGroups > 1 && in WelsSliceHeaderExtWrite()
[all …]
Dparaset_strategy.cpp690 memcpy (pExistingParasetList->sPps, pCtx->pPps, MAX_PPS_COUNT * sizeof (SWelsPPS)); in OutputCurrentStructure()
Dencoder_ext.cpp1012 SWelsPPS* pPps = NULL; in InitDqLayers() local
1188 pPps = & ((*ppCtx)->pPPSArray[iPpsId]); in InitDqLayers()
1198 pPps); in InitDqLayers()
1786 (*ppCtx)->pPps = & (*ppCtx)->pPPSArray[0]; in RequestMemorySvc()
2558 pBaseSlice->sSliceHeaderExt.sSliceHeader.pPps = &pCtx->pPPSArray[iCurPpsId]; in WelsInitCurrentLayer()
Dratectl.cpp1398 …pCurMb->uiChromaQp = g_kuiChromaQpTable[WELS_CLIP3 (pCurMb->uiLumaQp + pEncCtx->pPps->uiChromaQpIn… in WelsRcMbInitScc()
/third_party/openh264/codec/decoder/core/src/
Dfmo.cpp55 static inline int32_t FmoGenerateMbAllocMapType0 (PFmo pFmo, PPps pPps) { in FmoGenerateMbAllocMapType0() argument
60 WELS_VERIFY_RETURN_IF (ERR_INFO_INVALID_PARAM, (NULL == pFmo || NULL == pPps)) in FmoGenerateMbAllocMapType0()
61 uiNumSliceGroups = pPps->uiNumSliceGroups; in FmoGenerateMbAllocMapType0()
69 const int32_t kiRunIdx = pPps->uiRunLength[uiGroup]; in FmoGenerateMbAllocMapType0()
92 static inline int32_t FmoGenerateMbAllocMapType1 (PFmo pFmo, PPps pPps, const int32_t kiMbWidth) { in FmoGenerateMbAllocMapType1() argument
96 WELS_VERIFY_RETURN_IF (ERR_INFO_INVALID_PARAM, (NULL == pFmo || NULL == pPps)) in FmoGenerateMbAllocMapType1()
97 uiNumSliceGroups = pPps->uiNumSliceGroups; in FmoGenerateMbAllocMapType1()
188 int32_t InitFmo (PFmo pFmo, PPps pPps, const int32_t kiMbWidth, const int32_t kiMbHeight, CMemoryAl… in InitFmo() argument
189 return FmoGenerateSliceGroup (pFmo, pPps, kiMbWidth, kiMbHeight, pMa); in InitFmo()
260 int32_t FmoParamUpdate (PFmo pFmo, PSps pSps, PPps pPps, int32_t* pActiveFmoNum, CMemoryAlign* pMa)… in FmoParamUpdate() argument
[all …]
Dau_parser.cpp487 if (memcmp (pLastSliceHeader->pPps, pCurSliceHeader->pPps, sizeof (SPps)) != 0 in CheckAccessUnitBoundaryExt()
1329 PPps pPps = NULL; in ParsePps() local
1341 pPps = &sTempPps; in ParsePps()
1342 memset (pPps, 0, sizeof (SPps)); in ParsePps()
1344 pPps->iPpsId = uiPpsId; in ParsePps()
1346 pPps->iSpsId = uiCode; in ParsePps()
1348 if (pPps->iSpsId >= MAX_SPS_COUNT) { in ParsePps()
1353 pPps->bEntropyCodingModeFlag = !!uiCode; in ParsePps()
1355 pPps->bPicOrderPresentFlag = !!uiCode; in ParsePps()
1358 pPps->uiNumSliceGroups = NUM_SLICE_GROUPS_OFFSET + uiCode; in ParsePps()
[all …]
Ddecoder_core.cpp123 int32_t iPpsId = pCtx->pPps->iPpsId; in DecodeFrameConstruction()
402 if (pCurDqLayer->bUseWeightedBiPredIdc && pSliceHeader->pPps->uiWeightedBipredIdc == 2) { in CreateImplicitWeightTable()
853 PSps pSps, PPps pPps) { in UpdateDecoderStatisticsForActiveParaset() argument
856 pDecoderStatistics->iCurrentActivePpsId = pPps->iPpsId; in UpdateDecoderStatisticsForActiveParaset()
884 PPps pPps = NULL; in ParseSliceHeaderSyntaxs() local
969 pPps = &pCtx->sSpsPpsCtx.sPpsBuffer[iPpsId]; in ParseSliceHeaderSyntaxs()
971 if (pPps->uiNumSliceGroups == 0) { in ParseSliceHeaderSyntaxs()
978 pSubsetSps = &pCtx->sSpsPpsCtx.sSubsetSpsBuffer[pPps->iSpsId]; in ParseSliceHeaderSyntaxs()
980 if (pCtx->sSpsPpsCtx.bSubspsAvailFlags[pPps->iSpsId] == false) { in ParseSliceHeaderSyntaxs()
982 if (pCtx->sSpsPpsCtx.iSubSPSLastInvalidId != pPps->iSpsId) { in ParseSliceHeaderSyntaxs()
[all …]
Ddecode_slice.cpp109 pCurDqLayer->pDec->iPpsId = pCtx->pPps->iPpsId; in WelsTargetSliceConstruction()
144 if (pSliceHeader->pPps->uiNumSliceGroups > 1) { in WelsTargetSliceConstruction()
461 if (pCurDqLayer->sLayerInfo.pPps->bEntropyCodingModeFlag) { in ParseIntra4x4Mode()
471 if (pCurDqLayer->sLayerInfo.pPps->bEntropyCodingModeFlag) { in ParseIntra4x4Mode()
504 if (pCurDqLayer->sLayerInfo.pPps->bEntropyCodingModeFlag) { in ParseIntra4x4Mode()
544 if (pCurDqLayer->sLayerInfo.pPps->bEntropyCodingModeFlag) { in ParseIntra8x8Mode()
554 if (pCurDqLayer->sLayerInfo.pPps->bEntropyCodingModeFlag) { in ParseIntra8x8Mode()
588 if (pCurDqLayer->sLayerInfo.pPps->bEntropyCodingModeFlag) { in ParseIntra8x8Mode()
625 if (pCurDqLayer->sLayerInfo.pPps->bEntropyCodingModeFlag) { in ParseIntra16x16Mode()
684 if (pCtx->pPps->bTransform8x8ModeFlag) { in WelsDecodeMbCabacISliceBaseMode0()
[all …]
Dmanage_dec_ref.cpp159 pRef->iPpsId = pCtx->pPps->iPpsId; in WelsCheckAndRecoverForFutureDecoding()
598 pDec->iPpsId = pCtx->pPps->iPpsId; in WelsMarkAsRef()
Drec_mb.cpp706 bool bWeightedBipredIdcIs1 = pCurDqLayer->sLayerInfo.pPps->uiWeightedBipredIdc == 1; in GetInterBPred()
Ddeblocking.cpp1264 if (pSliceHeaderExt->sSliceHeader.pPps->uiNumSliceGroups > 1) { in WelsDeblockingFilterSlice()
/third_party/openh264/codec/decoder/core/inc/
Dfmo.h77 int32_t InitFmo (PFmo pFmo, PPps pPps, const int32_t kiMbWidth, const int32_t kiMbHeight, CMemoryAl…
100 int32_t FmoParamUpdate (PFmo pFmo, PSps pSps, PPps pPps, int32_t* pActiveFmoNum, CMemoryAlign* pMa);
Ddecoder_core.h189 void WelsDqLayerDecodeStart (PWelsDecoderContext pCtx, PNalUnit pCurNal, PSps pSps, PPps pPps);
Ddec_frame.h57 PPps pPps; // current pps used member
Dslice.h122 PPps pPps; member
Ddecoder_context.h403 PPps pPps; // used by current AU member
/third_party/openh264/codec/encoder/core/inc/
Dau_set.h96 int32_t WelsWritePpsSyntax (SWelsPPS* pPps, SBitStringAux* pBitStringAux, IWelsParametersetStrategy…
138 int32_t WelsInitPps (SWelsPPS* pPps,
Dslice.h129 SWelsPPS* pPps; member
Dencoder_context.h184 SWelsPPS* pPps; member
/third_party/openh264/test/decoder/
DDecUT_DeblockCommon.cpp588 sDqLayer.sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.pPps = &sPPS; in TEST()
590 sDqLayer.sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.pPps->uiNumSliceGroups = 1; in TEST()