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.
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user