pub struct Av1;Available on crate features
codec-av1 and codec only.Expand description
CodecParser implementation for AV1.
Trait Implementations§
Source§impl CodecParser for Av1
impl CodecParser for Av1
Source§fn parse_config(data: &[u8]) -> Option<VideoParams>
fn parse_config(data: &[u8]) -> Option<VideoParams>
Parse the parameter set(s) / sequence header into
VideoParams.
Returns None if no usable header is present or it cannot be decoded.Source§fn is_random_access_point(data: &[u8]) -> bool
fn is_random_access_point(data: &[u8]) -> bool
Whether this access unit is a random-access point (IDR/CRA/KEY_FRAME) —
the signal the engine anchors GOP caching and segmentation on.
Source§fn carries_config(data: &[u8]) -> bool
fn carries_config(data: &[u8]) -> bool
Whether this access unit carries decoder configuration (parameter sets /
sequence header) that should be cached for late joiners.
Source§fn hls_codec_string(p: &VideoParams) -> String
fn hls_codec_string(p: &VideoParams) -> String
The HLS
CODECS attribute for these parameters
(e.g. "hvc1.1.6.L93.B0", "av01.0.04M.08").Auto Trait Implementations§
impl Freeze for Av1
impl RefUnwindSafe for Av1
impl Send for Av1
impl Sync for Av1
impl Unpin for Av1
impl UnsafeUnpin for Av1
impl UnwindSafe for Av1
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