pub struct IvfHeader {
pub version: u16,
pub header_size: u16,
pub codec: [u8; 4],
pub width: u16,
pub height: u16,
pub timebase_denominator: u32,
pub timebase_numerator: u32,
pub num_frames: u32,
pub unused: u32,
}Expand description
IVF container parsing helpers for AV1 bitstreams.
IVF is a simple byte-oriented container:
- file header: 32 bytes, beginning with the
DKIFsignature - repeated frame records: 12-byte frame header + frame payload
Fields§
§version: u16§header_size: u16§codec: [u8; 4]§width: u16§height: u16§timebase_denominator: u32§timebase_numerator: u32§num_frames: u32§unused: u32Implementations§
Trait Implementations§
impl Eq for IvfHeader
impl StructuralPartialEq for IvfHeader
Auto Trait Implementations§
impl Freeze 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