opj_image_t * image
Encoding: pointer to the src image.
Definition: t2.h:56
int OPJ_BOOL
Definition: openjpeg.h:110
unsigned char OPJ_BYTE
Definition: openjpeg.h:117
int32_t OPJ_INT32
Definition: openjpeg.h:125
void opj_t2_destroy(opj_t2_t *t2)
Destroy a T2 handle.
Definition: t2.c:508
Defines image data and characteristics.
Definition: openjpeg.h:661
enum T2_MODE J2K_T2_MODE
T2 encoding mode.
OPJ_BOOL opj_t2_encode_packets(opj_t2_t *t2, OPJ_UINT32 tileno, opj_tcd_tile_t *tile, OPJ_UINT32 maxlayers, OPJ_BYTE *dest, OPJ_UINT32 *p_data_written, OPJ_UINT32 len, opj_codestream_info_t *cstr_info, OPJ_UINT32 tpnum, OPJ_INT32 tppos, OPJ_UINT32 pino, J2K_T2_MODE t2_mode)
Encode the packets of a tile to a destination buffer.
Definition: t2.c:199
Coding parameters.
Definition: j2k.h:341
Index structure of the codestream (FIXME should be expand and enhance)
Definition: openjpeg.h:990
uint32_t OPJ_UINT32
Definition: openjpeg.h:126
FIXME DOC.
Definition: tcd.h:176
OPJ_BOOL opj_t2_decode_packets(opj_t2_t *t2, OPJ_UINT32 tileno, opj_tcd_tile_t *tile, OPJ_BYTE *src, OPJ_UINT32 *p_data_read, OPJ_UINT32 len, opj_codestream_index_t *cstr_info)
Decode the packets of a tile from a source buffer.
Definition: t2.c:342
opj_cp_t * cp
pointer to the image coding parameters
Definition: t2.h:58
Tier-2 coding.
Definition: t2.h:53
Index structure of the codestream.
Definition: openjpeg.h:803
struct opj_t2 opj_t2_t
Tier-2 coding.
opj_t2_t * opj_t2_create(opj_image_t *p_image, opj_cp_t *p_cp)
Creates a Tier 2 handle.
Definition: t2.c:494