Struct nannou::image::codecs::webp::vp8::Frame [−][src]
pub struct Frame { pub width: u16, pub height: u16, pub ybuf: Vec<u8, Global>, pub keyframe: bool, pub for_display: bool, pub pixel_type: u8, // some fields omitted }
Expand description
A Representation of the last decoded video frame
Fields
width: u16
The width of the luma plane
height: u16
The height of the luma plane
ybuf: Vec<u8, Global>
The luma plane of the frame
keyframe: bool
Indicates whether this frame is a keyframe
for_display: bool
Indicates whether this frame is intended for display
pixel_type: u8
The pixel type of the frame as defined by Section 9.2 of the VP8 Specification
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Frame
impl UnwindSafe for Frame
Blanket Implementations
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: Component + Float,
D: AdaptFrom<S, Swp, Dwp, T>,
Swp: WhitePoint,
Dwp: WhitePoint,
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: Component + Float,
D: AdaptFrom<S, Swp, Dwp, T>,
Swp: WhitePoint,
Dwp: WhitePoint,
Mutably borrows from an owned value. Read more
Convert into T with values clamped to the color defined bounds Read more
Convert into T. The resulting color might be invalid in its color space Read more
Convert into T, returning ok if the color is inside of its defined range,
otherwise an OutOfBounds
error is returned which contains the unclamped color. Read more
pub fn vzip(self) -> V