pub struct Ivf<R> { /* private fields */ }
Expand description
IVF is a simple container format for raw VP9 data.
Implementations§
Source§impl<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> Freeze for Ivf<R>where
R: Freeze,
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§
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