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

Method Uninit

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

Source from the content-addressed store, hash-verified

128}
129
130EResult CVpFrameWork::Uninit (int32_t iType) {
131 EResult eReturn = RET_SUCCESS;
132 int32_t iCurIdx = WelsStaticCast (int32_t, WelsVpGetValidMethod (iType)) - 1;
133
134 WelsMutexLock (&m_mutes);
135
136 IStrategy* pStrategy = m_pStgChain[iCurIdx];
137 if (pStrategy)
138 eReturn = pStrategy->Uninit (0);
139
140 WelsMutexUnlock (&m_mutes);
141
142 return eReturn;
143}
144
145EResult CVpFrameWork::Flush (int32_t iType) {
146 EResult eReturn = RET_SUCCESS;

Callers 1

UninitFunction · 0.45

Calls 3

WelsVpGetValidMethodFunction · 0.85
WelsMutexLockFunction · 0.85
WelsMutexUnlockFunction · 0.85

Tested by

no test coverage detected