Struct windows::Win32::Media::MediaFoundation::IDXVAHD_Device
pub struct IDXVAHD_Device(/* private fields */);
Implementations§
§impl IDXVAHD_Device
impl IDXVAHD_Device
pub unsafe fn CreateVideoSurface( &self, width: u32, height: u32, format: D3DFORMAT, pool: D3DPOOL, usage: u32, type: DXVAHD_SURFACE_TYPE, ppsurfaces: &mut [Option<IDirect3DSurface9>], psharedhandle: Option<*mut HANDLE> ) -> Result<()>
pub unsafe fn GetVideoProcessorDeviceCaps( &self, pcaps: *mut DXVAHD_VPDEVCAPS ) -> Result<()>
pub unsafe fn GetVideoProcessorOutputFormats( &self, pformats: &mut [D3DFORMAT] ) -> Result<()>
pub unsafe fn GetVideoProcessorInputFormats( &self, pformats: &mut [D3DFORMAT] ) -> Result<()>
pub unsafe fn GetVideoProcessorCaps( &self, pcaps: &mut [DXVAHD_VPCAPS] ) -> Result<()>
pub unsafe fn GetVideoProcessorCustomRates( &self, pvpguid: *const GUID, prates: &mut [DXVAHD_CUSTOM_RATE_DATA] ) -> Result<()>
pub unsafe fn GetVideoProcessorFilterRange( &self, filter: DXVAHD_FILTER ) -> Result<DXVAHD_FILTER_RANGE_DATA>
pub unsafe fn CreateVideoProcessor( &self, pvpguid: *const GUID ) -> Result<IDXVAHD_VideoProcessor>
Trait Implementations§
§impl Clone for IDXVAHD_Device
impl Clone for IDXVAHD_Device
§fn clone(&self) -> IDXVAHD_Device
fn clone(&self) -> IDXVAHD_Device
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 IDXVAHD_Device
impl Debug for IDXVAHD_Device
§impl From<&IDXVAHD_Device> for &IUnknown
impl From<&IDXVAHD_Device> for &IUnknown
§fn from(value: &IDXVAHD_Device) -> Self
fn from(value: &IDXVAHD_Device) -> Self
Converts to this type from the input type.
§impl From<IDXVAHD_Device> for IUnknown
impl From<IDXVAHD_Device> for IUnknown
§fn from(value: IDXVAHD_Device) -> Self
fn from(value: IDXVAHD_Device) -> Self
Converts to this type from the input type.
§impl Interface for IDXVAHD_Device
impl Interface for IDXVAHD_Device
§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 IDXVAHD_Device
impl PartialEq for IDXVAHD_Device
§fn eq(&self, other: &IDXVAHD_Device) -> bool
fn eq(&self, other: &IDXVAHD_Device) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IDXVAHD_Device
impl StructuralPartialEq for IDXVAHD_Device
Auto Trait Implementations§
impl RefUnwindSafe for IDXVAHD_Device
impl !Send for IDXVAHD_Device
impl !Sync for IDXVAHD_Device
impl Unpin for IDXVAHD_Device
impl UnwindSafe for IDXVAHD_Device
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