48 struct opj_decompression {
119 struct opj_compression {
155 FILE* output_stream);
OPJ_BOOL(* opj_end_decompress)(void *p_codec, struct opj_stream_private *cio, struct opj_event_mgr *p_manager)
Reading function used after codestream if necessary.
Definition: opj_codec.h:83
void(* opj_dump_codec)(void *p_codec, OPJ_INT32 info_flag, FILE *output_stream)
Definition: opj_codec.h:154
OPJ_BOOL(* opj_end_compress)(void *p_codec, struct opj_stream_private *p_cio, struct opj_event_mgr *p_manager)
Definition: opj_codec.h:136
OPJ_BOOL(* opj_setup_encoder)(void *p_codec, opj_cparameters_t *p_param, struct opj_image *p_image, struct opj_event_mgr *p_manager)
Definition: opj_codec.h:142
OPJ_BOOL(* opj_read_tile_header)(void *p_codec, OPJ_UINT32 *p_tile_index, OPJ_UINT32 *p_data_size, OPJ_INT32 *p_tile_x0, OPJ_INT32 *p_tile_y0, OPJ_INT32 *p_tile_x1, OPJ_INT32 *p_tile_y1, OPJ_UINT32 *p_nb_comps, OPJ_BOOL *p_should_go_on, struct opj_stream_private *p_cio, struct opj_event_mgr *p_manager)
FIXME DOC.
Definition: opj_codec.h:62
void * m_codec
FIXME DOC.
Definition: opj_codec.h:149
void(* opj_destroy)(void *p_codec)
Codec destroy function handler.
Definition: opj_codec.h:88
Message handler object used for.
Definition: event.h:50
OPJ_BOOL(* opj_encode)(void *p_codec, struct opj_stream_private *p_cio, struct opj_event_mgr *p_manager)
Definition: opj_codec.h:125
OPJ_BOOL is_decompressor
Flag to indicate if the codec is used to decode or encode.
Definition: opj_codec.h:153
int OPJ_BOOL
Definition: openjpeg.h:110
OPJ_BOOL(* opj_get_decoded_tile)(void *p_codec, opj_stream_private_t *p_cio, opj_image_t *p_image, struct opj_event_mgr *p_manager, OPJ_UINT32 tile_index)
Get tile function.
Definition: opj_codec.h:103
Byte input-output stream.
Definition: cio.h:81
unsigned char OPJ_BYTE
Definition: openjpeg.h:117
OPJ_BOOL(* opj_decode)(void *p_codec, struct opj_stream_private *p_cio, opj_image_t *p_image, struct opj_event_mgr *p_manager)
Decoding function.
Definition: opj_codec.h:56
void(* opj_setup_decoder)(void *p_codec, opj_dparameters_t *p_param)
Setup decoder function handler.
Definition: opj_codec.h:91
int32_t OPJ_INT32
Definition: openjpeg.h:125
Information structure about the codestream (FIXME should be expand and enhance)
Definition: openjpeg.h:919
struct opj_codec_private::@2::opj_compression m_compression
Defines image data and characteristics.
Definition: openjpeg.h:666
OPJ_BOOL(* opj_decode_tile_data)(void *p_codec, OPJ_UINT32 p_tile_index, OPJ_BYTE *p_data, OPJ_UINT32 p_data_size, struct opj_stream_private *p_cio, struct opj_event_mgr *p_manager)
FIXME DOC.
Definition: opj_codec.h:75
Decompression parameters.
Definition: openjpeg.h:509
struct opj_codec_private opj_codec_private_t
Main codec handler used for compression or decompression.
OPJ_BOOL(* opj_set_decode_area)(void *p_codec, opj_image_t *p_image, OPJ_INT32 p_start_x, OPJ_INT32 p_end_x, OPJ_INT32 p_start_y, OPJ_INT32 p_end_y, struct opj_event_mgr *p_manager)
Set decode area function handler.
Definition: opj_codec.h:94
struct opj_codec_private::@2::opj_decompression m_decompression
OPJ_BOOL(* opj_start_compress)(void *p_codec, struct opj_stream_private *cio, struct opj_image *p_image, struct opj_event_mgr *p_manager)
Definition: opj_codec.h:120
union opj_codec_private::@2 m_codec_data
FIXME DOC.
OPJ_BOOL(* opj_read_header)(struct opj_stream_private *cio, void *p_codec, opj_image_t **p_image, struct opj_event_mgr *p_manager)
Main header reading function handler.
Definition: opj_codec.h:50
OPJ_BOOL(* opj_write_tile)(void *p_codec, OPJ_UINT32 p_tile_index, OPJ_BYTE *p_data, OPJ_UINT32 p_data_size, struct opj_stream_private *p_cio, struct opj_event_mgr *p_manager)
Definition: opj_codec.h:129
OPJ_BOOL(* opj_set_threads)(void *p_codec, OPJ_UINT32 num_threads)
Set number of threads.
Definition: opj_codec.h:160
Index structure of the codestream (FIXME should be expand and enhance)
Definition: openjpeg.h:994
uint32_t OPJ_UINT32
Definition: openjpeg.h:126
OPJ_BOOL(* opj_set_decoded_resolution_factor)(void *p_codec, OPJ_UINT32 res_factor, opj_event_mgr_t *p_manager)
Set the decoded resolution factor.
Definition: opj_codec.h:110
opj_event_mgr_t m_event_mgr
Event handler.
Definition: opj_codec.h:151
Compression parameters.
Definition: openjpeg.h:353
Main codec handler used for compression or decompression.
Definition: opj_codec.h:42