Trait windows::Win32::Graphics::Direct3D11::ID3D11VideoDevice_Impl
pub trait ID3D11VideoDevice_Impl: Sized {
Show 17 methods
// Required methods
fn CreateVideoDecoder(
&self,
pvideodesc: *const D3D11_VIDEO_DECODER_DESC,
pconfig: *const D3D11_VIDEO_DECODER_CONFIG,
) -> Result<ID3D11VideoDecoder>;
fn CreateVideoProcessor(
&self,
penum: Option<&ID3D11VideoProcessorEnumerator>,
rateconversionindex: u32,
) -> Result<ID3D11VideoProcessor>;
fn CreateAuthenticatedChannel(
&self,
channeltype: D3D11_AUTHENTICATED_CHANNEL_TYPE,
) -> Result<ID3D11AuthenticatedChannel>;
fn CreateCryptoSession(
&self,
pcryptotype: *const GUID,
pdecoderprofile: *const GUID,
pkeyexchangetype: *const GUID,
) -> Result<ID3D11CryptoSession>;
fn CreateVideoDecoderOutputView(
&self,
presource: Option<&ID3D11Resource>,
pdesc: *const D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC,
ppvdovview: *mut Option<ID3D11VideoDecoderOutputView>,
) -> Result<()>;
fn CreateVideoProcessorInputView(
&self,
presource: Option<&ID3D11Resource>,
penum: Option<&ID3D11VideoProcessorEnumerator>,
pdesc: *const D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC,
ppvpiview: *mut Option<ID3D11VideoProcessorInputView>,
) -> Result<()>;
fn CreateVideoProcessorOutputView(
&self,
presource: Option<&ID3D11Resource>,
penum: Option<&ID3D11VideoProcessorEnumerator>,
pdesc: *const D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC,
ppvpoview: *mut Option<ID3D11VideoProcessorOutputView>,
) -> Result<()>;
fn CreateVideoProcessorEnumerator(
&self,
pdesc: *const D3D11_VIDEO_PROCESSOR_CONTENT_DESC,
) -> Result<ID3D11VideoProcessorEnumerator>;
fn GetVideoDecoderProfileCount(&self) -> u32;
fn GetVideoDecoderProfile(&self, index: u32) -> Result<GUID>;
fn CheckVideoDecoderFormat(
&self,
pdecoderprofile: *const GUID,
format: DXGI_FORMAT,
) -> Result<BOOL>;
fn GetVideoDecoderConfigCount(
&self,
pdesc: *const D3D11_VIDEO_DECODER_DESC,
) -> Result<u32>;
fn GetVideoDecoderConfig(
&self,
pdesc: *const D3D11_VIDEO_DECODER_DESC,
index: u32,
pconfig: *mut D3D11_VIDEO_DECODER_CONFIG,
) -> Result<()>;
fn GetContentProtectionCaps(
&self,
pcryptotype: *const GUID,
pdecoderprofile: *const GUID,
pcaps: *mut D3D11_VIDEO_CONTENT_PROTECTION_CAPS,
) -> Result<()>;
fn CheckCryptoKeyExchange(
&self,
pcryptotype: *const GUID,
pdecoderprofile: *const GUID,
index: u32,
) -> Result<GUID>;
fn SetPrivateData(
&self,
guid: *const GUID,
datasize: u32,
pdata: *const c_void,
) -> Result<()>;
fn SetPrivateDataInterface(
&self,
guid: *const GUID,
pdata: Option<&IUnknown>,
) -> Result<()>;
}
Required Methods§
fn CreateVideoDecoder( &self, pvideodesc: *const D3D11_VIDEO_DECODER_DESC, pconfig: *const D3D11_VIDEO_DECODER_CONFIG, ) -> Result<ID3D11VideoDecoder>
fn CreateVideoProcessor( &self, penum: Option<&ID3D11VideoProcessorEnumerator>, rateconversionindex: u32, ) -> Result<ID3D11VideoProcessor>
fn CreateAuthenticatedChannel( &self, channeltype: D3D11_AUTHENTICATED_CHANNEL_TYPE, ) -> Result<ID3D11AuthenticatedChannel>
fn CreateCryptoSession( &self, pcryptotype: *const GUID, pdecoderprofile: *const GUID, pkeyexchangetype: *const GUID, ) -> Result<ID3D11CryptoSession>
fn CreateVideoDecoderOutputView( &self, presource: Option<&ID3D11Resource>, pdesc: *const D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC, ppvdovview: *mut Option<ID3D11VideoDecoderOutputView>, ) -> Result<()>
fn CreateVideoProcessorInputView( &self, presource: Option<&ID3D11Resource>, penum: Option<&ID3D11VideoProcessorEnumerator>, pdesc: *const D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC, ppvpiview: *mut Option<ID3D11VideoProcessorInputView>, ) -> Result<()>
fn CreateVideoProcessorOutputView( &self, presource: Option<&ID3D11Resource>, penum: Option<&ID3D11VideoProcessorEnumerator>, pdesc: *const D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC, ppvpoview: *mut Option<ID3D11VideoProcessorOutputView>, ) -> Result<()>
fn CreateVideoProcessorEnumerator( &self, pdesc: *const D3D11_VIDEO_PROCESSOR_CONTENT_DESC, ) -> Result<ID3D11VideoProcessorEnumerator>
fn GetVideoDecoderProfileCount(&self) -> u32
fn GetVideoDecoderProfile(&self, index: u32) -> Result<GUID>
fn CheckVideoDecoderFormat( &self, pdecoderprofile: *const GUID, format: DXGI_FORMAT, ) -> Result<BOOL>
fn GetVideoDecoderConfigCount( &self, pdesc: *const D3D11_VIDEO_DECODER_DESC, ) -> Result<u32>
fn GetVideoDecoderConfig( &self, pdesc: *const D3D11_VIDEO_DECODER_DESC, index: u32, pconfig: *mut D3D11_VIDEO_DECODER_CONFIG, ) -> Result<()>
fn GetContentProtectionCaps( &self, pcryptotype: *const GUID, pdecoderprofile: *const GUID, pcaps: *mut D3D11_VIDEO_CONTENT_PROTECTION_CAPS, ) -> Result<()>
fn CheckCryptoKeyExchange( &self, pcryptotype: *const GUID, pdecoderprofile: *const GUID, index: u32, ) -> Result<GUID>
fn SetPrivateData( &self, guid: *const GUID, datasize: u32, pdata: *const c_void, ) -> Result<()>
fn SetPrivateDataInterface( &self, guid: *const GUID, pdata: Option<&IUnknown>, ) -> Result<()>
Object Safety§
This trait is not object safe.