Home
last modified time | relevance | path

Searched refs:sSpsPpsCtx (Results 1 – 8 of 8) sorted by relevance

/third_party/openh264/codec/decoder/core/src/
Dau_parser.cpp151 … || IS_AU_DELIMITER_NAL (pNalUnitHeader->eNalUnitType) || pCtx->sSpsPpsCtx.bSpsExistAheadFlag)) { in ParseNalHeader()
152 if (pCtx->bPrintFrameErrorTraceFlag && pCtx->sSpsPpsCtx.iSpsErrorIgnored == 0) { in ParseNalHeader()
157 pCtx->sSpsPpsCtx.iSpsErrorIgnored++; in ParseNalHeader()
163 pCtx->sSpsPpsCtx.iSpsErrorIgnored = 0; in ParseNalHeader()
165 … || IS_AU_DELIMITER_NAL (pNalUnitHeader->eNalUnitType) || pCtx->sSpsPpsCtx.bPpsExistAheadFlag)) { in ParseNalHeader()
166 if (pCtx->bPrintFrameErrorTraceFlag && pCtx->sSpsPpsCtx.iPpsErrorIgnored == 0) { in ParseNalHeader()
171 pCtx->sSpsPpsCtx.iPpsErrorIgnored++; in ParseNalHeader()
177 pCtx->sSpsPpsCtx.iPpsErrorIgnored = 0; in ParseNalHeader()
178 if ((IS_VCL_NAL_AVC_BASE (pNalUnitHeader->eNalUnitType) && ! (pCtx->sSpsPpsCtx.bSpsExistAheadFlag in ParseNalHeader()
179 || pCtx->sSpsPpsCtx.bPpsExistAheadFlag)) || in ParseNalHeader()
[all …]
Ddecoder.cpp372 void WelsDecoderSpsPpsDefaults (SWelsDecoderSpsPpsCTX& sSpsPpsCtx) { in WelsDecoderSpsPpsDefaults() argument
373 sSpsPpsCtx.bSpsExistAheadFlag = false; in WelsDecoderSpsPpsDefaults()
374 sSpsPpsCtx.bSubspsExistAheadFlag = false; in WelsDecoderSpsPpsDefaults()
375 sSpsPpsCtx.bPpsExistAheadFlag = false; in WelsDecoderSpsPpsDefaults()
376 sSpsPpsCtx.bAvcBasedFlag = true; in WelsDecoderSpsPpsDefaults()
377 sSpsPpsCtx.iSpsErrorIgnored = 0; in WelsDecoderSpsPpsDefaults()
378 sSpsPpsCtx.iSubSpsErrorIgnored = 0; in WelsDecoderSpsPpsDefaults()
379 sSpsPpsCtx.iPpsErrorIgnored = 0; in WelsDecoderSpsPpsDefaults()
380 sSpsPpsCtx.iPPSInvalidNum = 0; in WelsDecoderSpsPpsDefaults()
381 sSpsPpsCtx.iPPSLastInvalidId = -1; in WelsDecoderSpsPpsDefaults()
[all …]
Ddecoder_core.cpp954 if (pCtx->sSpsPpsCtx.bPpsAvailFlags[iPpsId] == false) { in ParseSliceHeaderSyntaxs()
956 if (pCtx->sSpsPpsCtx.iPPSLastInvalidId != iPpsId) { in ParseSliceHeaderSyntaxs()
958 pCtx->sSpsPpsCtx.iPPSLastInvalidId, pCtx->sSpsPpsCtx.iPPSInvalidNum); in ParseSliceHeaderSyntaxs()
959 pCtx->sSpsPpsCtx.iPPSLastInvalidId = iPpsId; in ParseSliceHeaderSyntaxs()
960 pCtx->sSpsPpsCtx.iPPSInvalidNum = 0; in ParseSliceHeaderSyntaxs()
962 pCtx->sSpsPpsCtx.iPPSInvalidNum++; in ParseSliceHeaderSyntaxs()
967 pCtx->sSpsPpsCtx.iPPSLastInvalidId = -1; in ParseSliceHeaderSyntaxs()
969 pPps = &pCtx->sSpsPpsCtx.sPpsBuffer[iPpsId]; in ParseSliceHeaderSyntaxs()
978 pSubsetSps = &pCtx->sSpsPpsCtx.sSubsetSpsBuffer[pPps->iSpsId]; in ParseSliceHeaderSyntaxs()
980 if (pCtx->sSpsPpsCtx.bSubspsAvailFlags[pPps->iSpsId] == false) { in ParseSliceHeaderSyntaxs()
[all …]
Ddecode_slice.cpp98 if (!pCtx->sSpsPpsCtx.bAvcBasedFlag && iCurLayerWidth != pCtx->iCurSeqIntervalMaxPicWidth) { in WelsTargetSliceConstruction()
/third_party/openh264/test/decoder/
DDecUT_ParseSyntax.cpp209 WelsDecoderSpsPpsDefaults (m_pCtx->sSpsPpsCtx); in Init()
398 ASSERT_TRUE (m_pCtx->sSpsPpsCtx.sSpsBuffer[0].bSeqScalingMatrixPresentFlag == false); in TestScalingList()
399 …EXPECT_EQ (0, memcmp (iScalingListZero, m_pCtx->sSpsPpsCtx.sSpsBuffer[0].iScalingList4x4, 6 * 16 *… in TestScalingList()
400 ASSERT_TRUE (m_pCtx->sSpsPpsCtx.sPpsBuffer[0].bPicScalingMatrixPresentFlag == false); in TestScalingList()
401 …EXPECT_EQ (0, memcmp (iScalingListZero, m_pCtx->sSpsPpsCtx.sPpsBuffer[0].iScalingList4x4, 6 * 16 *… in TestScalingList()
407 ASSERT_TRUE (m_pCtx->sSpsPpsCtx.sSpsBuffer[0].bSeqScalingMatrixPresentFlag); in TestScalingList()
409 …EXPECT_EQ (0, memcmp (iScalingList[i], m_pCtx->sSpsPpsCtx.sSpsBuffer[0].iScalingList4x4[i], 16 * s… in TestScalingList()
412 ASSERT_TRUE (m_pCtx->sSpsPpsCtx.sPpsBuffer[0].bPicScalingMatrixPresentFlag == true); in TestScalingList()
414 …EXPECT_EQ (0, memcmp (iScalingListPPS[i], m_pCtx->sSpsPpsCtx.sPpsBuffer[0].iScalingList4x4[i], 16 … in TestScalingList()
/third_party/openh264/codec/decoder/core/inc/
Ddecoder.h70 void WelsDecoderSpsPpsDefaults (SWelsDecoderSpsPpsCTX& sSpsPpsCtx);
Ddecoder_context.h390 SWelsDecoderSpsPpsCTX sSpsPpsCtx; member
549 pCtx->sSpsPpsCtx.pActiveLayerSps[i] = NULL; in ResetActiveSPSForEachLayer()
/third_party/openh264/codec/decoder/plus/src/
DwelsDecoderExt.cpp421 WelsDecoderSpsPpsDefaults (pCtx->sSpsPpsCtx); in InitDecoderCtx()
1341 …if (m_pLastDecThrCtx != NULL && sThreadCtx.pCtx->sSpsPpsCtx.iSeqId < m_pLastDecThrCtx->pCtx->sSpsP… in ParseAccessUnit()