Struct libwebp_sys::WebPYUVABuffer
source · #[repr(C)]pub struct WebPYUVABuffer {
pub y: *mut u8,
pub u: *mut u8,
pub v: *mut u8,
pub a: *mut u8,
pub y_stride: c_int,
pub u_stride: c_int,
pub v_stride: c_int,
pub a_stride: c_int,
pub y_size: usize,
pub u_size: usize,
pub v_size: usize,
pub a_size: usize,
}
Expand description
view as YUVA
Fields§
§y: *mut u8
pointer to luma samples
u: *mut u8
pointer to chroma U samples
v: *mut u8
pointer to chroma V samples
a: *mut u8
pointer to alpha samples
y_stride: c_int
luma stride
u_stride: c_int
chroma U stride
v_stride: c_int
chroma V stride
a_stride: c_int
alpha stride
y_size: usize
luma plane size
u_size: usize
chroma U plane size
v_size: usize
chroma V planes size
a_size: usize
alpha-plane size
Trait Implementations§
source§impl Clone for WebPYUVABuffer
impl Clone for WebPYUVABuffer
source§fn clone(&self) -> WebPYUVABuffer
fn clone(&self) -> WebPYUVABuffer
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WebPYUVABuffer
impl Debug for WebPYUVABuffer
impl Copy for WebPYUVABuffer
Auto Trait Implementations§
impl RefUnwindSafe for WebPYUVABuffer
impl !Send for WebPYUVABuffer
impl !Sync for WebPYUVABuffer
impl Unpin for WebPYUVABuffer
impl UnwindSafe for WebPYUVABuffer
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