pub struct Vp8Decoder<R> { /* private fields */ }
Expand description
VP8 Decoder
Only decodes keyframes
Implementations
sourceimpl<R: Read> Vp8Decoder<R>
impl<R: Read> Vp8Decoder<R>
sourcepub fn new(r: R) -> Vp8Decoder<R>
pub fn new(r: R) -> Vp8Decoder<R>
Create a new decoder. The reader must present a raw vp8 bitstream to the decoder
sourcepub fn decode_frame(&mut self) -> ImageResult<&Frame>
pub fn decode_frame(&mut self) -> ImageResult<&Frame>
Decodes the current frame and returns a reference to it
Auto Trait Implementations
impl<R> RefUnwindSafe for Vp8Decoder<R> where
R: RefUnwindSafe,
impl<R> Send for Vp8Decoder<R> where
R: Send,
impl<R> Sync for Vp8Decoder<R> where
R: Sync,
impl<R> Unpin for Vp8Decoder<R> where
R: Unpin,
impl<R> UnwindSafe for Vp8Decoder<R> where
R: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more