[][src]Function webp_dev::sys::webp::webp_decode

pub unsafe fn webp_decode(
    data: *const u8,
    data_size: usize,
    config: *mut WebPDecoderConfig
) -> VP8StatusCode

Non-incremental version. This version decodes the full data at once, taking 'config' into account.

Returns decoding status (which should be VP8_STATUS_OK if the decoding was successful). Note that 'config' cannot be NULL.