History

Force NO deblocking when no MB decoded in current slice Remove the judgment outside of the function

Haibo Zhu committed 11 years ago

Commit 81805ab1 parent 22cabd31 file · +2 −1Browse files

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

Unified · Split

codec/decoder/core/src/decode_slice.cpp+2−1
@@ -134,7 +134,8 @@ int32_t WelsTargetSliceConstruction (PWelsDecoderContext pCtx) { · 133 unmodified lines
134134
135135 pDeblockMb = WelsDeblockingMb;
136136
137− if (1 == pSliceHeader->uiDisableDeblockingFilterIdc) {
137+ if (1 == pSliceHeader->uiDisableDeblockingFilterIdc
138+ || pCtx->pCurDqLayer->sLayerInfo.sSliceInLayer.iTotalMbInCurSlice <= 0) {
138139 return 0;//NO_SUPPORTED_FILTER_IDX
139140 } else {
140141 WelsDeblockingFilterSlice (pCtx, pDeblockMb);

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