[][src]Struct libwebp_sys::WebPYUVABuffer

#[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,
}

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

impl Clone for WebPYUVABuffer[src]

impl Copy for WebPYUVABuffer[src]

impl Debug for WebPYUVABuffer[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.