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
sourceimpl Clone for IVFFileHeader
impl Clone for IVFFileHeader
sourcefn clone(&self) -> IVFFileHeader
fn clone(&self) -> IVFFileHeader
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for IVFFileHeader
impl Debug for IVFFileHeader
sourceimpl Default for IVFFileHeader
impl Default for IVFFileHeader
sourcefn default() -> IVFFileHeader
fn default() -> IVFFileHeader
Returns the “default value” for a type. Read more
sourceimpl PartialEq<IVFFileHeader> for IVFFileHeader
impl PartialEq<IVFFileHeader> for IVFFileHeader
sourcefn 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 ==
. Read more
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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