pub struct H265;Available on crate features
codec-h265 and codec only.Expand description
CodecParser implementation for H.265 / HEVC.
Trait Implementations§
Source§impl CodecParser for H265
impl CodecParser for H265
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 H265
impl RefUnwindSafe for H265
impl Send for H265
impl Sync for H265
impl Unpin for H265
impl UnsafeUnpin for H265
impl UnwindSafe for H265
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