Struct mltg_bindings::Windows::Win32::Graphics::Direct3D11::ID3D11VideoDevice [−][src]
#[repr(transparent)]pub struct ID3D11VideoDevice(_);
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>
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
type Vtable = ID3D11VideoDevice_abi
Returns the vtable for an assumed interface. The name comes from Box::assume_init()
as
it assumes the vtable is implemented by the current interface’s vtable (e.g. a parent interface). Read more
Attempts to cast the current interface to another interface using QueryInterface
.
The name cast
is preferred to query
because there is a WinRT method named query but not one
named cast. Read more
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 ID3D11VideoDevice
impl !Send for ID3D11VideoDevice
impl !Sync for ID3D11VideoDevice
impl Unpin for ID3D11VideoDevice
impl UnwindSafe for ID3D11VideoDevice
Blanket Implementations
Returns a pointer for setting the object’s value via an ABI call.
Casts the ABI representation to a Rust object by taking ownership of the bits.
Mutably borrows from an owned value. Read more