Struct image::webp::vp8::VP8Decoder [−][src]
pub struct VP8Decoder<R> { /* fields omitted */ }VP8 Decoder
Only decodes keyframes
Methods
impl<R: Read> VP8Decoder<R>[src]
impl<R: Read> VP8Decoder<R>pub fn new(r: R) -> VP8Decoder<R>[src]
pub fn new(r: R) -> VP8Decoder<R>Create a new decoder. The reader must present a raw vp8 bitstream to the decoder
pub fn decode_frame(&mut self) -> Result<&Frame>[src]
pub fn decode_frame(&mut self) -> Result<&Frame>Decodes the current frame and returns a reference to it
Auto Trait Implementations
impl<R> Send for VP8Decoder<R> where
R: Send,
impl<R> Send for VP8Decoder<R> where
R: Send, impl<R> Sync for VP8Decoder<R> where
R: Sync,
impl<R> Sync for VP8Decoder<R> where
R: Sync,