pub struct H265PACIPacket { /* private fields */ }Expand description
PACI implementation
H265PACIPacket represents a single H265 PACI packet.
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PayloadHdr (Type=50) |A| cType | phssize |F0..2|Y| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | payload Header Extension Structure (phes) | |=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=| | | | PACI payload: NAL unit | | . . . | | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | :…OPTIONAL RTP padding | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Reference: https://datatracker.ietf.org/doc/html/rfc7798#section-4.4.4
Implementations
sourceimpl H265PACIPacket
impl H265PACIPacket
sourcepub fn payload_header(&self) -> H265NALUHeader
pub fn payload_header(&self) -> H265NALUHeader
payload_header returns the NAL Unit Header.
sourcepub fn f0(&self) -> bool
pub fn f0(&self) -> bool
f0 indicates the presence of a Temporal Scalability support extension in the phes.
Trait Implementations
sourceimpl Clone for H265PACIPacket
impl Clone for H265PACIPacket
sourcefn clone(&self) -> H265PACIPacket
fn clone(&self) -> H265PACIPacket
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for H265PACIPacket
impl Debug for H265PACIPacket
sourceimpl Default for H265PACIPacket
impl Default for H265PACIPacket
sourcefn default() -> H265PACIPacket
fn default() -> H265PACIPacket
Returns the “default value” for a type. Read more
sourceimpl PartialEq<H265PACIPacket> for H265PACIPacket
impl PartialEq<H265PACIPacket> for H265PACIPacket
sourcefn eq(&self, other: &H265PACIPacket) -> bool
fn eq(&self, other: &H265PACIPacket) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl Eq for H265PACIPacket
impl StructuralEq for H265PACIPacket
impl StructuralPartialEq for H265PACIPacket
Auto Trait Implementations
impl RefUnwindSafe for H265PACIPacket
impl Send for H265PACIPacket
impl Sync for H265PACIPacket
impl Unpin for H265PACIPacket
impl UnwindSafe for H265PACIPacket
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