pub struct Vp09Box {Show 15 fields
pub version: u8,
pub flags: u32,
pub start_code: u16,
pub data_reference_index: u16,
pub reserved0: [u8; 16],
pub width: u16,
pub height: u16,
pub horizresolution: (u16, u16),
pub vertresolution: (u16, u16),
pub reserved1: [u8; 4],
pub frame_count: u16,
pub compressorname: [u8; 32],
pub depth: u16,
pub end_code: u16,
pub vpcc: VpccBox,
}
Fields§
§version: u8
§flags: u32
§start_code: u16
§data_reference_index: u16
§reserved0: [u8; 16]
§width: u16
§height: u16
§horizresolution: (u16, u16)
§vertresolution: (u16, u16)
§reserved1: [u8; 4]
§frame_count: u16
§compressorname: [u8; 32]
§depth: u16
§end_code: u16
§vpcc: VpccBox
Implementations§
source§impl Vp09Box
impl Vp09Box
pub const DEFAULT_START_CODE: u16 = 0u16
pub const DEFAULT_END_CODE: u16 = 65_535u16
pub const DEFAULT_DATA_REFERENCE_INDEX: u16 = 1u16
pub const DEFAULT_HORIZRESOLUTION: (u16, u16) = _
pub const DEFAULT_VERTRESOLUTION: (u16, u16) = _
pub const DEFAULT_FRAME_COUNT: u16 = 1u16
pub const DEFAULT_COMPRESSORNAME: [u8; 32] = _
pub const DEFAULT_DEPTH: u16 = 24u16
pub fn new(config: &Vp9Config) -> Self
Trait Implementations§
source§impl PartialEq for Vp09Box
impl PartialEq for Vp09Box
impl Eq for Vp09Box
impl StructuralPartialEq for Vp09Box
Auto Trait Implementations§
impl Freeze for Vp09Box
impl RefUnwindSafe for Vp09Box
impl Send for Vp09Box
impl Sync for Vp09Box
impl Unpin for Vp09Box
impl UnwindSafe for Vp09Box
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