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 | void PerformDeblockingFilter (sWelsEncCtx* pEnc) { | 740 | void PerformDeblockingFilter (sWelsEncCtx* pEnc) { |
| 741 | const int32_t kiCurDid = pEnc->uiDependencyId; | 741 | const int32_t kiCurDid = pEnc->uiDependencyId; |
| 742 | SWelsSvcCodingParam* pSvcParam = pEnc->pSvcParam; | 742 | SWelsSvcCodingParam* pSvcParam = pEnc->pSvcParam; |
| 743 | SDLayerParam* pDlp = &pSvcParam->sDependencyLayers[kiCurDid]; | 743 | SSpatialLayerConfig* pSpatialLayer = &pSvcParam->sSpatialLayers[kiCurDid]; |
| 744 | SDqLayer* pCurLayer = pEnc->pCurDqLayer; | 744 | SDqLayer* pCurLayer = pEnc->pCurDqLayer; |
| 745 | 745 | ||
| 746 | if (pCurLayer->iLoopFilterDisableIdc == 0) { | 746 | if (pCurLayer->iLoopFilterDisableIdc == 0) { |
| @@ -749,7 +749,7 @@ void PerformDeblockingFilter (sWelsEncCtx* pEnc) { · 2 unmodified lines | |||
| 749 | int32_t iSliceCount = 0; | 749 | int32_t iSliceCount = 0; |
| 750 | int32_t iSliceIdx = 0; | 750 | int32_t iSliceIdx = 0; |
| 751 | 751 | ||
| 752 | if (SM_DYN_SLICE != pDlp->sSliceCfg.uiSliceMode) { | 752 | if (SM_DYN_SLICE != pSpatialLayer->sSliceCfg.uiSliceMode) { |
| 753 | iSliceCount = GetCurrentSliceNum (pCurLayer->pSliceEncCtx); | 753 | iSliceCount = GetCurrentSliceNum (pCurLayer->pSliceEncCtx); |
| 754 | do { | 754 | do { |
| 755 | DeblockingFilterSliceAvcbase (pCurLayer, pEnc->pFuncList, iSliceIdx); | 755 | DeblockingFilterSliceAvcbase (pCurLayer, pEnc->pFuncList, iSliceIdx); |