Struct windows::Win32::Media::MediaFoundation::IMFVideoProcessor
pub struct IMFVideoProcessor(/* private fields */);
Implementations§
§impl IMFVideoProcessor
impl IMFVideoProcessor
pub unsafe fn GetAvailableVideoProcessorModes( &self, lpdwnumprocessingmodes: *mut u32, ppvideoprocessingmodes: *mut *mut GUID ) -> Result<()>
pub unsafe fn GetVideoProcessorCaps( &self, lpvideoprocessormode: *const GUID, lpvideoprocessorcaps: *mut DXVA2_VideoProcessorCaps ) -> Result<()>
pub unsafe fn GetVideoProcessorMode(&self) -> Result<GUID>
pub unsafe fn SetVideoProcessorMode(&self, lpmode: *const GUID) -> Result<()>
pub unsafe fn GetProcAmpRange( &self, dwproperty: u32 ) -> Result<DXVA2_ValueRange>
pub unsafe fn GetProcAmpValues( &self, dwflags: u32 ) -> Result<DXVA2_ProcAmpValues>
pub unsafe fn SetProcAmpValues( &self, dwflags: u32, pvalues: *const DXVA2_ProcAmpValues ) -> Result<()>
pub unsafe fn GetFilteringRange( &self, dwproperty: u32 ) -> Result<DXVA2_ValueRange>
pub unsafe fn GetFilteringValue(&self, dwproperty: u32) -> Result<DXVA2_Fixed32>
pub unsafe fn SetFilteringValue( &self, dwproperty: u32, pvalue: *const DXVA2_Fixed32 ) -> Result<()>
pub unsafe fn GetBackgroundColor(&self) -> Result<COLORREF>
pub unsafe fn SetBackgroundColor<P0>(&self, clrbkg: P0) -> Result<()>where
P0: IntoParam<COLORREF>,
Trait Implementations§
§impl Clone for IMFVideoProcessor
impl Clone for IMFVideoProcessor
§fn clone(&self) -> IMFVideoProcessor
fn clone(&self) -> IMFVideoProcessor
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 IMFVideoProcessor
impl Debug for IMFVideoProcessor
§impl From<&IMFVideoProcessor> for &IUnknown
impl From<&IMFVideoProcessor> for &IUnknown
§fn from(value: &IMFVideoProcessor) -> Self
fn from(value: &IMFVideoProcessor) -> Self
Converts to this type from the input type.
§impl From<IMFVideoProcessor> for IUnknown
impl From<IMFVideoProcessor> for IUnknown
§fn from(value: IMFVideoProcessor) -> Self
fn from(value: IMFVideoProcessor) -> Self
Converts to this type from the input type.
§impl Interface for IMFVideoProcessor
impl Interface for IMFVideoProcessor
§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 IMFVideoProcessor
impl PartialEq for IMFVideoProcessor
§fn eq(&self, other: &IMFVideoProcessor) -> bool
fn eq(&self, other: &IMFVideoProcessor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IMFVideoProcessor
impl StructuralPartialEq for IMFVideoProcessor
Auto Trait Implementations§
impl RefUnwindSafe for IMFVideoProcessor
impl !Send for IMFVideoProcessor
impl !Sync for IMFVideoProcessor
impl Unpin for IMFVideoProcessor
impl UnwindSafe for IMFVideoProcessor
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