pub struct SubSampleInformationBoxEntry {
pub sample_delta: u32,
pub subsample_count: u16,
pub subsample_info: Vec<SubSampleInformationBoxEntrySubSample>,
}Expand description
Entry in SubSampleInformationBox.
Fields§
§sample_delta: u32An integer that indicates the sample having sub‐sample structure. It is coded as the
difference, in decoding order, between the desired sample number, and the sample number
indicated in the previous entry. If the current entry is the first entry in the track, the value
indicates the sample number of the first sample having sub-sample information, that is, the value
is the difference between the sample number and zero (0). If the current entry is the first entry
in a track fragment with preceding non-empty track fragments, the value indicates the difference
between the sample number of the first sample having sub-sample information and the sample
number of the last sample in the previous track fragment. If the current entry is the first entry in
a track fragment without any preceding track fragments, the value indicates the sample number
of the first sample having sub-sample information, that is, the value is the difference between the
sample number and zero (0). This implies that the sample_delta for the first entry describing the
first sample in the track or in the track fragment is always 1.
subsample_count: u16An integer that specifies the number of sub-sample for the current sample. If there is no sub-sample structure, then this field takes the value 0.
subsample_info: Vec<SubSampleInformationBoxEntrySubSample>subsample_size, subsample_priority, discardable and codec_specific_parameters.
Implementations§
Trait Implementations§
Source§impl Debug for SubSampleInformationBoxEntry
impl Debug for SubSampleInformationBoxEntry
Source§impl<'a> DeserializeSeed<'a, u8> for SubSampleInformationBoxEntry
impl<'a> DeserializeSeed<'a, u8> for SubSampleInformationBoxEntry
Source§fn deserialize_seed<R: ZeroCopyReader<'a>>(reader: R, seed: u8) -> Result<Self>
fn deserialize_seed<R: ZeroCopyReader<'a>>(reader: R, seed: u8) -> Result<Self>
Source§impl PartialEq for SubSampleInformationBoxEntry
impl PartialEq for SubSampleInformationBoxEntry
Source§fn eq(&self, other: &SubSampleInformationBoxEntry) -> bool
fn eq(&self, other: &SubSampleInformationBoxEntry) -> bool
self and other values to be equal, and is used by ==.