Skip to main content

DecodedFrame

Type Alias DecodedFrame 

Source
pub type DecodedFrame = GifFrame;
👎Deprecated since 0.0.7:

renamed GifFrame, so it is not mistaken for the video decoder’s codec::decode::DecodedFrame

Available on crate feature gif only.
Expand description

The old name of GifFrame.

Aliased Type§

pub struct DecodedFrame {
    pub rgba: Vec<u8>,
    pub delay_num: u16,
    pub delay_den: u16,
    pub meta: GifFrameMeta,
}

Fields§

§rgba: Vec<u8>

Full logical-screen RGBA canvas after this frame has been composited.

§delay_num: u16

Delay numerator (centiseconds from the GCE).

§delay_den: u16

Delay denominator (always 100 for GIF centiseconds).

§meta: GifFrameMeta

The frame’s descriptor, as parsed.