Function openjpeg_sys::opj_setup_decoder

source ·
pub unsafe extern "C" fn opj_setup_decoder(
    p_codec: *mut opj_codec_t,
    parameters: *mut opj_dparameters_t,
) -> OPJ_BOOL
Expand description

Setup the decoder with decompression parameters provided by the user and with the message handler provided by the user.

  • p_codec — decompressor handler
  • parameters — decompression parameters

@return true if the decoder is correctly set