summaryrefslogtreecommitdiff
path: root/src/lib/openjp2/openjpeg.h
diff options
context:
space:
mode:
authorMickael Savinaud <savmickael@users.noreply.github.com>2012-10-03 17:03:41 +0000
committerMickael Savinaud <savmickael@users.noreply.github.com>2012-10-03 17:03:41 +0000
commite798fe37e191c1ea8b3fa248662d7cc0b75674d5 (patch)
tree4adcf0320b54a573f1325cdf097623e97e129533 /src/lib/openjp2/openjpeg.h
parentf4a8f7165c4758c553ed27ddc0497b793a95e9b8 (diff)
[trunk]remove warnings in pi.c through the update of poc struct types with new opj_types.
Diffstat (limited to 'src/lib/openjp2/openjpeg.h')
-rw-r--r--src/lib/openjp2/openjpeg.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/openjp2/openjpeg.h b/src/lib/openjp2/openjpeg.h
index 402b2c91..6a6d0fcd 100644
--- a/src/lib/openjp2/openjpeg.h
+++ b/src/lib/openjp2/openjpeg.h
@@ -269,23 +269,23 @@ typedef struct opj_poc {
/** Layer num end,Resolution num end, Component num end, given by POC */
OPJ_UINT32 layno1, resno1, compno1;
/** Layer num start,Precinct num start, Precinct num end */
- int layno0, precno0, precno1;
+ OPJ_UINT32 layno0, precno0, precno1;
/** Progression order enum*/
OPJ_PROG_ORDER prg1,prg;
/** Progression order string*/
- char progorder[5];
+ OPJ_CHAR progorder[5];
/** Tile number */
- int tile;
+ OPJ_UINT32 tile;
/** Start and end values for Tile width and height*/
- int tx0,tx1,ty0,ty1;
+ OPJ_INT32 tx0,tx1,ty0,ty1;
/** Start value, initialised in pi_initialise_encode*/
- int layS, resS, compS, prcS;
+ OPJ_UINT32 layS, resS, compS, prcS;
/** End value, initialised in pi_initialise_encode */
- int layE, resE, compE, prcE;
+ OPJ_UINT32 layE, resE, compE, prcE;
/** Start and end values of Tile width and height, initialised in pi_initialise_encode*/
- int txS,txE,tyS,tyE,dx,dy;
+ OPJ_UINT32 txS,txE,tyS,tyE,dx,dy;
/** Temporary values for Tile parts, initialised in pi_create_encode */
- int lay_t, res_t, comp_t, prc_t,tx0_t,ty0_t;
+ OPJ_UINT32 lay_t, res_t, comp_t, prc_t,tx0_t,ty0_t;
} opj_poc_t;
/**