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

Method Get

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

Source from the content-addressed store, hash-verified

174}
175
176EResult CVpFrameWork::Get (int32_t iType, void* pParam) {
177 EResult eReturn = RET_SUCCESS;
178 int32_t iCurIdx = WelsStaticCast (int32_t, WelsVpGetValidMethod (iType)) - 1;
179
180 if (!pParam)
181 return RET_INVALIDPARAM;
182
183 WelsMutexLock (&m_mutes);
184
185 IStrategy* pStrategy = m_pStgChain[iCurIdx];
186 if (pStrategy)
187 eReturn = pStrategy->Get (0, pParam);
188
189 WelsMutexUnlock (&m_mutes);
190
191 return eReturn;
192}
193
194EResult CVpFrameWork::Set (int32_t iType, void* pParam) {
195 EResult eReturn = RET_SUCCESS;

Callers 6

TESTFunction · 0.45
DetectSceneChangeMethod · 0.45
GetFunction · 0.45

Calls 3

WelsVpGetValidMethodFunction · 0.85
WelsMutexLockFunction · 0.85
WelsMutexUnlockFunction · 0.85

Tested by

no test coverage detected