pub struct SampleAuxiliaryInformationOffsetsBox {
pub full_header: FullBoxHeader,
pub aux_info_type: Option<u32>,
pub aux_info_type_parameter: Option<u32>,
pub entry_count: u32,
pub offset: Vec<u64>,
}Expand description
Sample auxiliary information offsets box
ISO/IEC 14496-12 - 8.7.9
Fields§
§full_header: FullBoxHeaderThe full box header.
aux_info_type: Option<u32>An integer that identifies the type of the sample auxiliary information. At most one
occurrence of this box with the same values for aux_info_type and aux_info_type_parameter shall
exist in the containing box.
aux_info_type_parameter: Option<u32>Identifies the “stream” of auxiliary information having the same value of
aux_info_type and associated to the same track. The semantics of aux_info_type_parameter are
determined by the value of aux_info_type.
entry_count: u32Gives the number of entries in the following table.
For a SampleAuxiliaryInformationOffsetsBox appearing in a SampleTableBox,
this shall be equal to one or to the value of the entry_count
field in the ChunkOffsetBox or ChunkLargeOffsetBox.
For a SampleAuxiliaryInformationOffsetsBox appearing in a TrackFragmentBox,
this shall be equal to one or to the number of TrackRunBoxes in the TrackFragmentBox.
offset: Vec<u64>Gives the position in the file of the Sample Auxiliary Information for each Chunk or Track
Fragment Run. If entry_count is one, then the Sample Auxiliary Information for all Chunks or Runs
is contiguous in the file in chunk or run order. When in the SampleTableBox,
the offsets are relative to the same base offset as derived for the respective samples through the
data_reference_index of the sample entry referenced by the samples.
In a TrackFragmentBox, this value is relative to the base offset established by the
TrackFragmentHeaderBox in the same track fragment (see 8.8.14).
Trait Implementations§
Source§impl<'a> Deserialize<'a> for SampleAuxiliaryInformationOffsetsBox
impl<'a> Deserialize<'a> for SampleAuxiliaryInformationOffsetsBox
Source§fn deserialize<R>(reader: R) -> Result<Self>where
R: ZeroCopyReader<'a>,
fn deserialize<R>(reader: R) -> Result<Self>where
R: ZeroCopyReader<'a>,
Source§impl<'a> DeserializeSeed<'a, BoxHeader> for SampleAuxiliaryInformationOffsetsBox
impl<'a> DeserializeSeed<'a, BoxHeader> for SampleAuxiliaryInformationOffsetsBox
Source§fn deserialize_seed<R>(reader: R, _seed: BoxHeader) -> Result<Self>where
R: ZeroCopyReader<'a>,
fn deserialize_seed<R>(reader: R, _seed: BoxHeader) -> Result<Self>where
R: ZeroCopyReader<'a>,
Source§impl IsoBox for SampleAuxiliaryInformationOffsetsBox
impl IsoBox for SampleAuxiliaryInformationOffsetsBox
Source§fn add_header_size(payload_size: usize) -> usize
fn add_header_size(payload_size: usize) -> usize
Source§fn box_header(&self) -> BoxHeader
fn box_header(&self) -> BoxHeader
BoxHeader for this box.Source§fn serialize_box_header<W>(&self, writer: W) -> Result<()>where
W: Write,
fn serialize_box_header<W>(&self, writer: W) -> Result<()>where
W: Write,
IsoBox::box_header to the given writer.Source§impl PartialEq for SampleAuxiliaryInformationOffsetsBox
impl PartialEq for SampleAuxiliaryInformationOffsetsBox
Source§fn eq(&self, other: &SampleAuxiliaryInformationOffsetsBox) -> bool
fn eq(&self, other: &SampleAuxiliaryInformationOffsetsBox) -> bool
self and other values to be equal, and is used by ==.