Struct windows::Win32::Media::MediaFoundation::ID3D12VideoDevice
pub struct ID3D12VideoDevice(/* private fields */);
Implementations§
§impl ID3D12VideoDevice
impl ID3D12VideoDevice
pub unsafe fn CheckFeatureSupport( &self, featurevideo: D3D12_FEATURE_VIDEO, pfeaturesupportdata: *mut c_void, featuresupportdatasize: u32 ) -> Result<()>
pub unsafe fn CreateVideoDecoder<T>(
&self,
pdesc: *const D3D12_VIDEO_DECODER_DESC
) -> Result<T>where
T: Interface,
pub unsafe fn CreateVideoDecoderHeap<T>(
&self,
pvideodecoderheapdesc: *const D3D12_VIDEO_DECODER_HEAP_DESC
) -> Result<T>where
T: Interface,
pub unsafe fn CreateVideoProcessor<T>(
&self,
nodemask: u32,
poutputstreamdesc: *const D3D12_VIDEO_PROCESS_OUTPUT_STREAM_DESC,
pinputstreamdescs: &[D3D12_VIDEO_PROCESS_INPUT_STREAM_DESC]
) -> Result<T>where
T: Interface,
Trait Implementations§
§impl Clone for ID3D12VideoDevice
impl Clone for ID3D12VideoDevice
§fn clone(&self) -> ID3D12VideoDevice
fn clone(&self) -> ID3D12VideoDevice
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for ID3D12VideoDevice
impl Debug for ID3D12VideoDevice
§impl From<&ID3D12VideoDevice> for &IUnknown
impl From<&ID3D12VideoDevice> for &IUnknown
§fn from(value: &ID3D12VideoDevice) -> Self
fn from(value: &ID3D12VideoDevice) -> Self
Converts to this type from the input type.
§impl From<&ID3D12VideoDevice1> for &ID3D12VideoDevice
impl From<&ID3D12VideoDevice1> for &ID3D12VideoDevice
§fn from(value: &ID3D12VideoDevice1) -> Self
fn from(value: &ID3D12VideoDevice1) -> Self
Converts to this type from the input type.
§impl From<&ID3D12VideoDevice2> for &ID3D12VideoDevice
impl From<&ID3D12VideoDevice2> for &ID3D12VideoDevice
§fn from(value: &ID3D12VideoDevice2) -> Self
fn from(value: &ID3D12VideoDevice2) -> Self
Converts to this type from the input type.
§impl From<&ID3D12VideoDevice3> for &ID3D12VideoDevice
impl From<&ID3D12VideoDevice3> for &ID3D12VideoDevice
§fn from(value: &ID3D12VideoDevice3) -> Self
fn from(value: &ID3D12VideoDevice3) -> Self
Converts to this type from the input type.
§impl From<ID3D12VideoDevice> for IUnknown
impl From<ID3D12VideoDevice> for IUnknown
§fn from(value: ID3D12VideoDevice) -> Self
fn from(value: ID3D12VideoDevice) -> Self
Converts to this type from the input type.
§impl From<ID3D12VideoDevice1> for ID3D12VideoDevice
impl From<ID3D12VideoDevice1> for ID3D12VideoDevice
§fn from(value: ID3D12VideoDevice1) -> Self
fn from(value: ID3D12VideoDevice1) -> Self
Converts to this type from the input type.
§impl From<ID3D12VideoDevice2> for ID3D12VideoDevice
impl From<ID3D12VideoDevice2> for ID3D12VideoDevice
§fn from(value: ID3D12VideoDevice2) -> Self
fn from(value: ID3D12VideoDevice2) -> Self
Converts to this type from the input type.
§impl From<ID3D12VideoDevice3> for ID3D12VideoDevice
impl From<ID3D12VideoDevice3> for ID3D12VideoDevice
§fn from(value: ID3D12VideoDevice3) -> Self
fn from(value: ID3D12VideoDevice3) -> Self
Converts to this type from the input type.
§impl Interface for ID3D12VideoDevice
impl Interface for ID3D12VideoDevice
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for ID3D12VideoDevice
impl PartialEq for ID3D12VideoDevice
§fn eq(&self, other: &ID3D12VideoDevice) -> bool
fn eq(&self, other: &ID3D12VideoDevice) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ID3D12VideoDevice
impl Send for ID3D12VideoDevice
impl StructuralPartialEq for ID3D12VideoDevice
impl Sync for ID3D12VideoDevice
Auto Trait Implementations§
impl RefUnwindSafe for ID3D12VideoDevice
impl Unpin for ID3D12VideoDevice
impl UnwindSafe for ID3D12VideoDevice
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more