pub struct NaluArray {
pub array_completeness: bool,
pub nal_unit_type: NALUnitType,
pub nalus: Vec<Bytes>,
}
Expand description
Nalu Array Structure
ISO/IEC 14496-15 - 8.3.2.1
Fields§
§array_completeness: bool
When equal to true
indicates that all NAL units of the given type are in the
following array and none are in the stream; when equal to false
indicates that additional NAL units
of the indicated type may be in the stream; the default and permitted values are constrained by
the sample entry name.
nal_unit_type: NALUnitType
Indicates the type of the NAL units in the following array (which shall be all of that type); it takes a value as defined in ISO/IEC 23008-2; it is restricted to take one of the values indicating a VPS, SPS, PPS, prefix SEI, or suffix SEI NAL unit.
nalus: Vec<Bytes>
The raw byte stream of NAL units.
You might want to use SpsNALUnit::parse
to parse an SPS NAL unit.
Trait Implementations§
impl StructuralPartialEq for NaluArray
Auto Trait Implementations§
impl Freeze for NaluArray
impl RefUnwindSafe for NaluArray
impl Send for NaluArray
impl Sync for NaluArray
impl Unpin for NaluArray
impl UnwindSafe for NaluArray
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