diff options
| author | Giuseppe Baruffa <gbaruffa@users.noreply.github.com> | 2007-09-04 14:19:55 +0000 |
|---|---|---|
| committer | Giuseppe Baruffa <gbaruffa@users.noreply.github.com> | 2007-09-04 14:19:55 +0000 |
| commit | d3d2a36fbc2b856bd9b6e1a8ed0cab9277e9d517 (patch) | |
| tree | 4d5df25249f810cde9d67b2c7560ecd3f2cfe108 /libopenjpeg/openjpeg.h | |
| parent | 564e16d5cea51dc877870055e2703330ad323cdd (diff) | |
Added some fields in the codestream_info structure: they are used to record the position of single tile parts. Changed also the write_index function in the codec, to reflect the presence of this new information.
Diffstat (limited to 'libopenjpeg/openjpeg.h')
| -rw-r--r-- | libopenjpeg/openjpeg.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libopenjpeg/openjpeg.h b/libopenjpeg/openjpeg.h index c2bb3c58..2460d925 100644 --- a/libopenjpeg/openjpeg.h +++ b/libopenjpeg/openjpeg.h @@ -628,6 +628,16 @@ typedef struct opj_tile_info { int nbpix; /** add fixed_quality */ double distotile; + /* UniPG>> */ + /** number of tile parts */ + int num_tps; + /** start position of tile part */ + int *tp_start_pos; + /** end position of tile part header */ + int *tp_end_header; + /** end position of tile part */ + int *tp_end_pos; + /* << UniPG */ } opj_tile_info_t; /** @@ -666,6 +676,10 @@ typedef struct opj_codestream_info { int layer; /** number of decomposition */ int decomposition; +/* UniPG>> */ + /** main header position */ + int main_head_start; +/* <<UniPG */ /** main header position */ int main_head_end; /** codestream's size */ |
