Struct mltg_bindings::Windows::Win32::Graphics::Direct3D11::ID3D11VideoDevice2 [−][src]
#[repr(transparent)]pub struct ID3D11VideoDevice2(_);
Implementations
pub unsafe fn CreateVideoDecoder(
&self,
pvideodesc: *const D3D11_VIDEO_DECODER_DESC,
pconfig: *const D3D11_VIDEO_DECODER_CONFIG
) -> Result<ID3D11VideoDecoder>
pub unsafe fn CreateVideoProcessor<'a>(
&self,
penum: impl IntoParam<'a, ID3D11VideoProcessorEnumerator>,
rateconversionindex: u32
) -> Result<ID3D11VideoProcessor>
pub unsafe fn CreateAuthenticatedChannel(
&self,
channeltype: D3D11_AUTHENTICATED_CHANNEL_TYPE
) -> Result<ID3D11AuthenticatedChannel>
pub unsafe fn CreateCryptoSession(
&self,
pcryptotype: *const Guid,
pdecoderprofile: *const Guid,
pkeyexchangetype: *const Guid
) -> Result<ID3D11CryptoSession>
pub unsafe fn CreateVideoDecoderOutputView<'a>(
&self,
presource: impl IntoParam<'a, ID3D11Resource>,
pdesc: *const D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC
) -> Result<ID3D11VideoDecoderOutputView>
pub unsafe fn CreateVideoProcessorInputView<'a>(
&self,
presource: impl IntoParam<'a, ID3D11Resource>,
penum: impl IntoParam<'a, ID3D11VideoProcessorEnumerator>,
pdesc: *const D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC
) -> Result<ID3D11VideoProcessorInputView>
pub unsafe fn CreateVideoProcessorOutputView<'a>(
&self,
presource: impl IntoParam<'a, ID3D11Resource>,
penum: impl IntoParam<'a, ID3D11VideoProcessorEnumerator>,
pdesc: *const D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC
) -> Result<ID3D11VideoProcessorOutputView>
pub unsafe fn CreateVideoProcessorEnumerator(
&self,
pdesc: *const D3D11_VIDEO_PROCESSOR_CONTENT_DESC
) -> Result<ID3D11VideoProcessorEnumerator>
pub unsafe fn CheckVideoDecoderFormat(
&self,
pdecoderprofile: *const Guid,
format: DXGI_FORMAT
) -> Result<BOOL>
pub unsafe fn GetVideoDecoderConfigCount(
&self,
pdesc: *const D3D11_VIDEO_DECODER_DESC
) -> Result<u32>
pub unsafe fn GetVideoDecoderConfig(
&self,
pdesc: *const D3D11_VIDEO_DECODER_DESC,
index: u32
) -> Result<D3D11_VIDEO_DECODER_CONFIG>
pub unsafe fn GetContentProtectionCaps(
&self,
pcryptotype: *const Guid,
pdecoderprofile: *const Guid
) -> Result<D3D11_VIDEO_CONTENT_PROTECTION_CAPS>
pub unsafe fn CheckCryptoKeyExchange(
&self,
pcryptotype: *const Guid,
pdecoderprofile: *const Guid,
index: u32
) -> Result<Guid>
pub unsafe fn SetPrivateData(
&self,
guid: *const Guid,
datasize: u32,
pdata: *const c_void
) -> Result<()>
pub unsafe fn SetPrivateDataInterface<'a>(
&self,
guid: *const Guid,
pdata: impl IntoParam<'a, IUnknown>
) -> Result<()>
pub unsafe fn GetCryptoSessionPrivateDataSize(
&self,
pcryptotype: *const Guid,
pdecoderprofile: *const Guid,
pkeyexchangetype: *const Guid,
pprivateinputsize: *mut u32,
pprivateoutputsize: *mut u32
) -> Result<()>
pub unsafe fn GetVideoDecoderCaps(
&self,
pdecoderprofile: *const Guid,
samplewidth: u32,
sampleheight: u32,
pframerate: *const DXGI_RATIONAL,
bitrate: u32,
pcryptotype: *const Guid
) -> Result<u32>
pub unsafe 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<()>
pub unsafe 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>
pub unsafe fn CheckFeatureSupport(
&self,
feature: D3D11_FEATURE_VIDEO,
pfeaturesupportdata: *mut c_void,
featuresupportdatasize: u32
) -> Result<()>
pub unsafe fn NegotiateCryptoSessionKeyExchangeMT<'a>(
&self,
pcryptosession: impl IntoParam<'a, ID3D11CryptoSession>,
flags: D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS,
datasize: u32,
pdata: *mut c_void
) -> Result<()>
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ID3D11VideoDevice2
impl !Send for ID3D11VideoDevice2
impl !Sync for ID3D11VideoDevice2
impl Unpin for ID3D11VideoDevice2
impl UnwindSafe for ID3D11VideoDevice2
Blanket Implementations
Mutably borrows from an owned value. Read more