[][src]Enum h264_reader::nal::UnitType

pub enum UnitType {
    Unspecified(u8),
    SliceLayerWithoutPartitioningNonIdr,
    SliceDataPartitionALayer,
    SliceDataPartitionBLayer,
    SliceDataPartitionCLayer,
    SliceLayerWithoutPartitioningIdr,
    SEI,
    SeqParameterSet,
    PicParameterSet,
    AccessUnitDelimiter,
    EndOfSeq,
    EndOfStream,
    FillerData,
    SeqParameterSetExtension,
    PrefixNALUnit,
    SubsetSeqParameterSet,
    DepthParameterSet,
    SliceLayerWithoutPartitioningAux,
    SliceExtension,
    SliceExtensionViewComponent,
    Reserved(u8),
}

Variants

Unspecified(u8)

The values 0 and 24-31 are unspecified in the H264 spec

SliceLayerWithoutPartitioningNonIdr
SliceDataPartitionALayer
SliceDataPartitionBLayer
SliceDataPartitionCLayer
SliceLayerWithoutPartitioningIdr
SEI

Supplemental enhancement information

SeqParameterSet
PicParameterSet
AccessUnitDelimiter
EndOfSeq
EndOfStream
FillerData
SeqParameterSetExtension
PrefixNALUnit
SubsetSeqParameterSet
DepthParameterSet
SliceLayerWithoutPartitioningAux
SliceExtension
SliceExtensionViewComponent
Reserved(u8)

The values 17, 18, 22 and 23 are reserved for future use by the H264 spec

Methods

impl UnitType[src]

pub fn for_id(id: u8) -> Result<UnitType, UnitTypeError>[src]

pub fn id(self) -> u8[src]

Trait Implementations

impl Clone for UnitType[src]

impl Copy for UnitType[src]

impl Debug for UnitType[src]

impl Hash for UnitType[src]

impl PartialEq<UnitType> for UnitType[src]

impl StructuralPartialEq for UnitType[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.