enable MB re-decoding
This commit is contained in:
@@ -93,7 +93,11 @@ int32_t WelsTargetSliceConstruction (PWelsDecoderContext pCtx) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
++iCountNumMb;
|
++iCountNumMb;
|
||||||
++pCtx->iTotalNumMbRec;
|
if (!pCurLayer->pMbCorrectlyDecodedFlag[iNextMbXyIndex]) { //already con-ed, overwrite
|
||||||
|
pCurLayer->pMbCorrectlyDecodedFlag[iNextMbXyIndex] = true;
|
||||||
|
++pCtx->iTotalNumMbRec;
|
||||||
|
}
|
||||||
|
|
||||||
if (iCountNumMb >= iTotalNumMb) {
|
if (iCountNumMb >= iTotalNumMb) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -394,7 +398,6 @@ int32_t WelsDecodeSlice (PWelsDecoderContext pCtx, bool bFirstSliceInLayer, PNal
|
|||||||
}
|
}
|
||||||
|
|
||||||
++pSlice->iTotalMbInCurSlice;
|
++pSlice->iTotalMbInCurSlice;
|
||||||
pCurLayer->pMbCorrectlyDecodedFlag[iNextMbXyIndex] = true;
|
|
||||||
|
|
||||||
if (pSliceHeader->pPps->uiNumSliceGroups > 1) {
|
if (pSliceHeader->pPps->uiNumSliceGroups > 1) {
|
||||||
iNextMbXyIndex = FmoNextMb (pFmo, iNextMbXyIndex);
|
iNextMbXyIndex = FmoNextMb (pFmo, iNextMbXyIndex);
|
||||||
|
|||||||
Reference in New Issue
Block a user