Showing the changes to codec/encoder/core/src/wels_task_encoder.cpp (1 of 10 files). Show all
Unified · Split
| @@ -55,8 +55,8 @@ · 54 unmodified lines | ||
| 55 | 55 | |
| 56 | 56 | namespace WelsEnc { |
| 57 | 57 | |
| 58 | −CWelsSliceEncodingTask::CWelsSliceEncodingTask (sWelsEncCtx* pCtx, | |
| 59 | − const int32_t iSliceIdx) : m_eTaskResult (ENC_RETURN_SUCCESS) { | |
| 58 | +CWelsSliceEncodingTask::CWelsSliceEncodingTask (WelsCommon::IWelsTaskSink* pSink, sWelsEncCtx* pCtx, | |
| 59 | + const int32_t iSliceIdx) : CWelsBaseTask(pSink), m_eTaskResult (ENC_RETURN_SUCCESS) { | |
| 60 | 60 | m_pCtx = pCtx; |
| 61 | 61 | m_iSliceIdx = iSliceIdx; |
| 62 | 62 | } |
| @@ -316,7 +316,7 @@ WelsErrorType CWelsConstrainedSizeSlicingEncodingTask::ExecuteTask() { · 253 unmodified lines | ||
| 316 | 316 | } |
| 317 | 317 | |
| 318 | 318 | |
| 319 | −CWelsUpdateMbMapTask::CWelsUpdateMbMapTask (sWelsEncCtx* pCtx, const int32_t iSliceIdx) { | |
| 319 | +CWelsUpdateMbMapTask::CWelsUpdateMbMapTask (WelsCommon::IWelsTaskSink* pSink, sWelsEncCtx* pCtx, const int32_t iSliceIdx): CWelsBaseTask(pSink) { | |
| 320 | 320 | m_pCtx = pCtx; |
| 321 | 321 | m_iSliceIdx = iSliceIdx; |
| 322 | 322 | } |