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.
type Vtable = ID3D11VideoDevice2_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 ID3D11VideoDevice2
impl !Send for ID3D11VideoDevice2
impl !Sync for ID3D11VideoDevice2
impl Unpin for ID3D11VideoDevice2
impl UnwindSafe for ID3D11VideoDevice2
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