public unsafe static extern bool opj_set_error_handler(CodecHandle p_codec, opj_msg_callback p_callback, void *p_user_data);
public static extern bool opj_end_decompress(CodecHandle codec, StreamHandle stream);
public unsafe static extern bool opj_decode(CodecHandle codec, StreamHandle stream, opj_image *image);
public unsafe static extern bool opj_read_header(StreamHandle p_stream, CodecHandle p_codec, opj_image **p_image);
public static extern bool opj_set_decoded_resolution_factor(CodecHandle p_codec, uint res_factor);
public unsafe static extern bool opj_setup_decoder(CodecHandle p_codec, IntPtr parameters);