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
55 55
56namespace WelsEnc {56namespace WelsEnc {
57 57
58CWelsSliceEncodingTask::CWelsSliceEncodingTask (sWelsEncCtx* pCtx,58CWelsSliceEncodingTask::CWelsSliceEncodingTask (WelsCommon::IWelsTaskSink* pSink, sWelsEncCtx* pCtx,
59 const int32_t iSliceIdx) : m_eTaskResult (ENC_RETURN_SUCCESS) {59 const int32_t iSliceIdx) : CWelsBaseTask(pSink), m_eTaskResult (ENC_RETURN_SUCCESS) {
60 m_pCtx = pCtx;60 m_pCtx = pCtx;
61 m_iSliceIdx = iSliceIdx;61 m_iSliceIdx = iSliceIdx;
62}62}
@@ -316,7 +316,7 @@ WelsErrorType CWelsConstrainedSizeSlicingEncodingTask::ExecuteTask() { · 253 unmodified lines
316}316}
317 317
318 318
319CWelsUpdateMbMapTask::CWelsUpdateMbMapTask (sWelsEncCtx* pCtx, const int32_t iSliceIdx) {319CWelsUpdateMbMapTask::CWelsUpdateMbMapTask (WelsCommon::IWelsTaskSink* pSink, sWelsEncCtx* pCtx, const int32_t iSliceIdx): CWelsBaseTask(pSink) {
320 m_pCtx = pCtx;320 m_pCtx = pCtx;
321 m_iSliceIdx = iSliceIdx;321 m_iSliceIdx = iSliceIdx;
322}322}

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