Struct image::webp::vp8::VP8Decoder [] [src]

pub struct VP8Decoder<R> {
    // some fields omitted
}

VP8 Decoder

Only decodes keyframes

Methods

impl<R: Read> VP8Decoder<R>
[src]

fn new(r: R) -> VP8Decoder<R>

Create a new decoder. The reader must present a raw vp8 bitstream to the decoder

fn decode_frame(&mut self) -> Result<&Frame>

Decodes the current frame and returns a reference to it