pub struct Metadata { /* private fields */ }
Expand description
VP9 Codec Feature Metadata saved inside the CodecPrivate
field of containers.
Implementations§
Source§impl Metadata
impl Metadata
Sourcepub fn new(data: &[u8]) -> Result<Self, Vp9ParserError>
pub fn new(data: &[u8]) -> Result<Self, Vp9ParserError>
Creates the Vp9Metadata from the given CodecPrivate
data.
Sourcepub fn color_depth(&self) -> ColorDepth
pub fn color_depth(&self) -> ColorDepth
The color depth of the video.
Sourcepub fn chroma_subsampling(&self) -> MetadataSubsampling
pub fn chroma_subsampling(&self) -> MetadataSubsampling
The chroma subsampling of the video.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Metadata
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnwindSafe for Metadata
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