Struct webrtc_media::io::ivf_reader::IVFFileHeader
source · pub struct IVFFileHeader {
pub signature: [u8; 4],
pub version: u16,
pub header_size: u16,
pub four_cc: [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
IVFFileHeader 32-byte header for IVF files https://wiki.multimedia.cx/index.php/IVF
Fields§
§signature: [u8; 4]
§version: u16
§header_size: u16
§four_cc: [u8; 4]
§width: u16
§height: u16
§timebase_denominator: u32
§timebase_numerator: u32
§num_frames: u32
§unused: u32
Trait Implementations§
source§impl Clone for IVFFileHeader
impl Clone for IVFFileHeader
source§fn clone(&self) -> IVFFileHeader
fn clone(&self) -> IVFFileHeader
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for IVFFileHeader
impl Debug for IVFFileHeader
source§impl Default for IVFFileHeader
impl Default for IVFFileHeader
source§fn default() -> IVFFileHeader
fn default() -> IVFFileHeader
Returns the “default value” for a type. Read more
source§impl PartialEq<IVFFileHeader> for IVFFileHeader
impl PartialEq<IVFFileHeader> for IVFFileHeader
source§fn eq(&self, other: &IVFFileHeader) -> bool
fn eq(&self, other: &IVFFileHeader) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for IVFFileHeader
impl Eq for IVFFileHeader
impl StructuralEq for IVFFileHeader
impl StructuralPartialEq for IVFFileHeader
Auto Trait Implementations§
impl RefUnwindSafe for IVFFileHeader
impl Send for IVFFileHeader
impl Sync for IVFFileHeader
impl Unpin for IVFFileHeader
impl UnwindSafe for IVFFileHeader
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