pub struct AviMainHeader {
pub microseconds_per_frame: u32,
pub max_bytes_per_sec: u32,
pub padding_granularity: u32,
pub flags: AviFlags,
pub total_frames: u32,
pub initial_frames: u32,
pub streams: u32,
pub suggested_buffer_size: u32,
pub width: u32,
pub height: u32,
}Expand description
AVI main header (avih chunk) – 56 bytes.
Fields§
§microseconds_per_frame: u32Microseconds per frame (frame period).
max_bytes_per_sec: u32Maximum bytes per second (approximate data rate).
padding_granularity: u32Padding granularity in bytes.
flags: AviFlagsAVI flags (see AviFlags).
total_frames: u32Total number of frames in the video stream.
initial_frames: u32Number of streams that require initial frames before playback.
streams: u32Number of streams in the file.
suggested_buffer_size: u32Suggested buffer size for reading the file.
width: u32Video width in pixels.
height: u32Video height in pixels.
Trait Implementations§
Source§impl Clone for AviMainHeader
impl Clone for AviMainHeader
Source§fn clone(&self) -> AviMainHeader
fn clone(&self) -> AviMainHeader
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AviMainHeader
impl Debug for AviMainHeader
Source§impl Default for AviMainHeader
impl Default for AviMainHeader
Source§fn default() -> AviMainHeader
fn default() -> AviMainHeader
Returns the “default value” for a type. Read more
impl Copy for AviMainHeader
Auto Trait Implementations§
impl Freeze for AviMainHeader
impl RefUnwindSafe for AviMainHeader
impl Send for AviMainHeader
impl Sync for AviMainHeader
impl Unpin for AviMainHeader
impl UnwindSafe for AviMainHeader
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)