Showing the changes to codec/decoder/core/src/decoder_core.cpp (1 of 1 file). Show all
Unified · Split
| @@ -227,7 +227,9 @@ static inline int32_t DecodeFrameConstruction (PWelsDecoderContext pCtx, uint8_t · 226 unmodified lines | |||
| 227 | if (pCtx->bFreezeOutput) { | 227 | if (pCtx->bFreezeOutput) { |
| 228 | pDstInfo->iBufferStatus = 0; | 228 | pDstInfo->iBufferStatus = 0; |
| 229 | if (pPic->bNewSeqBegin) { | 229 | if (pPic->bNewSeqBegin) { |
| 230 | WelsLog (& (pCtx->sLogCtx), WELS_LOG_INFO, "DecodeFrameConstruction():New sequence detected, but freezed."); | 230 | WelsLog (& (pCtx->sLogCtx), WELS_LOG_INFO, |
| 231 | "DecodeFrameConstruction():New sequence detected, but freezed, correct MBs (%d) out of whole MBs (%d).", | ||
| 232 | kiTotalNumMbInCurLayer - pCtx->iMbEcedNum, kiTotalNumMbInCurLayer); | ||
| 231 | } | 233 | } |
| 232 | } | 234 | } |
| 233 | pCtx->iMbEcedNum = pPic->iMbEcedNum; | 235 | pCtx->iMbEcedNum = pPic->iMbEcedNum; |
| @@ -730,8 +732,8 @@ void DecodeNalHeaderExt (PNalUnit pNal, uint8_t* pSrc) { · 496 unmodified lines | |||
| 730 | } | 732 | } |
| 731 | 733 | ||
| 732 | 734 | ||
| 733 | void UpdateDecoderStatisticsForActiveParaset(SDecoderStatistics* pDecoderStatistics, | 735 | void UpdateDecoderStatisticsForActiveParaset (SDecoderStatistics* pDecoderStatistics, |
| 734 | PSps pSps, PPps pPps) { | 736 | PSps pSps, PPps pPps) { |
| 735 | pDecoderStatistics->iCurrentActiveSpsId = pSps->iSpsId; | 737 | pDecoderStatistics->iCurrentActiveSpsId = pSps->iSpsId; |
| 736 | 738 | ||
| 737 | pDecoderStatistics->iCurrentActivePpsId = pPps->iPpsId; | 739 | pDecoderStatistics->iCurrentActivePpsId = pPps->iPpsId; |
| @@ -2172,8 +2174,8 @@ void WelsDqLayerDecodeStart (PWelsDecoderContext pCtx, PNalUnit pCurNal, PSps pS · 1434 unmodified lines | |||
| 2172 | 2174 | ||
| 2173 | pCtx->iFrameNum = pSh->iFrameNum; | 2175 | pCtx->iFrameNum = pSh->iFrameNum; |
| 2174 | 2176 | ||
| 2175 | UpdateDecoderStatisticsForActiveParaset(&(pCtx->sDecoderStatistics), | 2177 | UpdateDecoderStatisticsForActiveParaset (& (pCtx->sDecoderStatistics), |
| 2176 | pSps, pPps); | 2178 | pSps, pPps); |
| 2177 | } | 2179 | } |
| 2178 | 2180 | ||
| 2179 | int32_t InitRefPicList (PWelsDecoderContext pCtx, const uint8_t kuiNRi, int32_t iPoc) { | 2181 | int32_t InitRefPicList (PWelsDecoderContext pCtx, const uint8_t kuiNRi, int32_t iPoc) { |