History

add support for NAL with duplicated MBs in threaded decoding mode.

xiaotiansf committed 7 years ago

Commit ec09d671 parent b0f95c44 files · +11 −3Browse files

Showing the changes to codec/decoder/core/src/decode_slice.cpp (1 of 4 files). Show all

Unified · Split

codec/decoder/core/src/decode_slice.cpp+2−1
@@ -1736,8 +1736,9 @@ int32_t WelsDecodeAndConstructSlice (PWelsDecoderContext pCtx) { · 1735 unmodified lines
1736 if (!pCurDqLayer->pMbCorrectlyDecodedFlag[iNextMbXyIndex]) { //already con-ed, overwrite1736 if (!pCurDqLayer->pMbCorrectlyDecodedFlag[iNextMbXyIndex]) { //already con-ed, overwrite
1737 pCurDqLayer->pMbCorrectlyDecodedFlag[iNextMbXyIndex] = true;1737 pCurDqLayer->pMbCorrectlyDecodedFlag[iNextMbXyIndex] = true;
1738 pCtx->pDec->iMbEcedPropNum += (pCurDqLayer->pMbRefConcealedFlag[iNextMbXyIndex] ? 1 : 0);1738 pCtx->pDec->iMbEcedPropNum += (pCurDqLayer->pMbRefConcealedFlag[iNextMbXyIndex] ? 1 : 0);
1739 ++pCtx->iTotalNumMbRec;
1739 }1740 }
1740 ++pCtx->iTotalNumMbRec;1741
1741 if (pCtx->iTotalNumMbRec > iTotalMbTargetLayer) {1742 if (pCtx->iTotalNumMbRec > iTotalMbTargetLayer) {
1742 WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING,1743 WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING,
1743 "WelsTargetSliceConstruction():::pCtx->iTotalNumMbRec:%d, iTotalMbTargetLayer:%d",1744 "WelsTargetSliceConstruction():::pCtx->iTotalNumMbRec:%d, iTotalMbTargetLayer:%d",

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