pub struct Planes {
pub y: Vec<u8>,
pub u: Vec<u8>,
pub v: Vec<u8>,
}Expand description
A planar YUV frame holding little-endian wire bytes.
Plane lengths come from FrameLayout, so y.len() is
layout.luma_bytes() and both u.len() and v.len() are
layout.chroma_bytes().
Fields§
§y: Vec<u8>§u: Vec<u8>§v: Vec<u8>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Planes
impl RefUnwindSafe for Planes
impl Send for Planes
impl Sync for Planes
impl Unpin for Planes
impl UnsafeUnpin for Planes
impl UnwindSafe for Planes
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more