summaryrefslogtreecommitdiff
path: root/src/lib/openjp2/j2k.h
diff options
context:
space:
mode:
authorMickael Savinaud <savmickael@users.noreply.github.com>2012-11-16 08:29:43 +0000
committerMickael Savinaud <savmickael@users.noreply.github.com>2012-11-16 08:29:43 +0000
commitfcf9fa36515132d0a75bfcfb58cf9439dcbe6240 (patch)
tree07c3b6711d60db8039604c4effc04a0d20ec29ca /src/lib/openjp2/j2k.h
parent583df79be9502bc4ff3ac7181d902675aabc6716 (diff)
[trunk] add opj_ prefix to some internal define and use the new opj type instead of int and float in some files
Diffstat (limited to 'src/lib/openjp2/j2k.h')
-rw-r--r--src/lib/openjp2/j2k.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/openjp2/j2k.h b/src/lib/openjp2/j2k.h
index dda4db5d..be341724 100644
--- a/src/lib/openjp2/j2k.h
+++ b/src/lib/openjp2/j2k.h
@@ -157,9 +157,9 @@ typedef enum T2_MODE {
*/
typedef struct opj_stepsize {
/** exponent */
- int expn;
+ OPJ_INT32 expn;
/** mantissa */
- int mant;
+ OPJ_INT32 mant;
} opj_stepsize_t;
/**
@@ -803,7 +803,7 @@ OPJ_BOOL opj_j2k_write_tile ( opj_j2k_t * p_j2k,
/**
* Encodes an image into a JPEG-2000 codestream
*/
-OPJ_BOOL opj_j2k_encode_v2( opj_j2k_t * p_j2k,
+OPJ_BOOL opj_j2k_encode( opj_j2k_t * p_j2k,
opj_stream_private_t *cio,
opj_event_mgr_t * p_manager );