pub struct SampleAuxiliaryInformationSizesBox<'a> {
pub full_header: FullBoxHeader,
pub aux_info_type: Option<u32>,
pub aux_info_type_parameter: Option<u32>,
pub default_sample_info_size: u8,
pub sample_count: u32,
pub sample_info_size: Option<BytesCow<'a>>,
}Expand description
Sample auxiliary information sizes box
ISO/IEC 14496-12 - 8.7.8
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.
default_sample_info_size: u8An integer specifying the sample auxiliary information size for the case where all the indicated samples have the same sample auxiliary information size. If the size varies then this field shall be zero.
sample_count: u32An integer that gives the number of samples for which a size is defined.
For a SampleAuxiliaryInformationSizesBox appearing in the SampleTableBox
this shall be the same as, or less than, the sample_count within the SampleSizeBox or CompactSampleSizeBox.
For a SampleAuxiliaryInformationSizesBox appearing in a TrackFragmentBox this
shall be the same as, or less than, the sum of the sample_count entries within the
TrackRunBoxes of the track fragment.
If this is less than the number of samples, then auxiliary information is supplied for the initial samples, and the remaining samples have no associated auxiliary information.
sample_info_size: Option<BytesCow<'a>>Gives the size of the sample auxiliary information in bytes. This may be zero to indicate samples with no associated auxiliary information.
If set, length is sample_count.
Trait Implementations§
Source§impl<'a> Debug for SampleAuxiliaryInformationSizesBox<'a>
impl<'a> Debug for SampleAuxiliaryInformationSizesBox<'a>
Source§impl<'a> Deserialize<'a> for SampleAuxiliaryInformationSizesBox<'a>
impl<'a> Deserialize<'a> for SampleAuxiliaryInformationSizesBox<'a>
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 SampleAuxiliaryInformationSizesBox<'a>
impl<'a> DeserializeSeed<'a, BoxHeader> for SampleAuxiliaryInformationSizesBox<'a>
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<'a> IsoBox for SampleAuxiliaryInformationSizesBox<'a>
impl<'a> IsoBox for SampleAuxiliaryInformationSizesBox<'a>
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<'a> IsoSized for SampleAuxiliaryInformationSizesBox<'a>
impl<'a> IsoSized for SampleAuxiliaryInformationSizesBox<'a>
Source§impl<'a> PartialEq for SampleAuxiliaryInformationSizesBox<'a>
impl<'a> PartialEq for SampleAuxiliaryInformationSizesBox<'a>
Source§fn eq(&self, other: &SampleAuxiliaryInformationSizesBox<'a>) -> bool
fn eq(&self, other: &SampleAuxiliaryInformationSizesBox<'a>) -> bool
self and other values to be equal, and is used by ==.