Struct titanium::desktop::gui::libdruid::piet::image_crate::codecs::webp::vp8::Vp8Decoder
pub struct Vp8Decoder<R> { /* private fields */ }
Expand description
VP8 Decoder
Only decodes keyframes
Implementations§
§impl<R> Vp8Decoder<R>where
R: Read,
impl<R> Vp8Decoder<R>where R: Read,
pub 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
pub fn decode_frame(&mut self) -> Result<&Frame, ImageError>
pub fn decode_frame(&mut self) -> Result<&Frame, ImageError>
Decodes the current frame
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§
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.