pub struct Vp8Decoder<R> { /* private fields */ }
Expand description
VP8 Decoder
Only decodes keyframes
Implementations§
source§impl<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