pub trait ID3D11VideoDevice1_Impl: Sized + ID3D11VideoDevice_Impl {
    // Required methods
    fn GetCryptoSessionPrivateDataSize(
        &self,
        pcryptotype: *const GUID,
        pdecoderprofile: *const GUID,
        pkeyexchangetype: *const GUID,
        pprivateinputsize: *mut u32,
        pprivateoutputsize: *mut u32,
    ) -> Result<()>;
    fn GetVideoDecoderCaps(
        &self,
        pdecoderprofile: *const GUID,
        samplewidth: u32,
        sampleheight: u32,
        pframerate: *const DXGI_RATIONAL,
        bitrate: u32,
        pcryptotype: *const GUID,
    ) -> Result<u32>;
    fn CheckVideoDecoderDownsampling(
        &self,
        pinputdesc: *const D3D11_VIDEO_DECODER_DESC,
        inputcolorspace: DXGI_COLOR_SPACE_TYPE,
        pinputconfig: *const D3D11_VIDEO_DECODER_CONFIG,
        pframerate: *const DXGI_RATIONAL,
        poutputdesc: *const D3D11_VIDEO_SAMPLE_DESC,
        psupported: *mut BOOL,
        prealtimehint: *mut BOOL,
    ) -> Result<()>;
    fn RecommendVideoDecoderDownsampleParameters(
        &self,
        pinputdesc: *const D3D11_VIDEO_DECODER_DESC,
        inputcolorspace: DXGI_COLOR_SPACE_TYPE,
        pinputconfig: *const D3D11_VIDEO_DECODER_CONFIG,
        pframerate: *const DXGI_RATIONAL,
    ) -> Result<D3D11_VIDEO_SAMPLE_DESC>;
}

Required Methods§

fn GetCryptoSessionPrivateDataSize( &self, pcryptotype: *const GUID, pdecoderprofile: *const GUID, pkeyexchangetype: *const GUID, pprivateinputsize: *mut u32, pprivateoutputsize: *mut u32, ) -> Result<()>

fn GetVideoDecoderCaps( &self, pdecoderprofile: *const GUID, samplewidth: u32, sampleheight: u32, pframerate: *const DXGI_RATIONAL, bitrate: u32, pcryptotype: *const GUID, ) -> Result<u32>

fn CheckVideoDecoderDownsampling( &self, pinputdesc: *const D3D11_VIDEO_DECODER_DESC, inputcolorspace: DXGI_COLOR_SPACE_TYPE, pinputconfig: *const D3D11_VIDEO_DECODER_CONFIG, pframerate: *const DXGI_RATIONAL, poutputdesc: *const D3D11_VIDEO_SAMPLE_DESC, psupported: *mut BOOL, prealtimehint: *mut BOOL, ) -> Result<()>

fn RecommendVideoDecoderDownsampleParameters( &self, pinputdesc: *const D3D11_VIDEO_DECODER_DESC, inputcolorspace: DXGI_COLOR_SPACE_TYPE, pinputconfig: *const D3D11_VIDEO_DECODER_CONFIG, pframerate: *const DXGI_RATIONAL, ) -> Result<D3D11_VIDEO_SAMPLE_DESC>

Object Safety§

This trait is not object safe.

Implementors§