Struct mltg_bindings::Windows::Win32::Graphics::Direct3D11::ID3D11VideoDevice1 [−][src]
#[repr(transparent)]pub struct ID3D11VideoDevice1(_);
Implementations
pub unsafe fn CreateVideoDecoder(
&self,
pvideodesc: *const D3D11_VIDEO_DECODER_DESC,
pconfig: *const D3D11_VIDEO_DECODER_CONFIG,
ppdecoder: *mut Option<ID3D11VideoDecoder>
) -> HRESULT
[src]pub unsafe fn CreateVideoProcessor<'a>(
&self,
penum: impl IntoParam<'a, ID3D11VideoProcessorEnumerator>,
rateconversionindex: u32,
ppvideoprocessor: *mut Option<ID3D11VideoProcessor>
) -> HRESULT
[src]pub unsafe fn CreateAuthenticatedChannel(
&self,
channeltype: D3D11_AUTHENTICATED_CHANNEL_TYPE,
ppauthenticatedchannel: *mut Option<ID3D11AuthenticatedChannel>
) -> HRESULT
[src]pub unsafe fn CreateCryptoSession(
&self,
pcryptotype: *const Guid,
pdecoderprofile: *const Guid,
pkeyexchangetype: *const Guid,
ppcryptosession: *mut Option<ID3D11CryptoSession>
) -> HRESULT
[src]pub unsafe fn CreateVideoDecoderOutputView<'a>(
&self,
presource: impl IntoParam<'a, ID3D11Resource>,
pdesc: *const D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC,
ppvdovview: *mut Option<ID3D11VideoDecoderOutputView>
) -> HRESULT
[src]pub unsafe fn CreateVideoProcessorInputView<'a>(
&self,
presource: impl IntoParam<'a, ID3D11Resource>,
penum: impl IntoParam<'a, ID3D11VideoProcessorEnumerator>,
pdesc: *const D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC,
ppvpiview: *mut Option<ID3D11VideoProcessorInputView>
) -> HRESULT
[src]pub unsafe fn CreateVideoProcessorOutputView<'a>(
&self,
presource: impl IntoParam<'a, ID3D11Resource>,
penum: impl IntoParam<'a, ID3D11VideoProcessorEnumerator>,
pdesc: *const D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC,
ppvpoview: *mut Option<ID3D11VideoProcessorOutputView>
) -> HRESULT
[src]pub unsafe fn CreateVideoProcessorEnumerator(
&self,
pdesc: *const D3D11_VIDEO_PROCESSOR_CONTENT_DESC,
ppenum: *mut Option<ID3D11VideoProcessorEnumerator>
) -> HRESULT
[src]pub unsafe fn GetVideoDecoderProfile(
&self,
index: u32,
pdecoderprofile: *mut Guid
) -> HRESULT
[src]pub unsafe fn CheckVideoDecoderFormat(
&self,
pdecoderprofile: *const Guid,
format: DXGI_FORMAT,
psupported: *mut BOOL
) -> HRESULT
[src]pub unsafe fn GetVideoDecoderConfigCount(
&self,
pdesc: *const D3D11_VIDEO_DECODER_DESC,
pcount: *mut u32
) -> HRESULT
[src]pub unsafe fn GetVideoDecoderConfig(
&self,
pdesc: *const D3D11_VIDEO_DECODER_DESC,
index: u32,
pconfig: *mut D3D11_VIDEO_DECODER_CONFIG
) -> HRESULT
[src]pub unsafe fn GetContentProtectionCaps(
&self,
pcryptotype: *const Guid,
pdecoderprofile: *const Guid,
pcaps: *mut D3D11_VIDEO_CONTENT_PROTECTION_CAPS
) -> HRESULT
[src]pub unsafe fn CheckCryptoKeyExchange(
&self,
pcryptotype: *const Guid,
pdecoderprofile: *const Guid,
index: u32,
pkeyexchangetype: *mut Guid
) -> HRESULT
[src]pub unsafe fn SetPrivateData(
&self,
guid: *const Guid,
datasize: u32,
pdata: *const c_void
) -> HRESULT
[src]pub unsafe fn SetPrivateDataInterface<'a>(
&self,
guid: *const Guid,
pdata: impl IntoParam<'a, IUnknown>
) -> HRESULT
[src]pub unsafe fn GetCryptoSessionPrivateDataSize(
&self,
pcryptotype: *const Guid,
pdecoderprofile: *const Guid,
pkeyexchangetype: *const Guid,
pprivateinputsize: *mut u32,
pprivateoutputsize: *mut u32
) -> HRESULT
[src]pub unsafe fn GetVideoDecoderCaps(
&self,
pdecoderprofile: *const Guid,
samplewidth: u32,
sampleheight: u32,
pframerate: *const DXGI_RATIONAL,
bitrate: u32,
pcryptotype: *const Guid,
pdecodercaps: *mut u32
) -> HRESULT
[src]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
) -> HRESULT
[src]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,
precommendedoutputdesc: *mut D3D11_VIDEO_SAMPLE_DESC
) -> HRESULT
[src]Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
type Vtable = ID3D11VideoDevice1_abi
Returns the vtable for an assumed interface. The name comes from Box
’s assume_init
method 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 ID3D11VideoDevice1
impl !Send for ID3D11VideoDevice1
impl !Sync for ID3D11VideoDevice1
impl Unpin for ID3D11VideoDevice1
impl UnwindSafe for ID3D11VideoDevice1
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