From d3d2a36fbc2b856bd9b6e1a8ed0cab9277e9d517 Mon Sep 17 00:00:00 2001 From: Giuseppe Baruffa Date: Tue, 4 Sep 2007 14:19:55 +0000 Subject: 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. --- libopenjpeg/openjpeg.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'libopenjpeg/openjpeg.h') 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; +/* <