History

remove bParseonly in ctx using that in param, and slightly modify the initialize process of decoder

huili2 committed 11 years ago

Commit 777dbc01 parent b700b6711 files · +133 −86Browse files

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

Unified · Split

codec/decoder/core/src/decode_slice.cpp+2−2
@@ -90,7 +90,7 @@ int32_t WelsTargetSliceConstruction (PWelsDecoderContext pCtx) { · 89 unmodified lines
9090 break;
9191 }
9292
93− if (!pCtx->bParseOnly) { //for parse only, actual recon MB unnecessary
93+ if (!pCtx->pParam->bParseOnly) { //for parse only, actual recon MB unnecessary
9494 if (WelsTargetMbConstruction (pCtx)) {
9595 WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING,
9696 "WelsTargetSliceConstruction():::MB(%d, %d) construction error. pCurSlice_type:%d",
@@ -134,7 +134,7 @@ int32_t WelsTargetSliceConstruction (PWelsDecoderContext pCtx) { · 37 unmodified lines
134134 if ((pCurSlice->eSliceType != I_SLICE) && (pCurSlice->eSliceType != P_SLICE))
135135 return 0;
136136
137− if (pCtx->bParseOnly) //for parse only, deblocking should not go on
137+ if (pCtx->pParam->bParseOnly) //for parse only, deblocking should not go on
138138 return 0;
139139
140140 pDeblockMb = WelsDeblockingMb;

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