Home
last modified time | relevance | path

Searched refs:IWelsTask (Results 1 – 8 of 8) sorted by relevance

/third_party/openh264/codec/common/inc/
DWelsThreadPool.h67 virtual WELS_THREAD_ERROR_CODE OnTaskStart (CWelsTaskThread* pThread, IWelsTask* pTask);
68 virtual WELS_THREAD_ERROR_CODE OnTaskStop (CWelsTaskThread* pThread, IWelsTask* pTask);
73 WELS_THREAD_ERROR_CODE QueueTask (IWelsTask* pTask);
88 bool AddTaskToWaitedList (IWelsTask* pTask);
90 IWelsTask* GetWaitedTask();
106 CWelsNonDuplicatedList<IWelsTask>* m_cWaitedTasks;
DWelsTaskThread.h55 virtual WELS_THREAD_ERROR_CODE OnTaskStart (CWelsTaskThread* pThread, IWelsTask* pTask) = 0;
56 virtual WELS_THREAD_ERROR_CODE OnTaskStop (CWelsTaskThread* pThread, IWelsTask* pTask) = 0;
64 WELS_THREAD_ERROR_CODE SetTask (IWelsTask* pTask);
74 IWelsTask* m_pTask;
DWelsTask.h54 class IWelsTask {
56 IWelsTask (IWelsTaskSink* pSink) { in IWelsTask() function
59 virtual ~IWelsTask() { } in ~IWelsTask()
/third_party/openh264/codec/common/src/
DWelsThreadPool.cpp134 WELS_THREAD_ERROR_CODE CWelsThreadPool::OnTaskStart (CWelsTaskThread* pThread, IWelsTask* pTask) { in OnTaskStart()
140 WELS_THREAD_ERROR_CODE CWelsThreadPool::OnTaskStop (CWelsTaskThread* pThread, IWelsTask* pTask) { in OnTaskStop()
167 m_cWaitedTasks = new CWelsNonDuplicatedList<IWelsTask>(); in Init()
232 IWelsTask* pTask = NULL; in ExecuteTask()
251 WELS_THREAD_ERROR_CODE CWelsThreadPool::QueueTask (IWelsTask* pTask) { in QueueTask()
319 bool CWelsThreadPool::AddTaskToWaitedList (IWelsTask* pTask) { in AddTaskToWaitedList()
351 IWelsTask* CWelsThreadPool::GetWaitedTask() { in GetWaitedTask()
358 IWelsTask* pTask = m_cWaitedTasks->begin(); in GetWaitedTask()
370 IWelsTask* pTask = NULL; in ClearWaitedTasks()
DWelsTaskThread.cpp72 WELS_THREAD_ERROR_CODE CWelsTaskThread::SetTask (WelsCommon::IWelsTask* pTask) { in SetTask()
/third_party/openh264/test/common/
DWelsThreadPoolTest.h17 virtual int32_t OnTaskExecuted (IWelsTask* pTask) { in OnTaskExecuted()
24 virtual int32_t OnTaskCancelled (IWelsTask* pTask) { in OnTaskCancelled()
56 class CSimpleTask : public IWelsTask {
60 CSimpleTask (WelsCommon::IWelsTaskSink* pSink) : IWelsTask (pSink) { in CSimpleTask()
DWelsTaskListTest.cpp15 CWelsList<IWelsTask>* pTaskList; in TEST()
16 pTaskList = new CWelsList<IWelsTask>(); in TEST()
22 IWelsTask* pCurTask; in TEST()
/third_party/openh264/codec/encoder/core/inc/
Dwels_task_base.h51 class CWelsBaseTask : public WelsCommon::IWelsTask {
63 CWelsBaseTask (WelsCommon::IWelsTaskSink* pSink): IWelsTask (pSink) {}; in CWelsBaseTask()