MCPcopy Create free account
hub / github.com/cisco/openh264 / CVpFrameWork

Method CVpFrameWork

codec/processing/src/common/WelsFrameWork.cpp:89–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87///////////////////////////////////////////////////////////////////////////////
88
89CVpFrameWork::CVpFrameWork (uint32_t uiThreadsNum, EResult& eReturn) {
90 int32_t iCoreNum = 1;
91 uint32_t uiCPUFlag = WelsCPUFeatureDetect (&iCoreNum);
92
93 for (int32_t i = 0; i < MAX_STRATEGY_NUM; i++) {
94 m_pStgChain[i] = CreateStrategy (WelsStaticCast (EMethods, i + 1), uiCPUFlag);
95 }
96
97 WelsMutexInit (&m_mutes);
98
99 eReturn = RET_SUCCESS;
100}
101
102CVpFrameWork::~CVpFrameWork() {
103 for (int32_t i = 0; i < MAX_STRATEGY_NUM; i++) {

Callers

nothing calls this directly

Calls 2

WelsCPUFeatureDetectFunction · 0.85
WelsMutexInitFunction · 0.85

Tested by

no test coverage detected