Struct windows::Win32::Media::MediaFoundation::IDirectXVideoDecoderService
pub struct IDirectXVideoDecoderService(/* private fields */);
Implementations§
§impl IDirectXVideoDecoderService
impl IDirectXVideoDecoderService
pub unsafe fn CreateSurface( &self, width: u32, height: u32, backbuffers: u32, format: D3DFORMAT, pool: D3DPOOL, usage: u32, dxvatype: DXVA2_VideoRenderTargetType, ppsurface: *mut Option<IDirect3DSurface9>, psharedhandle: Option<*mut HANDLE> ) -> Result<()>
pub unsafe fn GetDecoderDeviceGuids( &self, pcount: *mut u32, pguids: *mut *mut GUID ) -> Result<()>
pub unsafe fn GetDecoderRenderTargets( &self, guid: *const GUID, pcount: *mut u32, pformats: *mut *mut D3DFORMAT ) -> Result<()>
pub unsafe fn GetDecoderConfigurations( &self, guid: *const GUID, pvideodesc: *const DXVA2_VideoDesc, preserved: Option<*const c_void>, pcount: *mut u32, ppconfigs: *mut *mut DXVA2_ConfigPictureDecode ) -> Result<()>
pub unsafe fn CreateVideoDecoder( &self, guid: *const GUID, pvideodesc: *const DXVA2_VideoDesc, pconfig: *const DXVA2_ConfigPictureDecode, ppdecoderrendertargets: &[Option<IDirect3DSurface9>] ) -> Result<IDirectXVideoDecoder>
Trait Implementations§
§impl Clone for IDirectXVideoDecoderService
impl Clone for IDirectXVideoDecoderService
§fn clone(&self) -> IDirectXVideoDecoderService
fn clone(&self) -> IDirectXVideoDecoderService
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 IDirectXVideoDecoderService
impl Debug for IDirectXVideoDecoderService
§impl From<&IDirectXVideoDecoderService> for &IDirectXVideoAccelerationService
impl From<&IDirectXVideoDecoderService> for &IDirectXVideoAccelerationService
§fn from(value: &IDirectXVideoDecoderService) -> Self
fn from(value: &IDirectXVideoDecoderService) -> Self
Converts to this type from the input type.
§impl From<&IDirectXVideoDecoderService> for &IUnknown
impl From<&IDirectXVideoDecoderService> for &IUnknown
§fn from(value: &IDirectXVideoDecoderService) -> Self
fn from(value: &IDirectXVideoDecoderService) -> Self
Converts to this type from the input type.
§impl From<IDirectXVideoDecoderService> for IDirectXVideoAccelerationService
impl From<IDirectXVideoDecoderService> for IDirectXVideoAccelerationService
§fn from(value: IDirectXVideoDecoderService) -> Self
fn from(value: IDirectXVideoDecoderService) -> Self
Converts to this type from the input type.
§impl From<IDirectXVideoDecoderService> for IUnknown
impl From<IDirectXVideoDecoderService> for IUnknown
§fn from(value: IDirectXVideoDecoderService) -> Self
fn from(value: IDirectXVideoDecoderService) -> Self
Converts to this type from the input type.
§impl Interface for IDirectXVideoDecoderService
impl Interface for IDirectXVideoDecoderService
§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 IDirectXVideoDecoderService
impl PartialEq for IDirectXVideoDecoderService
§fn eq(&self, other: &IDirectXVideoDecoderService) -> bool
fn eq(&self, other: &IDirectXVideoDecoderService) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IDirectXVideoDecoderService
impl StructuralPartialEq for IDirectXVideoDecoderService
Auto Trait Implementations§
impl RefUnwindSafe for IDirectXVideoDecoderService
impl !Send for IDirectXVideoDecoderService
impl !Sync for IDirectXVideoDecoderService
impl Unpin for IDirectXVideoDecoderService
impl UnwindSafe for IDirectXVideoDecoderService
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