Struct windows::Win32::Media::MediaFoundation::IMFDeviceTransform
pub struct IMFDeviceTransform(/* private fields */);
Implementations§
§impl IMFDeviceTransform
impl IMFDeviceTransform
pub unsafe fn InitializeTransform<P0>(&self, pattributes: P0) -> Result<()>where
P0: IntoParam<IMFAttributes>,
pub unsafe fn GetInputAvailableType( &self, dwinputstreamid: u32, dwtypeindex: u32 ) -> Result<IMFMediaType>
pub unsafe fn GetInputCurrentType( &self, dwinputstreamid: u32 ) -> Result<IMFMediaType>
pub unsafe fn GetInputStreamAttributes( &self, dwinputstreamid: u32 ) -> Result<IMFAttributes>
pub unsafe fn GetOutputAvailableType( &self, dwoutputstreamid: u32, dwtypeindex: u32 ) -> Result<IMFMediaType>
pub unsafe fn GetOutputCurrentType( &self, dwoutputstreamid: u32 ) -> Result<IMFMediaType>
pub unsafe fn GetOutputStreamAttributes( &self, dwoutputstreamid: u32 ) -> Result<IMFAttributes>
pub unsafe fn GetStreamCount( &self, pcinputstreams: *mut u32, pcoutputstreams: *mut u32 ) -> Result<()>
pub unsafe fn GetStreamIDs( &self, dwinputidarraysize: u32, pdwinputstreamids: *mut u32, dwoutputidarraysize: u32, pdwoutputstreamids: *mut u32 ) -> Result<()>
pub unsafe fn ProcessEvent<P0>(
&self,
dwinputstreamid: u32,
pevent: P0
) -> Result<()>where
P0: IntoParam<IMFMediaEvent>,
pub unsafe fn ProcessInput<P0>(
&self,
dwinputstreamid: u32,
psample: P0,
dwflags: u32
) -> Result<()>where
P0: IntoParam<IMFSample>,
pub unsafe fn ProcessMessage( &self, emessage: MFT_MESSAGE_TYPE, ulparam: usize ) -> Result<()>
pub unsafe fn ProcessOutput( &self, dwflags: u32, coutputbuffercount: u32, poutputsample: *mut MFT_OUTPUT_DATA_BUFFER, pdwstatus: *mut u32 ) -> Result<()>
pub unsafe fn SetInputStreamState<P0>(
&self,
dwstreamid: u32,
pmediatype: P0,
value: DeviceStreamState,
dwflags: u32
) -> Result<()>where
P0: IntoParam<IMFMediaType>,
pub unsafe fn GetInputStreamState( &self, dwstreamid: u32 ) -> Result<DeviceStreamState>
pub unsafe fn SetOutputStreamState<P0>(
&self,
dwstreamid: u32,
pmediatype: P0,
value: DeviceStreamState,
dwflags: u32
) -> Result<()>where
P0: IntoParam<IMFMediaType>,
pub unsafe fn GetOutputStreamState( &self, dwstreamid: u32 ) -> Result<DeviceStreamState>
pub unsafe fn GetInputStreamPreferredState( &self, dwstreamid: u32, value: *mut DeviceStreamState, ppmediatype: *mut Option<IMFMediaType> ) -> Result<()>
pub unsafe fn FlushInputStream( &self, dwstreamindex: u32, dwflags: u32 ) -> Result<()>
pub unsafe fn FlushOutputStream( &self, dwstreamindex: u32, dwflags: u32 ) -> Result<()>
Trait Implementations§
§impl Clone for IMFDeviceTransform
impl Clone for IMFDeviceTransform
§fn clone(&self) -> IMFDeviceTransform
fn clone(&self) -> IMFDeviceTransform
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 IMFDeviceTransform
impl Debug for IMFDeviceTransform
§impl From<&IMFDeviceTransform> for &IUnknown
impl From<&IMFDeviceTransform> for &IUnknown
§fn from(value: &IMFDeviceTransform) -> Self
fn from(value: &IMFDeviceTransform) -> Self
Converts to this type from the input type.
§impl From<IMFDeviceTransform> for IUnknown
impl From<IMFDeviceTransform> for IUnknown
§fn from(value: IMFDeviceTransform) -> Self
fn from(value: IMFDeviceTransform) -> Self
Converts to this type from the input type.
§impl Interface for IMFDeviceTransform
impl Interface for IMFDeviceTransform
§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 IMFDeviceTransform
impl PartialEq for IMFDeviceTransform
§fn eq(&self, other: &IMFDeviceTransform) -> bool
fn eq(&self, other: &IMFDeviceTransform) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IMFDeviceTransform
impl StructuralPartialEq for IMFDeviceTransform
Auto Trait Implementations§
impl RefUnwindSafe for IMFDeviceTransform
impl !Send for IMFDeviceTransform
impl !Sync for IMFDeviceTransform
impl Unpin for IMFDeviceTransform
impl UnwindSafe for IMFDeviceTransform
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