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
570570 WelsCountMbType (pEncCtx->sPerInfo.iMbCount, I_SLICE, pCurMb);
571571 #endif//MB_TYPES_CHECK
572572
573+ pEncCtx->pFuncList->pfMdBackgroundInfoUpdate (pCurLayer, pCurMb, pMbCache->bCollocatedPredFlag, I_SLICE);
573574 pEncCtx->pFuncList->pfRc.pfWelsRcMbInfoUpdate (pEncCtx, pCurMb, sMd.iCostLuma, pSlice);
574575
575576 ++iNumMbCoded;
@@ -1829,7 +1830,7 @@ TRY_REENCODING: · 1253 unmodified lines
18291830 //step (4): save from the MD process from future use
18301831 WelsMdInterSaveSadAndRefMbType ((pCurLayer->pDecPic->uiRefMbType), pMbCache, pCurMb, pMd);
18311832
1832− pEncCtx->pFuncList->pfInterMdBackgroundInfoUpdate (pCurLayer, pCurMb, pMbCache->bCollocatedPredFlag,
1833+ pEncCtx->pFuncList->pfMdBackgroundInfoUpdate (pCurLayer, pCurMb, pMbCache->bCollocatedPredFlag,
18331834 pEncCtx->pRefPic->iPictureType);
18341835
18351836 //step (5): update cache
@@ -1938,7 +1939,7 @@ TRY_REENCODING: · 102 unmodified lines
19381939 //step (4): save from the MD process from future use
19391940 WelsMdInterSaveSadAndRefMbType ((pCurLayer->pDecPic->uiRefMbType), pMbCache, pCurMb, pMd);
19401941
1941− pEncCtx->pFuncList->pfInterMdBackgroundInfoUpdate (pCurLayer, pCurMb, pMbCache->bCollocatedPredFlag,
1942+ pEncCtx->pFuncList->pfMdBackgroundInfoUpdate (pCurLayer, pCurMb, pMbCache->bCollocatedPredFlag,
19421943 pEncCtx->pRefPic->iPictureType);
19431944
19441945 //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