History

add qpinfo update in I&P MD, and remove Inter from related names

huili2 committed 9 years ago

Commit f567b311 parent 664127f5 files · +14 −12Browse files

Showing the changes to codec/encoder/core/src/svc_encode_slice.cpp (1 of 5 files). Show all

Unified · Split

codec/encoder/core/src/svc_encode_slice.cpp+3−2
@@ -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_CHECK571#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 use1830 //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 cache1836 //step (5): update cache
@@ -1938,7 +1939,7 @@ TRY_REENCODING: · 102 unmodified lines
1938 //step (4): save from the MD process from future use1939 //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 cache1945 //step (5): update cache

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t