pub struct Parser { /* private fields */ }
Expand description
A VP8 parser based on GStreamer’s vp8parser and Chromium’s VP8 parser.
Implementations§
Source§impl Parser
impl Parser
pub fn segmentation(&self) -> &Segmentation
pub fn mb_lf_adjust(&self) -> &MbLfAdjustments
Sourcepub fn parse_frame<'a>(
&mut self,
bitstream: &'a [u8],
) -> Result<Frame<'a>, ParseFrameError>
pub fn parse_frame<'a>( &mut self, bitstream: &'a [u8], ) -> Result<Frame<'a>, ParseFrameError>
Parse a single frame from the chunk in data
.
Trait Implementations§
impl Eq for Parser
impl StructuralPartialEq for Parser
Auto Trait Implementations§
impl Freeze for Parser
impl RefUnwindSafe for Parser
impl Send for Parser
impl Sync for Parser
impl Unpin for Parser
impl UnwindSafe for Parser
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