History

change API for slicing part for easier usage (the UseLoadBalancing flag is still under working)

sijchen committed 11 years ago

Commit 33c378f1 parent 24916a626 files · +7334 −7329Browse files

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

Unified · Split

codec/encoder/core/src/ratectl.cpp+2−3
@@ -169,9 +169,8 @@ void RcInitSequenceParameter (sWelsEncCtx* pEncCtx) { · 168 unmodified lines
169 169
170 RcInitLayerMemory (pWelsSvcRc, pEncCtx->pMemAlign, 1 + pEncCtx->pSvcParam->sDependencyLayers[j].iHighestTemporalId);170 RcInitLayerMemory (pWelsSvcRc, pEncCtx->pMemAlign, 1 + pEncCtx->pSvcParam->sDependencyLayers[j].iHighestTemporalId);
171 171
172 bMultiSliceMode = ((SM_RASTER_SLICE == pDLayerParam->sSliceCfg.uiSliceMode) ||172 bMultiSliceMode = ((SM_RASTER_SLICE == pDLayerParam->sSliceArgument.uiSliceMode) ||
173 (SM_ROWMB_SLICE == pDLayerParam->sSliceCfg.uiSliceMode) ||173 (SM_SIZELIMITED_SLICE == pDLayerParam->sSliceArgument.uiSliceMode));
174 (SM_DYN_SLICE == pDLayerParam->sSliceCfg.uiSliceMode));
175 if (bMultiSliceMode)174 if (bMultiSliceMode)
176 pWelsSvcRc->iNumberMbGom = pWelsSvcRc->iNumberMbFrame;175 pWelsSvcRc->iNumberMbGom = pWelsSvcRc->iNumberMbFrame;
177 }176 }

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