| 2153 | } |
| 2154 | |
| 2155 | void 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: |
no test coverage detected