Home
last modified time | relevance | path

Searched refs:CWelsThreadPool (Results 1 – 5 of 5) sorted by relevance

/third_party/openh264/codec/common/src/
DWelsThreadPool.cpp55 int32_t CWelsThreadPool::m_iRefCount = 0;
56 int32_t CWelsThreadPool::m_iMaxThreadNum = DEFAULT_THREAD_NUM;
57 CWelsThreadPool* CWelsThreadPool::m_pThreadPoolSelf = NULL;
59 CWelsThreadPool::CWelsThreadPool() : in CWelsThreadPool() function in WelsCommon::CWelsThreadPool
64 CWelsThreadPool::~CWelsThreadPool() { in ~CWelsThreadPool()
72 WELS_THREAD_ERROR_CODE CWelsThreadPool::SetThreadNum (int32_t iMaxThreadNum) { in SetThreadNum()
87 CWelsThreadPool* CWelsThreadPool::AddReference() { in AddReference()
90 m_pThreadPoolSelf = new CWelsThreadPool(); in AddReference()
112 void CWelsThreadPool::RemoveInstance() { in RemoveInstance()
128 bool CWelsThreadPool::IsReferenced() { in IsReferenced()
[all …]
/third_party/openh264/test/common/
DWelsThreadPoolTest.cpp20 CWelsThreadPool* pThreadPool = (CWelsThreadPool::AddReference()); in OneCallingFunc()
49 int iRet = CWelsThreadPool::SetThreadNum (8); in TEST()
51 EXPECT_FALSE (CWelsThreadPool::IsReferenced()); in TEST()
53 CWelsThreadPool* pThreadPool = (CWelsThreadPool::AddReference()); in TEST()
60 iRet = CWelsThreadPool::SetThreadNum (4); in TEST()
66 iRet = CWelsThreadPool::SetThreadNum (4); in TEST()
69 pThreadPool = (CWelsThreadPool::AddReference()); in TEST()
74 EXPECT_FALSE (CWelsThreadPool::IsReferenced()); in TEST()
104 EXPECT_FALSE (CWelsThreadPool::IsReferenced()); in TEST()
/third_party/openh264/codec/common/inc/
DWelsThreadPool.h53 class CWelsThreadPool : public CWelsThread, public IWelsTaskThreadSink {
61 static CWelsThreadPool* AddReference();
97 CWelsThreadPool();
98 virtual ~CWelsThreadPool();
104 static CWelsThreadPool* m_pThreadPoolSelf;
115 DISALLOW_COPY_AND_ASSIGN (CWelsThreadPool);
/third_party/openh264/codec/encoder/core/src/
Dwels_task_management.cpp102 iReturn = CWelsThreadPool::SetThreadNum (m_iThreadNum); in Init()
103 m_pThreadPool = (CWelsThreadPool::AddReference()); in Init()
/third_party/openh264/codec/encoder/core/inc/
Dwels_task_management.h95 WelsCommon::CWelsThreadPool* m_pThreadPool;