Trait windows::Win32::Media::MediaFoundation::IDXVAHD_Device_Impl
pub trait IDXVAHD_Device_Impl: Sized {
// Required methods
fn CreateVideoSurface(
&self,
width: u32,
height: u32,
format: D3DFORMAT,
pool: D3DPOOL,
usage: u32,
type: DXVAHD_SURFACE_TYPE,
numsurfaces: u32,
ppsurfaces: *mut Option<IDirect3DSurface9>,
psharedhandle: *mut HANDLE,
) -> Result<()>;
fn GetVideoProcessorDeviceCaps(
&self,
pcaps: *mut DXVAHD_VPDEVCAPS,
) -> Result<()>;
fn GetVideoProcessorOutputFormats(
&self,
count: u32,
pformats: *mut D3DFORMAT,
) -> Result<()>;
fn GetVideoProcessorInputFormats(
&self,
count: u32,
pformats: *mut D3DFORMAT,
) -> Result<()>;
fn GetVideoProcessorCaps(
&self,
count: u32,
pcaps: *mut DXVAHD_VPCAPS,
) -> Result<()>;
fn GetVideoProcessorCustomRates(
&self,
pvpguid: *const GUID,
count: u32,
prates: *mut DXVAHD_CUSTOM_RATE_DATA,
) -> Result<()>;
fn GetVideoProcessorFilterRange(
&self,
filter: DXVAHD_FILTER,
) -> Result<DXVAHD_FILTER_RANGE_DATA>;
fn CreateVideoProcessor(
&self,
pvpguid: *const GUID,
) -> Result<IDXVAHD_VideoProcessor>;
}
Required Methods§
fn CreateVideoSurface( &self, width: u32, height: u32, format: D3DFORMAT, pool: D3DPOOL, usage: u32, type: DXVAHD_SURFACE_TYPE, numsurfaces: u32, ppsurfaces: *mut Option<IDirect3DSurface9>, psharedhandle: *mut HANDLE, ) -> Result<()>
fn GetVideoProcessorDeviceCaps( &self, pcaps: *mut DXVAHD_VPDEVCAPS, ) -> Result<()>
fn GetVideoProcessorOutputFormats( &self, count: u32, pformats: *mut D3DFORMAT, ) -> Result<()>
fn GetVideoProcessorInputFormats( &self, count: u32, pformats: *mut D3DFORMAT, ) -> Result<()>
fn GetVideoProcessorCaps( &self, count: u32, pcaps: *mut DXVAHD_VPCAPS, ) -> Result<()>
fn GetVideoProcessorCustomRates( &self, pvpguid: *const GUID, count: u32, prates: *mut DXVAHD_CUSTOM_RATE_DATA, ) -> Result<()>
fn GetVideoProcessorFilterRange( &self, filter: DXVAHD_FILTER, ) -> Result<DXVAHD_FILTER_RANGE_DATA>
fn CreateVideoProcessor( &self, pvpguid: *const GUID, ) -> Result<IDXVAHD_VideoProcessor>
Object Safety§
This trait is not object safe.