Enum webrtc_media::io::h264_reader::NalUnitType
source · pub enum NalUnitType {
Show 16 variants
Unspecified = 0,
CodedSliceNonIdr = 1,
CodedSliceDataPartitionA = 2,
CodedSliceDataPartitionB = 3,
CodedSliceDataPartitionC = 4,
CodedSliceIdr = 5,
SEI = 6,
SPS = 7,
PPS = 8,
AUD = 9,
EndOfSequence = 10,
EndOfStream = 11,
Filler = 12,
SpsExt = 13,
CodedSliceAux = 19,
Reserved = 20,
}
Expand description
NalUnitType is the type of a NAL Enums for NalUnitTypes
Variants§
Unspecified = 0
Unspecified
CodedSliceNonIdr = 1
Coded slice of a non-IDR picture
CodedSliceDataPartitionA = 2
Coded slice data partition A
CodedSliceDataPartitionB = 3
Coded slice data partition B
CodedSliceDataPartitionC = 4
Coded slice data partition C
CodedSliceIdr = 5
Coded slice of an IDR picture
SEI = 6
Supplemental enhancement information (SEI)
SPS = 7
Sequence parameter set
PPS = 8
Picture parameter set
AUD = 9
Access unit delimiter
EndOfSequence = 10
End of sequence
EndOfStream = 11
End of stream
Filler = 12
Filler data
SpsExt = 13
Sequence parameter set extension
CodedSliceAux = 19
Coded slice of an auxiliary coded picture without partitioning
Reserved = 20
Reserved
Trait Implementations§
source§impl Clone for NalUnitType
impl Clone for NalUnitType
source§fn clone(&self) -> NalUnitType
fn clone(&self) -> NalUnitType
Returns a copy of the value. Read more
1.0.0 · 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 NalUnitType
impl Debug for NalUnitType
source§impl Default for NalUnitType
impl Default for NalUnitType
source§fn default() -> NalUnitType
fn default() -> NalUnitType
Returns the “default value” for a type. Read more
source§impl Display for NalUnitType
impl Display for NalUnitType
source§impl From<u8> for NalUnitType
impl From<u8> for NalUnitType
source§impl PartialEq for NalUnitType
impl PartialEq for NalUnitType
source§fn eq(&self, other: &NalUnitType) -> bool
fn eq(&self, other: &NalUnitType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for NalUnitType
impl Eq for NalUnitType
impl StructuralPartialEq for NalUnitType
Auto Trait Implementations§
impl Freeze for NalUnitType
impl RefUnwindSafe for NalUnitType
impl Send for NalUnitType
impl Sync for NalUnitType
impl Unpin for NalUnitType
impl UnwindSafe for NalUnitType
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