[][src]Struct javelin_codec::avc::dcr::DecoderConfigurationRecord

pub struct DecoderConfigurationRecord {
    pub version: u8,
    pub profile_indication: u8,
    pub profile_compatability: u8,
    pub level_indication: u8,
    pub nalu_size: u8,
    pub sps: Vec<Unit>,
    pub pps: Vec<Unit>,
}

AVC decoder configuration record

Bits Name
8 Version
8 Profile Indication
8 Profile Compatability
8 Level Indication
6 Reserved
2 NALU Length
3 Reserved
5 SPS Count
16 SPS Length
var SPS
8 PPS Count
16 PPS Length
var PPS

Fields

version: u8profile_indication: u8profile_compatability: u8level_indication: u8nalu_size: u8sps: Vec<Unit>pps: Vec<Unit>

Methods

impl DecoderConfigurationRecord[src]

pub fn try_from_buf<B>(buf: &mut B) -> Result<Self> where
    B: Buf
[src]

Trait Implementations

impl Clone for DecoderConfigurationRecord[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for DecoderConfigurationRecord[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Erased for T