pub struct AvcConfig {
pub raw: Vec<u8>,
pub profile: u8,
pub profile_compat: u8,
pub level: u8,
pub nal_length_size: u8,
pub sps: Vec<Vec<u8>>,
pub pps: Vec<Vec<u8>>,
pub sidecars: Vec<SidecarBox>,
}Expand description
AVC decoder configuration.
Fields§
§raw: Vec<u8>Complete avcC payload.
profile: u8AVC profile indication.
profile_compat: u8Profile compatibility flags.
level: u8AVC level indication.
nal_length_size: u8NAL unit length field width in bytes.
sps: Vec<Vec<u8>>Sequence parameter sets.
pps: Vec<Vec<u8>>Picture parameter sets.
sidecars: Vec<SidecarBox>Preserved pasp, btrt, fiel, and colr boxes in stored order.
Trait Implementations§
impl Eq for AvcConfig
impl StructuralPartialEq for AvcConfig
Auto Trait Implementations§
impl Freeze for AvcConfig
impl RefUnwindSafe for AvcConfig
impl Send for AvcConfig
impl Sync for AvcConfig
impl Unpin for AvcConfig
impl UnsafeUnpin for AvcConfig
impl UnwindSafe for AvcConfig
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