History

enable MB re-decoding

huili2 committed 12 years ago

Commit 95012b01 parent dd5b9b81 file · +5 −2Browse files

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

Unified · Split

codec/decoder/core/src/decode_slice.cpp+5−2
@@ -93,7 +93,11 @@ int32_t WelsTargetSliceConstruction (PWelsDecoderContext pCtx) { · 92 unmodified lines
93 }93 }
94 94
95 ++iCountNumMb;95 ++iCountNumMb;
96 ++pCtx->iTotalNumMbRec;96 if (!pCurLayer->pMbCorrectlyDecodedFlag[iNextMbXyIndex]) { //already con-ed, overwrite
97 pCurLayer->pMbCorrectlyDecodedFlag[iNextMbXyIndex] = true;
98 ++pCtx->iTotalNumMbRec;
99 }
100
97 if (iCountNumMb >= iTotalNumMb) {101 if (iCountNumMb >= iTotalNumMb) {
98 break;102 break;
99 }103 }
@@ -394,7 +398,6 @@ int32_t WelsDecodeSlice (PWelsDecoderContext pCtx, bool bFirstSliceInLayer, PNal · 294 unmodified lines
394 }398 }
395 399
396 ++pSlice->iTotalMbInCurSlice;400 ++pSlice->iTotalMbInCurSlice;
397 pCurLayer->pMbCorrectlyDecodedFlag[iNextMbXyIndex] = true;
398 401
399 if (pSliceHeader->pPps->uiNumSliceGroups > 1) {402 if (pSliceHeader->pPps->uiNumSliceGroups > 1) {
400 iNextMbXyIndex = FmoNextMb (pFmo, iNextMbXyIndex);403 iNextMbXyIndex = FmoNextMb (pFmo, iNextMbXyIndex);

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