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

Function WelsDecodeAccessUnitEnd

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

Source from the content-addressed store, hash-verified

2153}
2154
2155void WelsDecodeAccessUnitEnd (PWelsDecoderContext pCtx) {
2156 //save previous header info
2157 PAccessUnit pCurAu = pCtx->pAccessUnitList;
2158 PNalUnit pCurNal = pCurAu->pNalUnitsList[pCurAu->uiEndPos];
2159 memcpy (&pCtx->pLastDecPicInfo->sLastNalHdrExt, &pCurNal->sNalHeaderExt, sizeof (SNalUnitHeaderExt));
2160 memcpy (&pCtx->pLastDecPicInfo->sLastSliceHeader,
2161 &pCurNal->sNalData.sVclNal.sSliceHeaderExt.sSliceHeader, sizeof (SSliceHeader));
2162 // uninitialize context of current access unit and rbsp buffer clean
2163 ResetCurrentAccessUnit (pCtx);
2164}
2165
2166/* CheckNewSeqBeginAndUpdateActiveLayerSps
2167 * return:

Callers 1

ConstructAccessUnitFunction · 0.85

Calls 1

ResetCurrentAccessUnitFunction · 0.85

Tested by

no test coverage detected