History

Merge pull request #2350 from sijchen/th00

[Common] Add sink to IWelsTask

sijchen committed 10 years ago

Commit e5e70132 parents ad9ca38 5eb18b110 files · +69 −29Browse files

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

Unified · Split

codec/encoder/core/src/wels_task_encoder.cpp+3−3
@@ -55,8 +55,8 @@ · 54 unmodified lines
5555
5656 namespace WelsEnc {
5757
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) {
6060 m_pCtx = pCtx;
6161 m_iSliceIdx = iSliceIdx;
6262 }
@@ -316,7 +316,7 @@ WelsErrorType CWelsConstrainedSizeSlicingEncodingTask::ExecuteTask() { · 253 unmodified lines
316316 }
317317
318318
319−CWelsUpdateMbMapTask::CWelsUpdateMbMapTask (sWelsEncCtx* pCtx, const int32_t iSliceIdx) {
319+CWelsUpdateMbMapTask::CWelsUpdateMbMapTask (WelsCommon::IWelsTaskSink* pSink, sWelsEncCtx* pCtx, const int32_t iSliceIdx): CWelsBaseTask(pSink) {
320320 m_pCtx = pCtx;
321321 m_iSliceIdx = iSliceIdx;
322322 }

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