Function libwebp_sys::WebPDecode

source ·
pub unsafe extern "C" fn WebPDecode(
    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.