Function webp_idec_get_yuva

Source
pub unsafe fn webp_idec_get_yuva(
    idec: *const WebPIDecoder,
    last_y: *mut c_int,
    u: *mut *mut u8,
    v: *mut *mut u8,
    a: *mut *mut u8,
    width: *mut c_int,
    height: *mut c_int,
    stride: *mut c_int,
    uv_stride: *mut c_int,
    a_stride: *mut c_int,
) -> *mut u8
Expand description

Same as above function to get a YUVA image.

Returns pointer to the luma plane or NULL in case of error. If there is no alpha information the alpha pointer ‘*a’ will be returned NULL.