pub struct AccessUnit<A> {
pub payload: A,
pub cts: Option<u64>,
pub dts: Option<u64>,
pub is_random_access_point: bool,
}Expand description
Access unit containing VVC bitstream data.
VVdeC expects that the pushed access units follow the Annex-B format - prefixed by 0x000001 or 0x00000001.
Fields§
§payload: AThe payload data.
cts: Option<u64>Composition timestamp.
The composition timestamp is not used by VVdeC and is passed unchanged to the corresponding decoded Frame object. It can be used to transport arbitrary frame identifiers, if necessary by your application.
dts: Option<u64>Decoding timestamp.
is_random_access_point: boolIs it an random access point?
Implementations§
Source§impl<A> AccessUnit<A>
impl<A> AccessUnit<A>
Trait Implementations§
Auto Trait Implementations§
impl<A> Freeze for AccessUnit<A>where
A: Freeze,
impl<A> RefUnwindSafe for AccessUnit<A>where
A: RefUnwindSafe,
impl<A> Send for AccessUnit<A>where
A: Send,
impl<A> Sync for AccessUnit<A>where
A: Sync,
impl<A> Unpin for AccessUnit<A>where
A: Unpin,
impl<A> UnwindSafe for AccessUnit<A>where
A: UnwindSafe,
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