History

Merge pull request #969 from ruil2/cleanup_encoder

cleanup interface parameters

sijchen committed 12 years ago

Commit 61017a22 parents 1111757 7acf0e511 files · +273 −261Browse files

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

Unified · Split

codec/encoder/core/src/deblocking.cpp+2−2
@@ -740,7 +740,7 @@ void DeblockingFilterSliceAvcbase (SDqLayer* pCurDq, SWelsFuncPtrList* pFunc, co · 739 unmodified lines
740740 void PerformDeblockingFilter (sWelsEncCtx* pEnc) {
741741 const int32_t kiCurDid = pEnc->uiDependencyId;
742742 SWelsSvcCodingParam* pSvcParam = pEnc->pSvcParam;
743− SDLayerParam* pDlp = &pSvcParam->sDependencyLayers[kiCurDid];
743+ SSpatialLayerConfig* pSpatialLayer = &pSvcParam->sSpatialLayers[kiCurDid];
744744 SDqLayer* pCurLayer = pEnc->pCurDqLayer;
745745
746746 if (pCurLayer->iLoopFilterDisableIdc == 0) {
@@ -749,7 +749,7 @@ void PerformDeblockingFilter (sWelsEncCtx* pEnc) { · 2 unmodified lines
749749 int32_t iSliceCount = 0;
750750 int32_t iSliceIdx = 0;
751751
752− if (SM_DYN_SLICE != pDlp->sSliceCfg.uiSliceMode) {
752+ if (SM_DYN_SLICE != pSpatialLayer->sSliceCfg.uiSliceMode) {
753753 iSliceCount = GetCurrentSliceNum (pCurLayer->pSliceEncCtx);
754754 do {
755755 DeblockingFilterSliceAvcbase (pCurLayer, pEnc->pFuncList, iSliceIdx);

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