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
740void PerformDeblockingFilter (sWelsEncCtx* pEnc) {740void 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);

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