#[non_exhaustive]pub struct IvfHeader {
pub fourcc: [u8; 4],
pub width: u16,
pub height: u16,
pub timebase: (u32, u32),
pub frame_count: u32,
}Expand description
The IVF file header.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.fourcc: [u8; 4]The codec’s FourCC, VP80 for VP8.
width: u16Width from the header (the frames carry their own size).
height: u16Height from the header.
timebase: (u32, u32)Time base numerator and denominator.
frame_count: u32The frame count the header claims.
Trait Implementations§
impl Copy for IvfHeader
impl Eq for IvfHeader
impl StructuralPartialEq for IvfHeader
Auto Trait Implementations§
impl Forget for IvfHeader
impl Freeze for IvfHeader
impl Move for IvfHeader
impl RefUnwindSafe for IvfHeader
impl Send for IvfHeader
impl Sync for IvfHeader
impl Unpin for IvfHeader
impl UnsafeUnpin for IvfHeader
impl UnwindSafe for IvfHeader
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