Function openjpeg_sys::opj_decode

source ยท
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
Expand description

Decode an image from a JPEG-2000 codestream

  • p_decompressor โ€” decompressor handle
  • p_stream โ€” Input buffer stream
  • p_image โ€” the decoded image @return true if success, otherwise false