74 int t2_encode_packets(
opj_t2_t* t2,
int tileno,
opj_tcd_tile_t *tile,
int maxlayers,
unsigned char *dest,
int len,
opj_codestream_info_t *cstr_info,
int tpnum,
int tppos,
int pino,
J2K_T2_MODE t2_mode,
int cur_totnum_tp);
opj_image_t * image
Encoding: pointer to the src image.
Definition: t2.h:50
Defines image data and characteristics.
Definition: openjpeg.h:533
opj_common_ptr cinfo
codec context
Definition: t2.h:47
enum T2_MODE J2K_T2_MODE
T2 encoding mode.
opj_t2_t * t2_create(opj_common_ptr cinfo, opj_image_t *image, opj_cp_t *cp)
Create a T2 handle.
Definition: t2.c:807
Coding parameters.
Definition: j2k.h:204
void t2_destroy(opj_t2_t *t2)
Destroy a T2 handle.
Definition: t2.c:818
FIXME: documentation.
Definition: tcd.h:151
opj_cp_t * cp
pointer to the image coding parameters
Definition: t2.h:52
Tier-2 coding.
Definition: t2.h:45
Index structure of the codestream.
Definition: openjpeg.h:672
int t2_decode_packets(opj_t2_t *t2, unsigned char *src, int len, int tileno, opj_tcd_tile_t *tile, opj_codestream_info_t *cstr_info)
Decode the packets of a tile from a source buffer.
Definition: t2.c:716
int t2_encode_packets(opj_t2_t *t2, int tileno, opj_tcd_tile_t *tile, int maxlayers, unsigned char *dest, int len, opj_codestream_info_t *cstr_info, int tpnum, int tppos, int pino, J2K_T2_MODE t2_mode, int cur_totnum_tp)
Encode the packets of a tile to a destination buffer.
Definition: t2.c:625
struct opj_t2 opj_t2_t
Tier-2 coding.
Definition: openjpeg.h:430