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

Function WelsCreateVpInterface

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

Source from the content-addressed store, hash-verified

45/* interface API implement */
46
47EResult WelsCreateVpInterface (void** ppCtx, int iVersion) {
48 if (iVersion & 0x8000)
49 return WelsVP::CreateSpecificVpInterface ((IWelsVP**)ppCtx);
50 else if (iVersion & 0x7fff)
51 return WelsVP::CreateSpecificVpInterface ((IWelsVPc**)ppCtx);
52 else
53 return RET_INVALIDPARAM;
54}
55
56EResult WelsDestroyVpInterface (void* pCtx, int iVersion) {
57 if (iVersion & 0x8000)

Callers 1

WelsPreprocessCreateMethod · 0.85

Calls 1

Tested by

no test coverage detected