Showing the changes to codec/decoder/core/src/decode_slice.cpp (1 of 11 files). Show all
Unified · Split
| @@ -90,7 +90,7 @@ int32_t WelsTargetSliceConstruction (PWelsDecoderContext pCtx) { · 89 unmodified lines | |||
| 90 | break; | 90 | break; |
| 91 | } | 91 | } |
| 92 | 92 | ||
| 93 | if (!pCtx->bParseOnly) { //for parse only, actual recon MB unnecessary | 93 | if (!pCtx->pParam->bParseOnly) { //for parse only, actual recon MB unnecessary |
| 94 | if (WelsTargetMbConstruction (pCtx)) { | 94 | if (WelsTargetMbConstruction (pCtx)) { |
| 95 | WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING, | 95 | WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING, |
| 96 | "WelsTargetSliceConstruction():::MB(%d, %d) construction error. pCurSlice_type:%d", | 96 | "WelsTargetSliceConstruction():::MB(%d, %d) construction error. pCurSlice_type:%d", |
| @@ -134,7 +134,7 @@ int32_t WelsTargetSliceConstruction (PWelsDecoderContext pCtx) { · 37 unmodified lines | |||
| 134 | if ((pCurSlice->eSliceType != I_SLICE) && (pCurSlice->eSliceType != P_SLICE)) | 134 | if ((pCurSlice->eSliceType != I_SLICE) && (pCurSlice->eSliceType != P_SLICE)) |
| 135 | return 0; | 135 | return 0; |
| 136 | 136 | ||
| 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 |
| 138 | return 0; | 138 | return 0; |
| 139 | 139 | ||
| 140 | pDeblockMb = WelsDeblockingMb; | 140 | pDeblockMb = WelsDeblockingMb; |