pub struct Av1Depacketizer {
pub z: bool,
pub y: bool,
pub n: bool,
/* private fields */
}Expand description
AV1 RTP Depacketizer
Depacketizes AV1 RTP packets into low overhead bitstream format with obu_size fields.
Fields§
§z: boolZ flag from aggregation header - first OBU is continuation
y: boolY flag from aggregation header - last OBU will continue
n: boolN flag from aggregation header - new coded video sequence
Implementations§
Trait Implementations§
Source§impl Clone for Av1Depacketizer
impl Clone for Av1Depacketizer
Source§fn clone(&self) -> Av1Depacketizer
fn clone(&self) -> Av1Depacketizer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Av1Depacketizer
impl Debug for Av1Depacketizer
Source§impl Default for Av1Depacketizer
impl Default for Av1Depacketizer
Source§fn default() -> Av1Depacketizer
fn default() -> Av1Depacketizer
Returns the “default value” for a type. Read more
Source§impl Depacketizer for Av1Depacketizer
impl Depacketizer for Av1Depacketizer
Source§fn depacketize(&mut self, payload: &Bytes) -> Result<Bytes>
fn depacketize(&mut self, payload: &Bytes) -> Result<Bytes>
Depacketize parses an AV1 RTP payload into OBU stream with obu_size_field.
Reference: https://aomediacodec.github.io/av1-rtp-spec/
Source§fn is_partition_head(&self, payload: &Bytes) -> bool
fn is_partition_head(&self, payload: &Bytes) -> bool
Returns true if Z flag is not set (first OBU is not a continuation)
Auto Trait Implementations§
impl Freeze for Av1Depacketizer
impl RefUnwindSafe for Av1Depacketizer
impl Send for Av1Depacketizer
impl Sync for Av1Depacketizer
impl Unpin for Av1Depacketizer
impl UnwindSafe for Av1Depacketizer
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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