cleanup interface parameters
Showing the changes to codec/encoder/core/src/deblocking.cpp (1 of 11 files). Show all
Unified · Split
| @@ -740,7 +740,7 @@ void DeblockingFilterSliceAvcbase (SDqLayer* pCurDq, SWelsFuncPtrList* pFunc, co · 739 unmodified lines | ||
| 740 | 740 | void PerformDeblockingFilter (sWelsEncCtx* pEnc) { |
| 741 | 741 | const int32_t kiCurDid = pEnc->uiDependencyId; |
| 742 | 742 | SWelsSvcCodingParam* pSvcParam = pEnc->pSvcParam; |
| 743 | − SDLayerParam* pDlp = &pSvcParam->sDependencyLayers[kiCurDid]; | |
| 743 | + SSpatialLayerConfig* pSpatialLayer = &pSvcParam->sSpatialLayers[kiCurDid]; | |
| 744 | 744 | SDqLayer* pCurLayer = pEnc->pCurDqLayer; |
| 745 | 745 | |
| 746 | 746 | if (pCurLayer->iLoopFilterDisableIdc == 0) { |
| @@ -749,7 +749,7 @@ void PerformDeblockingFilter (sWelsEncCtx* pEnc) { · 2 unmodified lines | ||
| 749 | 749 | int32_t iSliceCount = 0; |
| 750 | 750 | int32_t iSliceIdx = 0; |
| 751 | 751 | |
| 752 | − if (SM_DYN_SLICE != pDlp->sSliceCfg.uiSliceMode) { | |
| 752 | + if (SM_DYN_SLICE != pSpatialLayer->sSliceCfg.uiSliceMode) { | |
| 753 | 753 | iSliceCount = GetCurrentSliceNum (pCurLayer->pSliceEncCtx); |
| 754 | 754 | do { |
| 755 | 755 | DeblockingFilterSliceAvcbase (pCurLayer, pEnc->pFuncList, iSliceIdx); |