Showing the changes to codec/encoder/core/src/wels_task_encoder.cpp (1 of 6 files). Show all
Unified · Split
| @@ -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 confusion | 241 | //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 |