Test
[openjpeg.git] / indexer_JPIP / j2k.h
index a6a8fbdf76ca006f8fe8b9762cb631f216d4191d..5ead3b453bb0aaf9838d9827bba9e89f9d8019a8 100644 (file)
@@ -72,6 +72,7 @@ typedef struct {
   int x0, y0;          /* XOsiz, YOsiz              */
   int x1, y1;          /* Xsiz, Ysiz                */ 
   int numcomps;        /* number of components      */
+  int index_on;        /* 0 = no index || 1 = index */
   j2k_comp_t *comps;   /* image-components          */
 } j2k_image_t;
 
@@ -104,7 +105,6 @@ typedef struct {
 } j2k_poc_t;
 
 typedef struct {
-  //int first;
   int csty;                  /* coding style                                                            */  
   int prg;                   /* progression order                                                       */
   int numlayers;             /* number of layers                                                        */
@@ -127,7 +127,6 @@ typedef struct {
   int ppm;                   /* If ppm == 1 --> there was a PPM marker for the present tile             */
   int ppm_store;             /* Use in case of multiple marker PPM (number of info already store)       */
   int ppm_previous;          /* Use in case of multiple marker PPM (case on non-finished previous info) */
-  int index_on;                     /* 0 = no index || 1 = index */
   j2k_tcp_t *tcps;           /* tile coding parameters                                                  */
 } j2k_cp_t;