pub struct AvcDecoderConfig {
pub nal_length_size: u8,
pub sps: Vec<Bytes>,
pub pps: Vec<Bytes>,
}Expand description
Parsed lengthSizeMinusOne + SPS/PPS from an AVCDecoderConfigurationRecord
(the raw avcC box payload, ISO/IEC 14496-15).
Fields§
§nal_length_size: u8NAL length prefix size in bytes (1, 2, or 4) used by AVCC-framed samples.
sps: Vec<Bytes>One or more SPS NAL units (without start code or length prefix).
pps: Vec<Bytes>One or more PPS NAL units (without start code or length prefix).
Trait Implementations§
Source§impl Clone for AvcDecoderConfig
impl Clone for AvcDecoderConfig
Source§fn clone(&self) -> AvcDecoderConfig
fn clone(&self) -> AvcDecoderConfig
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 moreSource§impl Debug for AvcDecoderConfig
impl Debug for AvcDecoderConfig
impl Eq for AvcDecoderConfig
Source§impl PartialEq for AvcDecoderConfig
impl PartialEq for AvcDecoderConfig
impl StructuralPartialEq for AvcDecoderConfig
Auto Trait Implementations§
impl Freeze for AvcDecoderConfig
impl RefUnwindSafe for AvcDecoderConfig
impl Send for AvcDecoderConfig
impl Sync for AvcDecoderConfig
impl Unpin for AvcDecoderConfig
impl UnsafeUnpin for AvcDecoderConfig
impl UnwindSafe for AvcDecoderConfig
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