Showing the changes to codec/encoder/core/src/svc_encode_slice.cpp (1 of 5 files). Show all
Unified · Split
| @@ -570,6 +570,7 @@ TRY_REENCODING: · 569 unmodified lines | |||
| 570 | WelsCountMbType (pEncCtx->sPerInfo.iMbCount, I_SLICE, pCurMb); | 570 | WelsCountMbType (pEncCtx->sPerInfo.iMbCount, I_SLICE, pCurMb); |
| 571 | #endif//MB_TYPES_CHECK | 571 | #endif//MB_TYPES_CHECK |
| 572 | 572 | ||
| 573 | pEncCtx->pFuncList->pfMdBackgroundInfoUpdate (pCurLayer, pCurMb, pMbCache->bCollocatedPredFlag, I_SLICE); | ||
| 573 | pEncCtx->pFuncList->pfRc.pfWelsRcMbInfoUpdate (pEncCtx, pCurMb, sMd.iCostLuma, pSlice); | 574 | pEncCtx->pFuncList->pfRc.pfWelsRcMbInfoUpdate (pEncCtx, pCurMb, sMd.iCostLuma, pSlice); |
| 574 | 575 | ||
| 575 | ++iNumMbCoded; | 576 | ++iNumMbCoded; |
| @@ -1829,7 +1830,7 @@ TRY_REENCODING: · 1253 unmodified lines | |||
| 1829 | //step (4): save from the MD process from future use | 1830 | //step (4): save from the MD process from future use |
| 1830 | WelsMdInterSaveSadAndRefMbType ((pCurLayer->pDecPic->uiRefMbType), pMbCache, pCurMb, pMd); | 1831 | WelsMdInterSaveSadAndRefMbType ((pCurLayer->pDecPic->uiRefMbType), pMbCache, pCurMb, pMd); |
| 1831 | 1832 | ||
| 1832 | pEncCtx->pFuncList->pfInterMdBackgroundInfoUpdate (pCurLayer, pCurMb, pMbCache->bCollocatedPredFlag, | 1833 | pEncCtx->pFuncList->pfMdBackgroundInfoUpdate (pCurLayer, pCurMb, pMbCache->bCollocatedPredFlag, |
| 1833 | pEncCtx->pRefPic->iPictureType); | 1834 | pEncCtx->pRefPic->iPictureType); |
| 1834 | 1835 | ||
| 1835 | //step (5): update cache | 1836 | //step (5): update cache |
| @@ -1938,7 +1939,7 @@ TRY_REENCODING: · 102 unmodified lines | |||
| 1938 | //step (4): save from the MD process from future use | 1939 | //step (4): save from the MD process from future use |
| 1939 | WelsMdInterSaveSadAndRefMbType ((pCurLayer->pDecPic->uiRefMbType), pMbCache, pCurMb, pMd); | 1940 | WelsMdInterSaveSadAndRefMbType ((pCurLayer->pDecPic->uiRefMbType), pMbCache, pCurMb, pMd); |
| 1940 | 1941 | ||
| 1941 | pEncCtx->pFuncList->pfInterMdBackgroundInfoUpdate (pCurLayer, pCurMb, pMbCache->bCollocatedPredFlag, | 1942 | pEncCtx->pFuncList->pfMdBackgroundInfoUpdate (pCurLayer, pCurMb, pMbCache->bCollocatedPredFlag, |
| 1942 | pEncCtx->pRefPic->iPictureType); | 1943 | pEncCtx->pRefPic->iPictureType); |
| 1943 | 1944 | ||
| 1944 | //step (5): update cache | 1945 | //step (5): update cache |