pub struct CompositionToDecodeBox {
pub full_header: FullBoxHeader,
pub composition_to_dt_shift: i64,
pub least_decode_to_display_delta: i64,
pub greatest_decode_to_display_delta: i64,
pub composition_start_time: i64,
pub composition_end_time: i64,
}Expand description
Composition to decode box
ISO/IEC 14496-12 - 8.6.1.4
Fields§
§full_header: FullBoxHeaderThe full box header.
composition_to_dt_shift: i64If this value is added to the composition timestamps (as calculated by the CTS
offsets from the DTS), then for all samples, their CTS is guaranteed to be greater than or equal
to their DTS, and the buffer model implied by the indicated profile/level will be honoured; if
leastDecodeToDisplayDelta is positive or zero, this field can be 0; otherwise it should be at least
(-leastDecodeToDisplayDelta)
least_decode_to_display_delta: i64The smallest composition offset in the CompositionOffsetBox in this track.
greatest_decode_to_display_delta: i64The largest composition offset in the CompositionOffsetBox in this track.
composition_start_time: i64The smallest computed composition timestamp (CTS) for any sample in the media of this track.
composition_end_time: i64The composition timestamp plus the composition duration, of the sample with the largest computed composition timestamp (CTS) in the media of this track; if this field takes the value 0, the composition end time is unknown.
Trait Implementations§
Source§impl Debug for CompositionToDecodeBox
impl Debug for CompositionToDecodeBox
Source§impl<'a> Deserialize<'a> for CompositionToDecodeBox
impl<'a> Deserialize<'a> for CompositionToDecodeBox
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 CompositionToDecodeBox
impl<'a> DeserializeSeed<'a, BoxHeader> for CompositionToDecodeBox
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 CompositionToDecodeBox
impl IsoBox for CompositionToDecodeBox
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.