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