pub trait IDirectXVideoDecoderService_Impl: Sized + IDirectXVideoAccelerationService_Impl {
    // Required methods
    fn GetDecoderDeviceGuids(
        &self,
        pcount: *mut u32,
        pguids: *mut *mut GUID,
    ) -> Result<()>;
    fn GetDecoderRenderTargets(
        &self,
        guid: *const GUID,
        pcount: *mut u32,
        pformats: *mut *mut D3DFORMAT,
    ) -> Result<()>;
    fn GetDecoderConfigurations(
        &self,
        guid: *const GUID,
        pvideodesc: *const DXVA2_VideoDesc,
        preserved: *const c_void,
        pcount: *mut u32,
        ppconfigs: *mut *mut DXVA2_ConfigPictureDecode,
    ) -> Result<()>;
    fn CreateVideoDecoder(
        &self,
        guid: *const GUID,
        pvideodesc: *const DXVA2_VideoDesc,
        pconfig: *const DXVA2_ConfigPictureDecode,
        ppdecoderrendertargets: *const Option<IDirect3DSurface9>,
        numrendertargets: u32,
    ) -> Result<IDirectXVideoDecoder>;
}

Required Methods§

fn GetDecoderDeviceGuids( &self, pcount: *mut u32, pguids: *mut *mut GUID, ) -> Result<()>

fn GetDecoderRenderTargets( &self, guid: *const GUID, pcount: *mut u32, pformats: *mut *mut D3DFORMAT, ) -> Result<()>

fn GetDecoderConfigurations( &self, guid: *const GUID, pvideodesc: *const DXVA2_VideoDesc, preserved: *const c_void, pcount: *mut u32, ppconfigs: *mut *mut DXVA2_ConfigPictureDecode, ) -> Result<()>

fn CreateVideoDecoder( &self, guid: *const GUID, pvideodesc: *const DXVA2_VideoDesc, pconfig: *const DXVA2_ConfigPictureDecode, ppdecoderrendertargets: *const Option<IDirect3DSurface9>, numrendertargets: u32, ) -> Result<IDirectXVideoDecoder>

Object Safety§

This trait is not object safe.

Implementors§