pub struct IDirectXVideoProcessorService(/* private fields */);
Implementations§
§impl IDirectXVideoProcessorService
impl IDirectXVideoProcessorService
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 RegisterVideoProcessorSoftwareDevice( &self, pcallbacks: *const c_void ) -> Result<()>
pub unsafe fn GetVideoProcessorDeviceGuids( &self, pvideodesc: *const DXVA2_VideoDesc, pcount: *mut u32, pguids: *mut *mut GUID ) -> Result<()>
pub unsafe fn GetVideoProcessorRenderTargets( &self, videoprocdeviceguid: *const GUID, pvideodesc: *const DXVA2_VideoDesc, pcount: *mut u32, pformats: *mut *mut D3DFORMAT ) -> Result<()>
pub unsafe fn GetVideoProcessorSubStreamFormats( &self, videoprocdeviceguid: *const GUID, pvideodesc: *const DXVA2_VideoDesc, rendertargetformat: D3DFORMAT, pcount: *mut u32, pformats: *mut *mut D3DFORMAT ) -> Result<()>
pub unsafe fn GetVideoProcessorCaps( &self, videoprocdeviceguid: *const GUID, pvideodesc: *const DXVA2_VideoDesc, rendertargetformat: D3DFORMAT, pcaps: *mut DXVA2_VideoProcessorCaps ) -> Result<()>
pub unsafe fn GetProcAmpRange( &self, videoprocdeviceguid: *const GUID, pvideodesc: *const DXVA2_VideoDesc, rendertargetformat: D3DFORMAT, procampcap: u32 ) -> Result<DXVA2_ValueRange>
pub unsafe fn GetFilterPropertyRange( &self, videoprocdeviceguid: *const GUID, pvideodesc: *const DXVA2_VideoDesc, rendertargetformat: D3DFORMAT, filtersetting: u32 ) -> Result<DXVA2_ValueRange>
pub unsafe fn CreateVideoProcessor( &self, videoprocdeviceguid: *const GUID, pvideodesc: *const DXVA2_VideoDesc, rendertargetformat: D3DFORMAT, maxnumsubstreams: u32 ) -> Result<IDirectXVideoProcessor>
Trait Implementations§
§impl Clone for IDirectXVideoProcessorService
impl Clone for IDirectXVideoProcessorService
§fn clone(&self) -> IDirectXVideoProcessorService
fn clone(&self) -> IDirectXVideoProcessorService
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 IDirectXVideoProcessorService
impl Debug for IDirectXVideoProcessorService
§impl From<&IDirectXVideoProcessorService> for &IDirectXVideoAccelerationService
impl From<&IDirectXVideoProcessorService> for &IDirectXVideoAccelerationService
§fn from(value: &IDirectXVideoProcessorService) -> Self
fn from(value: &IDirectXVideoProcessorService) -> Self
Converts to this type from the input type.
§impl From<&IDirectXVideoProcessorService> for &IUnknown
impl From<&IDirectXVideoProcessorService> for &IUnknown
§fn from(value: &IDirectXVideoProcessorService) -> Self
fn from(value: &IDirectXVideoProcessorService) -> Self
Converts to this type from the input type.
§impl From<IDirectXVideoProcessorService> for IDirectXVideoAccelerationService
impl From<IDirectXVideoProcessorService> for IDirectXVideoAccelerationService
§fn from(value: IDirectXVideoProcessorService) -> Self
fn from(value: IDirectXVideoProcessorService) -> Self
Converts to this type from the input type.
§impl From<IDirectXVideoProcessorService> for IUnknown
impl From<IDirectXVideoProcessorService> for IUnknown
§fn from(value: IDirectXVideoProcessorService) -> Self
fn from(value: IDirectXVideoProcessorService) -> Self
Converts to this type from the input type.
§impl Interface for IDirectXVideoProcessorService
impl Interface for IDirectXVideoProcessorService
§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 IDirectXVideoProcessorService
impl PartialEq for IDirectXVideoProcessorService
§fn eq(&self, other: &IDirectXVideoProcessorService) -> bool
fn eq(&self, other: &IDirectXVideoProcessorService) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IDirectXVideoProcessorService
impl StructuralPartialEq for IDirectXVideoProcessorService
Auto Trait Implementations§
impl RefUnwindSafe for IDirectXVideoProcessorService
impl !Send for IDirectXVideoProcessorService
impl !Sync for IDirectXVideoProcessorService
impl Unpin for IDirectXVideoProcessorService
impl UnwindSafe for IDirectXVideoProcessorService
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