int opj_bool
Definition openjpeg.h:63
Index structure of the codestream.
Definition openjpeg.h:672
Definition openjpeg.h:430
Coding parameters.
Definition j2k.h:204
Defines image data and characteristics.
Definition openjpeg.h:533
FIXME: documentation.
Definition tcd.h:119
float stepsize
Definition tcd.h:124
opj_tcd_precinct_t * precincts
Definition tcd.h:122
int y1
Definition tcd.h:120
int bandno
Definition tcd.h:121
int numbps
Definition tcd.h:123
int x0
Definition tcd.h:120
int y0
Definition tcd.h:120
int x1
Definition tcd.h:120
unsigned char * data
Definition tcd.h:92
int numsegs
Definition tcd.h:99
int y1
Definition tcd.h:94
opj_tcd_seg_t * segs
Definition tcd.h:93
int x1
Definition tcd.h:94
int numnewpasses
Definition tcd.h:98
int len
Definition tcd.h:97
int numlenbits
Definition tcd.h:96
int y0
Definition tcd.h:94
int numbps
Definition tcd.h:95
int x0
Definition tcd.h:94
FIXME: documentation.
Definition tcd.h:79
unsigned char * data
Definition tcd.h:80
int numlenbits
Definition tcd.h:85
opj_tcd_layer_t * layers
Definition tcd.h:81
opj_tcd_pass_t * passes
Definition tcd.h:82
int x1
Definition tcd.h:83
int numbps
Definition tcd.h:84
int y1
Definition tcd.h:83
int y0
Definition tcd.h:83
int numpassesinlayers
Definition tcd.h:87
int totalpasses
Definition tcd.h:88
int x0
Definition tcd.h:83
int numpasses
Definition tcd.h:86
FIXME: documentation.
Definition tcd.h:165
opj_tcd_tile_t * tiles
Definition tcd.h:167
int tw
Definition tcd.h:166
int th
Definition tcd.h:166
FIXME: documentation.
Definition tcd.h:69
double disto
Definition tcd.h:72
unsigned char * data
Definition tcd.h:73
int len
Definition tcd.h:71
int numpasses
Definition tcd.h:70
FIXME: documentation.
Definition tcd.h:60
int len
Definition tcd.h:63
double distortiondec
Definition tcd.h:62
int rate
Definition tcd.h:61
int term
Definition tcd.h:63
FIXME: documentation.
Definition tcd.h:105
int x0
Definition tcd.h:106
int y0
Definition tcd.h:106
opj_tgt_tree_t * incltree
Definition tcd.h:112
int y1
Definition tcd.h:106
int x1
Definition tcd.h:106
int cw
Definition tcd.h:107
opj_tgt_tree_t * imsbtree
Definition tcd.h:113
union opj_tcd_precinct::@0 cblks
opj_tcd_cblk_dec_t * dec
Definition tcd.h:110
opj_tcd_cblk_enc_t * enc
Definition tcd.h:109
int ch
Definition tcd.h:107
FIXME: documentation.
Definition tcd.h:130
opj_tcd_band_t bands[3]
Definition tcd.h:134
int pw
Definition tcd.h:132
int numbands
Definition tcd.h:133
int ph
Definition tcd.h:132
int x0
Definition tcd.h:131
int y0
Definition tcd.h:131
int x1
Definition tcd.h:131
int y1
Definition tcd.h:131
FIXME: documentation.
Definition tcd.h:47
int newlen
Definition tcd.h:54
int numpasses
Definition tcd.h:50
int len
Definition tcd.h:51
int numnewpasses
Definition tcd.h:53
int dataindex
Definition tcd.h:49
unsigned char ** data
Definition tcd.h:48
int maxpasses
Definition tcd.h:52
FIXME: documentation.
Definition tcd.h:151
int x1
Definition tcd.h:152
int y0
Definition tcd.h:152
int numpix
Definition tcd.h:155
int x0
Definition tcd.h:152
double distolayer[100]
Definition tcd.h:157
int packno
packet number
Definition tcd.h:159
double distotile
Definition tcd.h:156
int numcomps
Definition tcd.h:153
int y1
Definition tcd.h:152
opj_tcd_tilecomp_t * comps
Definition tcd.h:154
FIXME: documentation.
Definition tcd.h:140
int x0
Definition tcd.h:141
int y1
Definition tcd.h:141
int y0
Definition tcd.h:141
int x1
Definition tcd.h:141
int numpix
Definition tcd.h:145
opj_tcd_resolution_t * resolutions
Definition tcd.h:143
int numresolutions
Definition tcd.h:142
int * data
Definition tcd.h:144
Tile coder/decoder.
Definition tcd.h:173
opj_tcp_t * tcp
coding/decoding parameters common to all tiles
Definition tcd.h:196
int tp_pos
Position of the tilepart flag in Progression order.
Definition tcd.h:175
double encoding_time
Time taken to encode a tile.
Definition tcd.h:200
int tp_num
Tile part number.
Definition tcd.h:177
opj_common_ptr cinfo
codec context
Definition tcd.h:185
opj_image_t * image
image
Definition tcd.h:190
int tcd_tileno
current encoded/decoded tile
Definition tcd.h:198
int cur_pino
Current Packet iterator number.
Definition tcd.h:183
opj_tcd_image_t * tcd_image
info on each image tile
Definition tcd.h:188
int cur_tp_num
Current tile part number.
Definition tcd.h:179
opj_tcd_tile_t * tcd_tile
pointer to the current encoded/decoded tile
Definition tcd.h:194
opj_cp_t * cp
coding parameters
Definition tcd.h:192
int cur_totnum_tp
Total number of tileparts of the current tile.
Definition tcd.h:181
Tile coding parameters : this structure is used to store coding/decoding parameters common to all til...
Definition j2k.h:166
Tag tree.
Definition tgt.h:58
void tcd_malloc_decode(opj_tcd_t *tcd, opj_image_t *image, opj_cp_t *cp)
Initialize the tile decoder.
Definition tcd.c:620
void tcd_destroy(opj_tcd_t *tcd)
Destroy a previously created TCD handle.
Definition tcd.c:118
struct opj_tcd_cblk_dec opj_tcd_cblk_dec_t
void tcd_free_decode_tile(opj_tcd_t *tcd, int tileno)
Definition tcd.c:1562
struct opj_tcd_layer opj_tcd_layer_t
FIXME: documentation.
void tcd_malloc_decode_tile(opj_tcd_t *tcd, opj_image_t *image, opj_cp_t *cp, int tileno, opj_codestream_info_t *cstr_info)
Definition tcd.c:685
void tcd_free_encode(opj_tcd_t *tcd)
Free the memory allocated for encoding.
Definition tcd.c:357
struct opj_tcd opj_tcd_t
Tile coder/decoder.
void tcd_dump(FILE *fd, opj_tcd_t *tcd, opj_tcd_image_t *img)
Dump the content of a tcd structure.
Definition tcd.c:37
struct opj_tcd_band opj_tcd_band_t
FIXME: documentation.
struct opj_tcd_tile opj_tcd_tile_t
FIXME: documentation.
void tcd_init_encode(opj_tcd_t *tcd, opj_image_t *image, opj_cp_t *cp, int curtileno)
Initialize the tile coder (reuses the memory allocated by tcd_malloc_encode)
Definition tcd.c:404
int tcd_encode_tile(opj_tcd_t *tcd, int tileno, unsigned char *dest, int len, opj_codestream_info_t *cstr_info)
Encode a tile from the raw image into a buffer.
Definition tcd.c:1188
opj_bool tcd_rateallocate(opj_tcd_t *tcd, unsigned char *dest, int len, opj_codestream_info_t *cstr_info)
Definition tcd.c:1021
void tcd_makelayer(opj_tcd_t *tcd, int layno, double thresh, int final)
Definition tcd.c:951
struct opj_tcd_precinct opj_tcd_precinct_t
FIXME: documentation.
opj_bool tcd_decode_tile(opj_tcd_t *tcd, unsigned char *src, int len, int tileno, opj_codestream_info_t *cstr_info)
Decode a tile from a buffer into a raw image.
Definition tcd.c:1337
opj_tcd_t * tcd_create(opj_common_ptr cinfo)
Create a new TCD handle.
Definition tcd.c:101
struct opj_tcd_cblk_enc opj_tcd_cblk_enc_t
FIXME: documentation.
void tcd_makelayer_fixed(opj_tcd_t *tcd, int layno, int final)
Definition tcd.c:855
struct opj_tcd_resolution opj_tcd_resolution_t
FIXME: documentation.
void tcd_malloc_encode(opj_tcd_t *tcd, opj_image_t *image, opj_cp_t *cp, int curtileno)
Initialize the tile coder (allocate the memory)
Definition tcd.c:127
struct opj_tcd_pass opj_tcd_pass_t
FIXME: documentation.
void tcd_rateallocate_fixed(opj_tcd_t *tcd)
Definition tcd.c:944
struct opj_tcd_seg opj_tcd_seg_t
FIXME: documentation.
struct opj_tcd_image opj_tcd_image_t
FIXME: documentation.
void tcd_free_decode(opj_tcd_t *tcd)
Free the memory allocated for decoding.
Definition tcd.c:1551
struct opj_tcd_tilecomp opj_tcd_tilecomp_t
FIXME: documentation.