pub struct NaluArray {
pub array_completeness: bool,
pub nal_unit_type: NaluType,
pub nalus: Vec<Bytes>,
}Expand description
Nalu Array Structure ISO/IEC 14496-15:2022(E) - 8.3.2.1
Fields§
§array_completeness: boolThe array_completeness is a flag set to 1 when all NAL units are in the array and none are in the stream. It is set to 0 if otherwise.
nal_unit_type: NaluTypeThe nal_unit_type is the type of the NAL units in the nalus vec, as defined in ISO/IEC 23008-2.
Refer to the NaluType enum for more info.
nalus: Vec<Bytes>nalus is a vec of NAL units. Each of these will contain either a VPS, PPS, SPS, or an unknown u8 as specified in ISO/IEC 23008-2.
Refer to the NaluType enum for more info.
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