History

SSliceCtx struture refactoring----change input paramters for Init/UninitSlicePEncCtx()

huade committed 10 years ago

Commit b60bb671 parent 268e6cf3 files · +26 −23Browse files

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

Unified · Split

codec/encoder/core/src/encoder_ext.cpp+3−4
@@ -1361,7 +1361,7 @@ static inline int32_t InitDqLayers (sWelsEncCtx** ppCtx, SExistingParasetList* p · 1360 unmodified lines
1361 1361
1362 // Not using FMO in SVC coding so far, come back if need FMO1362 // Not using FMO in SVC coding so far, come back if need FMO
1363 {1363 {
1364 iResult = InitSlicePEncCtx (&(*ppCtx)->ppDqLayerList[iDlayerIndex]->sSliceEncCtx,1364 iResult = InitSlicePEncCtx ((*ppCtx)->ppDqLayerList[iDlayerIndex],
1365 (*ppCtx)->pMemAlign,1365 (*ppCtx)->pMemAlign,
1366 false,1366 false,
1367 pSps->iMbWidth,1367 pSps->iMbWidth,
@@ -2120,9 +2120,8 @@ void FreeMemorySvc (sWelsEncCtx** ppCtx) { · 752 unmodified lines
2120 pDq->pFeatureSearchPreparation = NULL;2120 pDq->pFeatureSearchPreparation = NULL;
2121 }2121 }
2122 2122
2123 SSliceCtx* pSliceCtx = &pDq->sSliceEncCtx;2123 if (NULL != pDq) {
2124 if (NULL != pSliceCtx) {2124 UninitSlicePEncCtx (pDq, pMa);
2125 UninitSlicePEncCtx (pSliceCtx, pMa);
2126 }2125 }
2127 2126
2128 pMa->WelsFree (pDq, "pDq");2127 pMa->WelsFree (pDq, "pDq");

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