Home
last modified time | relevance | path

Searched refs:WELS_THREAD_ERROR_CODE (Results 1 – 11 of 11) sorted by relevance

/third_party/openh264/codec/common/src/
DWelsThreadLib.cpp74 WELS_THREAD_ERROR_CODE WelsMutexInit (WELS_MUTEX* mutex) { in WelsMutexInit()
80 WELS_THREAD_ERROR_CODE WelsMutexLock (WELS_MUTEX* mutex) { in WelsMutexLock()
86 WELS_THREAD_ERROR_CODE WelsMutexUnlock (WELS_MUTEX* mutex) { in WelsMutexUnlock()
92 WELS_THREAD_ERROR_CODE WelsMutexDestroy (WELS_MUTEX* mutex) { in WelsMutexDestroy()
100 WELS_THREAD_ERROR_CODE WelsMutexInit (WELS_MUTEX* mutex) { in WelsMutexInit()
104 WELS_THREAD_ERROR_CODE WelsMutexLock (WELS_MUTEX* mutex) { in WelsMutexLock()
108 WELS_THREAD_ERROR_CODE WelsMutexUnlock (WELS_MUTEX* mutex) { in WelsMutexUnlock()
112 WELS_THREAD_ERROR_CODE WelsMutexDestroy (WELS_MUTEX* mutex) { in WelsMutexDestroy()
120 WELS_THREAD_ERROR_CODE WelsEventOpen (WELS_EVENT* event, const char* event_name) { in WelsEventOpen()
129 WELS_THREAD_ERROR_CODE WelsEventSignal (WELS_EVENT* event, WELS_MUTEX *pMutex, int* iCondition) { in WelsEventSignal()
[all …]
DWelsThreadPool.cpp72 WELS_THREAD_ERROR_CODE CWelsThreadPool::SetThreadNum (int32_t iMaxThreadNum) { in SetThreadNum()
134 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()
162 WELS_THREAD_ERROR_CODE CWelsThreadPool::Init() { in Init()
187 WELS_THREAD_ERROR_CODE CWelsThreadPool::StopAllRunning() { in StopAllRunning()
188 WELS_THREAD_ERROR_CODE iReturn = WELS_THREAD_ERROR_OK; in StopAllRunning()
204 WELS_THREAD_ERROR_CODE CWelsThreadPool::Uninit() { in Uninit()
205 WELS_THREAD_ERROR_CODE iReturn = WELS_THREAD_ERROR_OK; in Uninit()
251 WELS_THREAD_ERROR_CODE CWelsThreadPool::QueueTask (IWelsTask* pTask) { in QueueTask()
275 WELS_THREAD_ERROR_CODE CWelsThreadPool::CreateIdleThread() { in CreateIdleThread()
[all …]
DWelsThread.cpp76 WELS_THREAD_ERROR_CODE CWelsThread::Start() { in Start()
88 WELS_THREAD_ERROR_CODE rc = WelsThreadCreate (&m_hThread, in Start()
DWelsTaskThread.cpp72 WELS_THREAD_ERROR_CODE CWelsTaskThread::SetTask (WelsCommon::IWelsTask* pTask) { in SetTask()
/third_party/openh264/codec/common/inc/
DWelsThreadLib.h107 typedef int32_t WELS_THREAD_ERROR_CODE; typedef
120 WELS_THREAD_ERROR_CODE WelsMutexInit (WELS_MUTEX* mutex);
121 WELS_THREAD_ERROR_CODE WelsMutexLock (WELS_MUTEX* mutex);
122 WELS_THREAD_ERROR_CODE WelsMutexUnlock (WELS_MUTEX* mutex);
123 WELS_THREAD_ERROR_CODE WelsMutexDestroy (WELS_MUTEX* mutex);
125 WELS_THREAD_ERROR_CODE WelsEventOpen (WELS_EVENT* p_event, const char* event_name = NULL);
126 WELS_THREAD_ERROR_CODE WelsEventClose (WELS_EVENT* event, const char* event_name = NULL);
128 WELS_THREAD_ERROR_CODE WelsEventSignal (WELS_EVENT* event,WELS_MUTEX *pMutex, int* iCondition);
129 WELS_THREAD_ERROR_CODE WelsEventWait (WELS_EVENT* event,WELS_MUTEX *pMutex, int& iCondition);
130 WELS_THREAD_ERROR_CODE WelsEventWaitWithTimeOut (WELS_EVENT* event, uint32_t dwMilliseconds,WELS…
[all …]
DWelsThreadPool.h59 static WELS_THREAD_ERROR_CODE SetThreadNum (int32_t iMaxThreadNum);
67 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);
80 WELS_THREAD_ERROR_CODE Init();
81 WELS_THREAD_ERROR_CODE Uninit();
83 WELS_THREAD_ERROR_CODE CreateIdleThread();
85 WELS_THREAD_ERROR_CODE AddThreadToIdleQueue (CWelsTaskThread* pThread);
86 WELS_THREAD_ERROR_CODE AddThreadToBusyList (CWelsTaskThread* pThread);
87 WELS_THREAD_ERROR_CODE RemoveThreadFromBusyList (CWelsTaskThread* pThread);
[all …]
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);
DWelsLock.h61 WELS_THREAD_ERROR_CODE Lock() { in Lock()
65 WELS_THREAD_ERROR_CODE Unlock() { in Unlock()
DWelsThread.h59 virtual WELS_THREAD_ERROR_CODE Start();
/third_party/openh264/test/common/
DWelsThreadPoolTest.cpp82 WELS_THREAD_ERROR_CODE rc; in TEST()
/third_party/openh264/codec/encoder/core/src/
Dslice_multi_threading.cpp302 WELS_GCC_UNUSED WELS_THREAD_ERROR_CODE err = 0; in RequestMtResource()