Trait windows::Win32::Media::DirectShow::IVMRImageCompositor_Impl
pub trait IVMRImageCompositor_Impl: Sized {
// Required methods
fn InitCompositionTarget(
&self,
pd3ddevice: Option<&IUnknown>,
pddsrendertarget: Option<&IDirectDrawSurface7>,
) -> Result<()>;
fn TermCompositionTarget(
&self,
pd3ddevice: Option<&IUnknown>,
pddsrendertarget: Option<&IDirectDrawSurface7>,
) -> Result<()>;
fn SetStreamMediaType(
&self,
dwstrmid: u32,
pmt: *const AM_MEDIA_TYPE,
ftexture: BOOL,
) -> Result<()>;
fn CompositeImage(
&self,
pd3ddevice: Option<&IUnknown>,
pddsrendertarget: Option<&IDirectDrawSurface7>,
pmtrendertarget: *const AM_MEDIA_TYPE,
rtstart: i64,
rtend: i64,
dwclrbkgnd: u32,
pvideostreaminfo: *const VMRVIDEOSTREAMINFO,
cstreams: u32,
) -> Result<()>;
}
Required Methods§
fn InitCompositionTarget( &self, pd3ddevice: Option<&IUnknown>, pddsrendertarget: Option<&IDirectDrawSurface7>, ) -> Result<()>
fn TermCompositionTarget( &self, pd3ddevice: Option<&IUnknown>, pddsrendertarget: Option<&IDirectDrawSurface7>, ) -> Result<()>
fn SetStreamMediaType( &self, dwstrmid: u32, pmt: *const AM_MEDIA_TYPE, ftexture: BOOL, ) -> Result<()>
fn CompositeImage( &self, pd3ddevice: Option<&IUnknown>, pddsrendertarget: Option<&IDirectDrawSurface7>, pmtrendertarget: *const AM_MEDIA_TYPE, rtstart: i64, rtend: i64, dwclrbkgnd: u32, pvideostreaminfo: *const VMRVIDEOSTREAMINFO, cstreams: u32, ) -> Result<()>
Object Safety§
This trait is not object safe.