pub struct Mpeg2SeqInfo {
pub width: u32,
pub height: u32,
}Expand description
Parsed MPEG-2 sequence header + (optional) sequence extension.
MPEG-2 video §6.2.2.1/§6.2.2.3 (ISO/IEC 13818-2): the 12-bit
horizontal_size_value / vertical_size_value from the sequence
header, optionally extended to 14 bits by the 2-bit
horizontal_size_extension / vertical_size_extension fields in a
sequence_extension() start-code-prefixed NAL. Pure MPEG-1
(start code 0xB3 but no 0xB5 extension) stays 12-bit — produces
the same 12-bit result via the extension-less path.
Fields§
§width: u32§height: u32Trait Implementations§
Source§impl Clone for Mpeg2SeqInfo
impl Clone for Mpeg2SeqInfo
Source§fn clone(&self) -> Mpeg2SeqInfo
fn clone(&self) -> Mpeg2SeqInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Mpeg2SeqInfo
Source§impl Debug for Mpeg2SeqInfo
impl Debug for Mpeg2SeqInfo
impl Eq for Mpeg2SeqInfo
Source§impl PartialEq for Mpeg2SeqInfo
impl PartialEq for Mpeg2SeqInfo
Source§fn eq(&self, other: &Mpeg2SeqInfo) -> bool
fn eq(&self, other: &Mpeg2SeqInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Mpeg2SeqInfo
Auto Trait Implementations§
impl Freeze for Mpeg2SeqInfo
impl RefUnwindSafe for Mpeg2SeqInfo
impl Send for Mpeg2SeqInfo
impl Sync for Mpeg2SeqInfo
impl Unpin for Mpeg2SeqInfo
impl UnsafeUnpin for Mpeg2SeqInfo
impl UnwindSafe for Mpeg2SeqInfo
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