pub struct SeamlessSplice {
pub splice_type: u8,
pub dts_next_au: u64,
}Expand description
seamless_splice field within the adaptation-field extension
(ISO/IEC 13818-1:2007 §2.4.3.5, seamless_splice_flag == 1).
Wire layout: 5 bytes — splice_type(4) | DTS_next_AU[32:30](3) | marker(1) | DTS_next_AU[29:15](15) | marker(1) | DTS_next_AU[14:0](15) | marker(1).
The DTS field uses the same marker-bit encoding as PTS/DTS in PES headers.
Fields§
§splice_type: u84-bit splice_type.
dts_next_au: u6433-bit DTS_next_AU (90 kHz decoding time of the next splice unit).
Trait Implementations§
Source§impl Clone for SeamlessSplice
impl Clone for SeamlessSplice
Source§fn clone(&self) -> SeamlessSplice
fn clone(&self) -> SeamlessSplice
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 SeamlessSplice
Source§impl Debug for SeamlessSplice
impl Debug for SeamlessSplice
impl Eq for SeamlessSplice
Source§impl PartialEq for SeamlessSplice
impl PartialEq for SeamlessSplice
Source§fn eq(&self, other: &SeamlessSplice) -> bool
fn eq(&self, other: &SeamlessSplice) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SeamlessSplice
impl Serialize for SeamlessSplice
impl StructuralPartialEq for SeamlessSplice
Auto Trait Implementations§
impl Freeze for SeamlessSplice
impl RefUnwindSafe for SeamlessSplice
impl Send for SeamlessSplice
impl Sync for SeamlessSplice
impl Unpin for SeamlessSplice
impl UnsafeUnpin for SeamlessSplice
impl UnwindSafe for SeamlessSplice
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