pub enum NativeFramePipelineProfile {
VideoToolboxCvPixelBuffer,
MetalTexture,
D3D11Texture2D,
MediaCodecHardwareBuffer,
MediaCodecSurfaceTexture,
Unknown(String),
}Expand description
Cross-component native-frame pipeline profiles used for decoder/processor/presenter matching.
Variants§
VideoToolboxCvPixelBuffer
MetalTexture
D3D11Texture2D
MediaCodecHardwareBuffer
MediaCodecSurfaceTexture
Unknown(String)
Implementations§
Source§impl NativeFramePipelineProfile
impl NativeFramePipelineProfile
Sourcepub fn from_handle_kind(handle_kind: &NativeHandleKind) -> Self
pub fn from_handle_kind(handle_kind: &NativeHandleKind) -> Self
Returns the best-known pipeline profile implied by a native handle kind.
Trait Implementations§
Source§impl Clone for NativeFramePipelineProfile
impl Clone for NativeFramePipelineProfile
Source§fn clone(&self) -> NativeFramePipelineProfile
fn clone(&self) -> NativeFramePipelineProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NativeFramePipelineProfile
impl Debug for NativeFramePipelineProfile
Source§impl<'de> Deserialize<'de> for NativeFramePipelineProfile
impl<'de> Deserialize<'de> for NativeFramePipelineProfile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NativeFramePipelineProfile
Source§impl Hash for NativeFramePipelineProfile
impl Hash for NativeFramePipelineProfile
impl StructuralPartialEq for NativeFramePipelineProfile
Auto Trait Implementations§
impl Freeze for NativeFramePipelineProfile
impl RefUnwindSafe for NativeFramePipelineProfile
impl Send for NativeFramePipelineProfile
impl Sync for NativeFramePipelineProfile
impl Unpin for NativeFramePipelineProfile
impl UnsafeUnpin for NativeFramePipelineProfile
impl UnwindSafe for NativeFramePipelineProfile
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