| 45 | /* interface API implement */ |
| 46 | |
| 47 | EResult 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 | |
| 56 | EResult WelsDestroyVpInterface (void* pCtx, int iVersion) { |
| 57 | if (iVersion & 0x8000) |
no test coverage detected