pub struct PlanarYCbCr<'a> {
pub y: &'a [u8],
pub cb: &'a [u8],
pub cr: &'a [u8],
}Expand description
Planar YCbCr input for Jpeg::encode_planar.
Fields§
§y: &'a [u8]Luma plane, width × height bytes.
cb: &'a [u8]Cb plane, sized per the chroma subsampling.
cr: &'a [u8]Cr plane, sized per the chroma subsampling.
Auto Trait Implementations§
impl<'a> Freeze for PlanarYCbCr<'a>
impl<'a> RefUnwindSafe for PlanarYCbCr<'a>
impl<'a> Send for PlanarYCbCr<'a>
impl<'a> Sync for PlanarYCbCr<'a>
impl<'a> Unpin for PlanarYCbCr<'a>
impl<'a> UnwindSafe for PlanarYCbCr<'a>
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