pub struct Vp9;Available on crate features
codec-vp9 and codec only.Expand description
CodecParser implementation for VP9.
Trait Implementations§
Source§impl CodecParser for Vp9
impl CodecParser for Vp9
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 Vp9
impl RefUnwindSafe for Vp9
impl Send for Vp9
impl Sync for Vp9
impl Unpin for Vp9
impl UnsafeUnpin for Vp9
impl UnwindSafe for Vp9
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