Struct mpeg2ts_reader::packet::ClockRef
source · pub struct ClockRef { /* private fields */ }Expand description
A Clock Reference is used to represent the values of PCR and ESCR fields within the transport stream data.
A Clock Reference includes a 33-bit, 90kHz base component, together with another 9-bit,
high-resolution extension component.
Together these can be viewed as a 42-bit, 27MHz quantity (e.g. let full_value = pcr as u64).
Since the clock reference is limited to 33-bits, at a rate of 90kHz a continuously increasing
clock value will wrap-around approximately every 26.5 hours.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ClockRef
impl Send for ClockRef
impl Sync for ClockRef
impl Unpin for ClockRef
impl UnwindSafe for ClockRef
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more