Struct vp9_parser::ivf::Ivf
source · [−]pub struct Ivf<R> { /* private fields */ }
Expand description
IVF is a simple container format for raw VP9 data.
Implementations
sourceimpl<R: Read> Ivf<R>
impl<R: Read> Ivf<R>
sourcepub fn frame_rate_rate(&self) -> u32
pub fn frame_rate_rate(&self) -> u32
The framerate of the video (frame_rate_rate * frame_rate_scale).
Example: 24 fps with a scale of 1000 -> 24000
sourcepub fn frame_rate_scale(&self) -> u32
pub fn frame_rate_scale(&self) -> u32
Divider of the seconds.
sourcepub fn frame_count(&self) -> u32
pub fn frame_count(&self) -> u32
Number of frames stored inside the IVF. A frame can contain a frame or a super frame.
Trait Implementations
Auto Trait Implementations
impl<R> RefUnwindSafe for Ivf<R> where
R: RefUnwindSafe,
impl<R> Send for Ivf<R> where
R: Send,
impl<R> Sync for Ivf<R> where
R: Sync,
impl<R> Unpin for Ivf<R> where
R: Unpin,
impl<R> UnwindSafe for Ivf<R> where
R: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more