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

Function WelsDqLayerDecodeStart

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

Source from the content-addressed store, hash-verified

2422}
2423
2424void WelsDqLayerDecodeStart (PWelsDecoderContext pCtx, PNalUnit pCurNal, PSps pSps, PPps pPps) {
2425 PSliceHeader pSh = &pCurNal->sNalData.sVclNal.sSliceHeaderExt.sSliceHeader;
2426
2427 pCtx->eSliceType = pSh->eSliceType;
2428 pCtx->pSliceHeader = pSh;
2429 pCtx->bUsedAsRef = false;
2430
2431 pCtx->iFrameNum = pSh->iFrameNum;
2432 UpdateDecoderStatisticsForActiveParaset (pCtx->pDecoderStatistics, pSps, pPps);
2433}
2434
2435int32_t InitRefPicList (PWelsDecoderContext pCtx, const uint8_t kuiNRi, int32_t iPoc) {
2436 int32_t iRet = ERR_NONE;

Callers 1

DecodeCurrentAccessUnitFunction · 0.85

Tested by

no test coverage detected