expand pic for EC
Showing the changes to codec/decoder/core/src (1 of 1 file). Show all
Unified · Split
| @@ -121,6 +121,8 @@ int32_t WelsInitRefList (PWelsDecoderContext pCtx, int32_t iPoc) { · 120 unmodified lines | |||
| 121 | pRef->iFrameNum = 0; | 121 | pRef->iFrameNum = 0; |
| 122 | pRef->iFramePoc = 0; | 122 | pRef->iFramePoc = 0; |
| 123 | pRef->uiTemporalId = pRef->uiQualityId = 0; | 123 | pRef->uiTemporalId = pRef->uiQualityId = 0; |
| 124 | ExpandReferencingPicture (pRef->pData, pRef->iWidthInPixel, pRef->iHeightInPixel, pRef->iLinesize, | ||
| 125 | pCtx->sExpandPicFunc.pfExpandLumaPicture, pCtx->sExpandPicFunc.pfExpandChromaPicture); | ||
| 124 | AddShortTermToList (&pCtx->sRefPic, pRef); | 126 | AddShortTermToList (&pCtx->sRefPic, pRef); |
| 125 | } else { | 127 | } else { |
| 126 | WelsLog (& (pCtx->sLogCtx), WELS_LOG_ERROR, "WelsInitRefList()::PrefetchPic for EC errors.\n"); | 128 | WelsLog (& (pCtx->sLogCtx), WELS_LOG_ERROR, "WelsInitRefList()::PrefetchPic for EC errors.\n"); |