MCPcopy Create free account
hub / github.com/cisco/openh264 / ForceResetParaSetStatusAndAUList

Function ForceResetParaSetStatusAndAUList

codec/decoder/core/src/decoder_core.cpp:1864–1875  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1862}
1863
1864void ForceResetParaSetStatusAndAUList (PWelsDecoderContext pCtx) {
1865 pCtx->sSpsPpsCtx.bSpsExistAheadFlag = false;
1866 pCtx->sSpsPpsCtx.bSubspsExistAheadFlag = false;
1867 pCtx->sSpsPpsCtx.bPpsExistAheadFlag = false;
1868
1869 // Force clear the AU list
1870 pCtx->pAccessUnitList->uiAvailUnitsNum = 0;
1871 pCtx->pAccessUnitList->uiActualUnitsNum = 0;
1872 pCtx->pAccessUnitList->uiStartPos = 0;
1873 pCtx->pAccessUnitList->uiEndPos = 0;
1874 pCtx->pAccessUnitList->bCompletedAuFlag = false;
1875}
1876
1877void CheckAvailNalUnitsListContinuity (PWelsDecoderContext pCtx, int32_t iStartIdx, int32_t iEndIdx) {
1878 PAccessUnit pCurAu = pCtx->pAccessUnitList;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected