History

Multi-thread-fixed:RBC#1683:add ppSlice update module

huade committed 9 years ago

Commit 37a6e8f1 parent 4ca5d946 files · +115 −3Browse files

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

Unified · Split

codec/encoder/core/src/wels_task_encoder.cpp+2−1
@@ -234,7 +234,8 @@ WelsErrorType CWelsConstrainedSizeSlicingEncodingTask::ExecuteTask() { · 233 unmodified lines
234 234
235 SSliceCtx* pSliceCtx = &pCurDq->sSliceEncCtx;235 SSliceCtx* pSliceCtx = &pCurDq->sSliceEncCtx;
236 const int32_t kiSliceIdxStep = m_pCtx->iActiveThreadsNum;236 const int32_t kiSliceIdxStep = m_pCtx->iActiveThreadsNum;
237 SSpatialLayerInternal* pParamInternal = &m_pCtx->pSvcParam->sDependencyLayers[m_pCtx->uiDependencyId];237
238 SSpatialLayerInternal* pParamInternal = &m_pCtx->pSvcParam->sDependencyLayers[m_pCtx->uiDependencyId];
238 SSliceHeaderExt* pStartSliceHeaderExt = &pCurDq->ppSliceInLayer[m_iSliceIdx]->sSliceHeaderExt;239 SSliceHeaderExt* pStartSliceHeaderExt = &pCurDq->ppSliceInLayer[m_iSliceIdx]->sSliceHeaderExt;
239 240
240 //deal with partition: TODO: here SSliceThreadPrivateData is just for parition info and actually has little relationship with threadbuffer, and iThreadIndex is not used in threadpool model, need renaming after removing old logic to avoid confusion241 //deal with partition: TODO: here SSliceThreadPrivateData is just for parition info and actually has little relationship with threadbuffer, and iThreadIndex is not used in threadpool model, need renaming after removing old logic to avoid confusion

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