Struct 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 CanInto<IUnknown> for IDXVAHD_Device
impl CanInto<IUnknown> for IDXVAHD_Device
§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.
§unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
§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§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for IDXVAHD_Device
impl PartialEq for IDXVAHD_Device
impl Eq for IDXVAHD_Device
impl StructuralPartialEq for IDXVAHD_Device
Auto Trait Implementations§
impl Freeze for IDXVAHD_Device
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