Home
last modified time | relevance | path

Searched refs:CWelsTaskThread (Results 1 – 5 of 5) 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);
84 void DestroyThread (CWelsTaskThread* pThread);
85 WELS_THREAD_ERROR_CODE AddThreadToIdleQueue (CWelsTaskThread* pThread);
86 WELS_THREAD_ERROR_CODE AddThreadToBusyList (CWelsTaskThread* pThread);
87 WELS_THREAD_ERROR_CODE RemoveThreadFromBusyList (CWelsTaskThread* pThread);
89 CWelsTaskThread* GetIdleThread();
107 CWelsNonDuplicatedList<CWelsTaskThread>* m_cIdleThreads;
108 CWelsList<CWelsTaskThread>* m_cBusyThreads;
DWelsTaskThread.h51 class CWelsTaskThread; variable
55 virtual WELS_THREAD_ERROR_CODE OnTaskStart (CWelsTaskThread* pThread, IWelsTask* pTask) = 0;
56 virtual WELS_THREAD_ERROR_CODE OnTaskStop (CWelsTaskThread* pThread, IWelsTask* pTask) = 0;
59 class CWelsTaskThread : public CWelsThread {
61 CWelsTaskThread (IWelsTaskThreadSink* pSink);
62 virtual ~CWelsTaskThread();
77 DISALLOW_COPY_AND_ASSIGN (CWelsTaskThread);
/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()
168 m_cIdleThreads = new CWelsNonDuplicatedList<CWelsTaskThread>(); in Init()
169 m_cBusyThreads = new CWelsList<CWelsTaskThread>(); in Init()
231 CWelsTaskThread* pThread = NULL; in ExecuteTask()
256 CWelsTaskThread* pThread = GetIdleThread(); in QueueTask()
276 CWelsTaskThread* pThread = new CWelsTaskThread (this); in CreateIdleThread()
291 void CWelsThreadPool::DestroyThread (CWelsTaskThread* pThread) { in DestroyThread()
298 WELS_THREAD_ERROR_CODE CWelsThreadPool::AddThreadToIdleQueue (CWelsTaskThread* pThread) { in AddThreadToIdleQueue()
304 WELS_THREAD_ERROR_CODE CWelsThreadPool::AddThreadToBusyList (CWelsTaskThread* pThread) { in AddThreadToBusyList()
[all …]
DWelsTaskThread.cpp44 CWelsTaskThread::CWelsTaskThread (IWelsTaskThreadSink* pSink) : m_pSink (pSink) { in CWelsTaskThread() function in WelsCommon::CWelsTaskThread
52 CWelsTaskThread::~CWelsTaskThread() { in ~CWelsTaskThread()
55 void CWelsTaskThread::ExecuteTask() { in ExecuteTask()
72 WELS_THREAD_ERROR_CODE CWelsTaskThread::SetTask (WelsCommon::IWelsTask* pTask) { in SetTask()
/third_party/openh264/test/common/
DCWelsListTest.cpp297 CWelsNonDuplicatedList<CWelsTaskThread> cThreadList; in TEST()
298CWelsTaskThread* pTaskThread1 = new CWelsTaskThread (NULL); //this initialization seemed making pr… in TEST()
300 CWelsTaskThread* pTaskThread2 = new CWelsTaskThread (NULL); in TEST()
302 CWelsTaskThread* pTaskThread3 = new CWelsTaskThread (NULL); in TEST()