Showing the changes to codec/encoder/core/src/wels_task_encoder.cpp (1 of 5 files). Show all
Unified · Split
| @@ -228,6 +228,20 @@ void CWelsLoadBalancingSlicingEncodingTask::FinishTask() { · 227 unmodified lines | |||
| 228 | m_pCtx->pCurDqLayer->pSliceEncCtx->pCountMbNumInSlice[m_iSliceIdx]); | 228 | m_pCtx->pCurDqLayer->pSliceEncCtx->pCountMbNumInSlice[m_iSliceIdx]); |
| 229 | } | 229 | } |
| 230 | 230 | ||
| 231 | |||
| 232 | CWelsUpdateMbMapTask::CWelsUpdateMbMapTask (sWelsEncCtx* pCtx, const int32_t iSliceIdx) { | ||
| 233 | m_pCtx = pCtx; | ||
| 234 | m_iSliceIdx = iSliceIdx; | ||
| 235 | } | ||
| 236 | |||
| 237 | CWelsUpdateMbMapTask::~CWelsUpdateMbMapTask() { | ||
| 238 | } | ||
| 239 | |||
| 240 | WelsErrorType CWelsUpdateMbMapTask::Execute() { | ||
| 241 | UpdateMbListNeighborParallel (m_pCtx->pCurDqLayer->pSliceEncCtx, m_pCtx->pCurDqLayer->sMbDataP, m_iSliceIdx); | ||
| 242 | return ENC_RETURN_SUCCESS; | ||
| 243 | } | ||
| 244 | |||
| 231 | } | 245 | } |
| 232 | 246 | ||
| 233 | 247 | ||