pub trait API {
// Required methods
unsafe fn WelsCreateSVCEncoder(
&self,
ppEncoder: *mut *mut ISVCEncoder,
) -> c_int;
unsafe fn WelsDestroySVCEncoder(&self, pEncoder: *mut ISVCEncoder);
unsafe fn WelsGetDecoderCapability(
&self,
pDecCapability: *mut SDecoderCapability,
) -> c_int;
unsafe fn WelsCreateDecoder(
&self,
ppDecoder: *mut *mut ISVCDecoder,
) -> c_long;
unsafe fn WelsDestroyDecoder(&self, pDecoder: *mut ISVCDecoder);
unsafe fn WelsGetCodecVersion(&self) -> OpenH264Version;
unsafe fn WelsGetCodecVersionEx(&self, pVersion: *mut OpenH264Version);
}Expand description
Abstraction over source or libloading APIs.