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

Method Set

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

Source from the content-addressed store, hash-verified

192}
193
194EResult CVpFrameWork::Set (int32_t iType, void* pParam) {
195 EResult eReturn = RET_SUCCESS;
196 int32_t iCurIdx = WelsStaticCast (int32_t, WelsVpGetValidMethod (iType)) - 1;
197
198 if (!pParam)
199 return RET_INVALIDPARAM;
200
201 WelsMutexLock (&m_mutes);
202
203 IStrategy* pStrategy = m_pStgChain[iCurIdx];
204 if (pStrategy)
205 eReturn = pStrategy->Set (0, pParam);
206
207 WelsMutexUnlock (&m_mutes);
208
209 return eReturn;
210}
211
212EResult CVpFrameWork::SpecialFeature (int32_t iType, void* pIn, void* pOut) {
213 EResult eReturn = RET_SUCCESS;

Callers 2

TESTFunction · 0.45
SetFunction · 0.45

Calls 3

WelsVpGetValidMethodFunction · 0.85
WelsMutexLockFunction · 0.85
WelsMutexUnlockFunction · 0.85

Tested by

no test coverage detected