pub trait IVMRImageCompositor9_Impl: Sized {
    // Required methods
    fn InitCompositionDevice(&self, pd3ddevice: Option<&IUnknown>) -> Result<()>;
    fn TermCompositionDevice(&self, pd3ddevice: Option<&IUnknown>) -> Result<()>;
    fn SetStreamMediaType(
        &self,
        dwstrmid: u32,
        pmt: *const AM_MEDIA_TYPE,
        ftexture: BOOL,
    ) -> Result<()>;
    fn CompositeImage(
        &self,
        pd3ddevice: Option<&IUnknown>,
        pddsrendertarget: Option<&IDirect3DSurface9>,
        pmtrendertarget: *const AM_MEDIA_TYPE,
        rtstart: i64,
        rtend: i64,
        dwclrbkgnd: u32,
        pvideostreaminfo: *const VMR9VideoStreamInfo,
        cstreams: u32,
    ) -> Result<()>;
}

Required Methods§

fn InitCompositionDevice(&self, pd3ddevice: Option<&IUnknown>) -> Result<()>

fn TermCompositionDevice(&self, pd3ddevice: Option<&IUnknown>) -> Result<()>

fn SetStreamMediaType( &self, dwstrmid: u32, pmt: *const AM_MEDIA_TYPE, ftexture: BOOL, ) -> Result<()>

fn CompositeImage( &self, pd3ddevice: Option<&IUnknown>, pddsrendertarget: Option<&IDirect3DSurface9>, pmtrendertarget: *const AM_MEDIA_TYPE, rtstart: i64, rtend: i64, dwclrbkgnd: u32, pvideostreaminfo: *const VMR9VideoStreamInfo, cstreams: u32, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§