pub struct SegmentTiming {
pub earliest_presentation_time: u64,
pub presentation_time_offset: u64,
pub timescale: u32,
}Expand description
Segment-level timing parameters needed for emsg version conversion.
All time fields share a single timescale (ticks/second), which MUST equal
the emsg’s timescale.
Fields§
§earliest_presentation_time: u64The carrying segment’s earliest presentation time on the Movie
timeline, in timescale ticks.
presentation_time_offset: u64InbandEventStream@presentationTimeOffset: the Movie→Period mapping
adjustment, in timescale ticks. Documented here for higher-layer
use; not incorporated into the delta conversion (the arithmetic within
one Representation is PTO-independent).
timescale: u32Ticks per second; MUST equal the emsg’s timescale.
Trait Implementations§
Source§impl Clone for SegmentTiming
impl Clone for SegmentTiming
Source§fn clone(&self) -> SegmentTiming
fn clone(&self) -> SegmentTiming
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 SegmentTiming
Source§impl Debug for SegmentTiming
impl Debug for SegmentTiming
impl Eq for SegmentTiming
Source§impl PartialEq for SegmentTiming
impl PartialEq for SegmentTiming
Source§fn eq(&self, other: &SegmentTiming) -> bool
fn eq(&self, other: &SegmentTiming) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SegmentTiming
Auto Trait Implementations§
impl Freeze for SegmentTiming
impl RefUnwindSafe for SegmentTiming
impl Send for SegmentTiming
impl Sync for SegmentTiming
impl Unpin for SegmentTiming
impl UnsafeUnpin for SegmentTiming
impl UnwindSafe for SegmentTiming
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