| 2422 | } |
| 2423 | |
| 2424 | void 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 | |
| 2435 | int32_t InitRefPicList (PWelsDecoderContext pCtx, const uint8_t kuiNRi, int32_t iPoc) { |
| 2436 | int32_t iRet = ERR_NONE; |
no test coverage detected