Home
last modified time | relevance | path

Searched refs:iPpsId (Results 1 – 16 of 16) sorted by relevance

/third_party/openh264/codec/encoder/core/inc/
Dparaset_strategy.h50 virtual int32_t GetPpsIdOffset (const int32_t iPpsId) = 0;
51 virtual int32_t GetSpsIdOffset (const int32_t iPpsId, const int32_t iSpsId) = 0;
82 virtual void SetUseSubsetFlag (const uint32_t iPpsId, const bool bUseSubsetSps) = 0;
86 virtual int32_t GetCurrentPpsId (const int32_t iPpsId, const int32_t iIdrLoop) = 0;
102 virtual int32_t GetPpsIdOffset (const int32_t iPpsId);
103 virtual int32_t GetSpsIdOffset (const int32_t iPpsId, const int32_t iSpsId);
135 virtual void SetUseSubsetFlag (const uint32_t iPpsId, const bool bUseSubsetSps);
139 virtual int32_t GetCurrentPpsId (const int32_t iPpsId, const int32_t iIdrLoop) { in GetCurrentPpsId() argument
140 return iPpsId; in GetCurrentPpsId()
215 virtual int32_t GetPpsIdOffset (const int32_t iPpsId);
[all …]
Ddq_map.h51 uint16_t iPpsId; // pPps id member
Dparameter_sets.h138 uint32_t iPpsId; member
Dslice.h131 int32_t iPpsId; member
/third_party/openh264/codec/encoder/core/src/
Dparaset_strategy.cpp216 int32_t CWelsParametersetIdConstant::GetPpsIdOffset (const int32_t iPpsId) { in GetPpsIdOffset() argument
219 int32_t CWelsParametersetIdConstant::GetSpsIdOffset (const int32_t iPpsId, const int32_t iSpsId) { in GetSpsIdOffset() argument
288 void CWelsParametersetIdConstant::SetUseSubsetFlag (const uint32_t iPpsId, const bool bUseSubsetSps… in SetUseSubsetFlag() argument
289 m_sParaSetOffset.bPpsIdMappingIntoSubsetsps[iPpsId] = bUseSubsetSps; in SetUseSubsetFlag()
567 int32_t iPpsId = 0, iUsePpsNum = pCtx->iPpsNum; in UpdatePpsList() local
570 for (iPpsId = 0; iPpsId < pCtx->iPpsNum; iPpsId++) { in UpdatePpsList()
571 …m_sParaSetOffset.iPpsIdList[iPpsId][iIdrRound] = ((iIdrRound * iUsePpsNum + iPpsId) % MAX_PPS_COUN… in UpdatePpsList()
575 for (iPpsId = iUsePpsNum; iPpsId < MAX_PPS_COUNT; iPpsId++) { in UpdatePpsList()
576 … memcpy (& (pCtx->pPPSArray[iPpsId]), & (pCtx->pPPSArray[iPpsId % iUsePpsNum]), sizeof (SWelsPPS)); in UpdatePpsList()
577 pCtx->pPPSArray[iPpsId].iPpsId = iPpsId; in UpdatePpsList()
[all …]
Dau_set.cpp403 …BsWriteUE (pLocalBitStringAux, pPps->iPpsId + pParametersetStrategy->GetPpsIdOffset (pPps->iPpsId)… in WelsWritePpsSyntax()
404 …BsWriteUE (pLocalBitStringAux, pPps->iSpsId + pParametersetStrategy->GetSpsIdOffset (pPps->iPpsId,… in WelsWritePpsSyntax()
603 pPps->iPpsId = kuiPpsId; in WelsInitPps()
Dsvc_encode_slice.cpp285 …BsWriteUE (pBs, pSliceHeader->pPps->iPpsId + pParametersetStrategy->GetPpsIdOffset (pSliceHeader->… in WelsSliceHeaderWrite()
353 BsWriteUE (pBs, pSliceHeader->pPps->iPpsId + in WelsSliceHeaderExtWrite()
354 pParametersetStrategy->GetPpsIdOffset (pSliceHeader->pPps->iPpsId)); in WelsSliceHeaderExtWrite()
1151 pSHExt->sSliceHeader.iPpsId = pBaseSHExt->sSliceHeader.iPpsId; in InitSliceHeadWithBase()
Dencoder_ext.cpp1017 uint32_t iPpsId = 0; in InitDqLayers() local
1186iPpsId = (*ppCtx)->pFuncList->pParametersetStrategy->InitPps ((*ppCtx), iSpsId, pSps, pSubsetSps, in InitDqLayers()
1188 pPps = & ((*ppCtx)->pPPSArray[iPpsId]); in InitDqLayers()
1205 pDqIdc->iPpsId = iPpsId; in InitDqLayers()
1209 ++ iPpsId; in InitDqLayers()
2550 int32_t iCurPpsId = pDqIdc->iPpsId; in WelsInitCurrentLayer()
2556 pBaseSlice->sSliceHeaderExt.sSliceHeader.iPpsId = iCurPpsId; in WelsInitCurrentLayer()
2930 … pCtx->pFuncList->pParametersetStrategy->Update (pCtx->pPPSArray[iIdx].iPpsId, PARA_SET_TYPE_PPS); in WelsWriteParameterSets()
3206 … pCtx->pFuncList->pParametersetStrategy->Update (pCtx->pPPSArray[iIdx].iPpsId, PARA_SET_TYPE_PPS); in WriteSavcParaset()
/third_party/openh264/codec/decoder/core/src/
Ddecoder_core.cpp123 int32_t iPpsId = pCtx->pPps->iPpsId; in DecodeFrameConstruction() local
127 pPpsBs = &pCtx->sPpsBsInfo [iPpsId]; in DecodeFrameConstruction()
856 pDecoderStatistics->iCurrentActivePpsId = pPps->iPpsId; in UpdateDecoderStatisticsForActiveParaset()
886 int32_t iPpsId = 0; in ParseSliceHeaderSyntaxs() local
951 iPpsId = uiCode; in ParseSliceHeaderSyntaxs()
954 if (pCtx->sSpsPpsCtx.bPpsAvailFlags[iPpsId] == false) { in ParseSliceHeaderSyntaxs()
956 if (pCtx->sSpsPpsCtx.iPPSLastInvalidId != iPpsId) { in ParseSliceHeaderSyntaxs()
957 …g (pLogCtx, WELS_LOG_ERROR, "PPS id (%d) is invalid, previous id (%d) error ignored (%d)!", iPpsId, in ParseSliceHeaderSyntaxs()
959 pCtx->sSpsPpsCtx.iPPSLastInvalidId = iPpsId; in ParseSliceHeaderSyntaxs()
969 pPps = &pCtx->sSpsPpsCtx.sPpsBuffer[iPpsId]; in ParseSliceHeaderSyntaxs()
[all …]
Dau_parser.cpp459 if (pLastSliceHeader->iPpsId != pCurSliceHeader->iPpsId) in CheckAccessUnitBoundaryExt()
521 && kpLastSliceHeader->iPpsId != kpCurSliceHeader->iPpsId) in CheckAccessUnitBoundary()
1344 pPps->iPpsId = uiPpsId; in ParsePps()
1433 pPps->iPpsId); in ParsePps()
1444 if (pCtx->pPps != NULL && pCtx->pPps->iPpsId == pPps->iPpsId) { in ParsePps()
1465 pPpsBs->iPpsId = (int32_t) uiPpsId; in ParsePps()
Dmanage_dec_ref.cpp159 pRef->iPpsId = pCtx->pPps->iPpsId; in WelsCheckAndRecoverForFutureDecoding()
598 pDec->iPpsId = pCtx->pPps->iPpsId; in WelsMarkAsRef()
Ddecode_slice.cpp109 pCurDqLayer->pDec->iPpsId = pCtx->pPps->iPpsId; in WelsTargetSliceConstruction()
1490 if (!pCtx->bDequantCoeff4x4Init || (pCtx->iDequantCoeffPpsid != pCtx->pPps->iPpsId)) { in WelsCalcDeqCoeffScalingList()
1508 pCtx->iDequantCoeffPpsid = pCtx->pPps->iPpsId; in WelsCalcDeqCoeffScalingList()
/third_party/openh264/codec/decoder/core/inc/
Dpicture.h86 int32_t iPpsId; member
Dslice.h124 int32_t iPpsId; member
Dparameter_sets.h171 int32_t iPpsId; member
Ddecoder_context.h126 int32_t iPpsId; member