Function webp_decode

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

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.