pub trait IMFVideoProcessor_Impl: Sized {
    // Required methods
    fn GetAvailableVideoProcessorModes(
        &self,
        lpdwnumprocessingmodes: *mut u32,
        ppvideoprocessingmodes: *mut *mut GUID
    ) -> Result<()>;
    fn GetVideoProcessorCaps(
        &self,
        lpvideoprocessormode: *const GUID,
        lpvideoprocessorcaps: *mut DXVA2_VideoProcessorCaps
    ) -> Result<()>;
    fn GetVideoProcessorMode(&self) -> Result<GUID>;
    fn SetVideoProcessorMode(&self, lpmode: *const GUID) -> Result<()>;
    fn GetProcAmpRange(&self, dwproperty: u32) -> Result<DXVA2_ValueRange>;
    fn GetProcAmpValues(&self, dwflags: u32) -> Result<DXVA2_ProcAmpValues>;
    fn SetProcAmpValues(
        &self,
        dwflags: u32,
        pvalues: *const DXVA2_ProcAmpValues
    ) -> Result<()>;
    fn GetFilteringRange(&self, dwproperty: u32) -> Result<DXVA2_ValueRange>;
    fn GetFilteringValue(&self, dwproperty: u32) -> Result<DXVA2_Fixed32>;
    fn SetFilteringValue(
        &self,
        dwproperty: u32,
        pvalue: *const DXVA2_Fixed32
    ) -> Result<()>;
    fn GetBackgroundColor(&self) -> Result<COLORREF>;
    fn SetBackgroundColor(&self, clrbkg: COLORREF) -> Result<()>;
}

Required Methods§

fn GetAvailableVideoProcessorModes( &self, lpdwnumprocessingmodes: *mut u32, ppvideoprocessingmodes: *mut *mut GUID ) -> Result<()>

fn GetVideoProcessorCaps( &self, lpvideoprocessormode: *const GUID, lpvideoprocessorcaps: *mut DXVA2_VideoProcessorCaps ) -> Result<()>

fn GetVideoProcessorMode(&self) -> Result<GUID>

fn SetVideoProcessorMode(&self, lpmode: *const GUID) -> Result<()>

fn GetProcAmpRange(&self, dwproperty: u32) -> Result<DXVA2_ValueRange>

fn GetProcAmpValues(&self, dwflags: u32) -> Result<DXVA2_ProcAmpValues>

fn SetProcAmpValues( &self, dwflags: u32, pvalues: *const DXVA2_ProcAmpValues ) -> Result<()>

fn GetFilteringRange(&self, dwproperty: u32) -> Result<DXVA2_ValueRange>

fn GetFilteringValue(&self, dwproperty: u32) -> Result<DXVA2_Fixed32>

fn SetFilteringValue( &self, dwproperty: u32, pvalue: *const DXVA2_Fixed32 ) -> Result<()>

fn GetBackgroundColor(&self) -> Result<COLORREF>

fn SetBackgroundColor(&self, clrbkg: COLORREF) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§