[][src]Function openjpeg2_sys::opj_decode

pub unsafe extern "C" fn opj_decode(
    p_decompressor: *mut opj_codec_t,
    p_stream: *mut opj_stream_t,
    p_image: *mut opj_image_t
) -> OPJ_BOOL

Decode an image from a JPEG-2000 codestream

@param p_decompressor decompressor handle @param p_stream Input buffer stream @param p_image the decoded image @return true if success, otherwise false