pub struct DataStreamAlignmentDescriptor {
pub alignment_type: u8,
}Expand description
data_stream_alignment_descriptor body (§2.6.10 Table 2-46).
alignment_type semantics depend on whether the referenced ES is
video (Table 2-47) or audio (Table 2-48):
| Value | Video | Audio |
|---|---|---|
| 0x00 | Reserved | Reserved |
| 0x01 | Slice, or video access unit | Sync word |
| 0x02 | Video access unit | (Reserved) |
| 0x03 | GOP, or SEQ | (Reserved) |
| 0x04 | SEQ | (Reserved) |
| 0x05..0xFF | Reserved | Reserved |
The descriptor itself doesn’t carry the video/audio distinction; the
caller selects the table based on the enclosing PMT entry’s
stream_type.
Fields§
§alignment_type: u8Raw 8-bit alignment_type byte (Tables 2-47 / 2-48).
Trait Implementations§
Source§impl Clone for DataStreamAlignmentDescriptor
impl Clone for DataStreamAlignmentDescriptor
Source§fn clone(&self) -> DataStreamAlignmentDescriptor
fn clone(&self) -> DataStreamAlignmentDescriptor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DataStreamAlignmentDescriptor
impl Eq for DataStreamAlignmentDescriptor
Source§impl PartialEq for DataStreamAlignmentDescriptor
impl PartialEq for DataStreamAlignmentDescriptor
Source§fn eq(&self, other: &DataStreamAlignmentDescriptor) -> bool
fn eq(&self, other: &DataStreamAlignmentDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DataStreamAlignmentDescriptor
Auto Trait Implementations§
impl Freeze for DataStreamAlignmentDescriptor
impl RefUnwindSafe for DataStreamAlignmentDescriptor
impl Send for DataStreamAlignmentDescriptor
impl Sync for DataStreamAlignmentDescriptor
impl Unpin for DataStreamAlignmentDescriptor
impl UnsafeUnpin for DataStreamAlignmentDescriptor
impl UnwindSafe for DataStreamAlignmentDescriptor
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