pub enum DecoderFrameFormat {
Rgba8888,
Bgra8888,
Yuv420p,
Nv12,
P010,
F32,
S16,
Unknown(String),
}Expand description
Decoded frame formats advertised by decoder plugins.
Variants§
Rgba8888
Bgra8888
Yuv420p
Nv12
P010
10-bit 4:2:0 bi-planar YUV, commonly exposed as P010.
F32
IEEE 754 binary32 PCM samples, encoded little-endian in DecoderPcmFrame::data.
S16
Signed 16-bit PCM samples, encoded little-endian in DecoderPcmFrame::data.
Unknown(String)
Trait Implementations§
Source§impl Clone for DecoderFrameFormat
impl Clone for DecoderFrameFormat
Source§fn clone(&self) -> DecoderFrameFormat
fn clone(&self) -> DecoderFrameFormat
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 DecoderFrameFormat
impl Debug for DecoderFrameFormat
Source§impl<'de> Deserialize<'de> for DecoderFrameFormat
impl<'de> Deserialize<'de> for DecoderFrameFormat
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 DecoderFrameFormat
Source§impl Hash for DecoderFrameFormat
impl Hash for DecoderFrameFormat
Source§impl PartialEq for DecoderFrameFormat
impl PartialEq for DecoderFrameFormat
Source§impl Serialize for DecoderFrameFormat
impl Serialize for DecoderFrameFormat
impl StructuralPartialEq for DecoderFrameFormat
Auto Trait Implementations§
impl Freeze for DecoderFrameFormat
impl RefUnwindSafe for DecoderFrameFormat
impl Send for DecoderFrameFormat
impl Sync for DecoderFrameFormat
impl Unpin for DecoderFrameFormat
impl UnsafeUnpin for DecoderFrameFormat
impl UnwindSafe for DecoderFrameFormat
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