summaryrefslogtreecommitdiff
path: root/libopenjpeg/jp2.h
diff options
context:
space:
mode:
authorMickael Savinaud <savmickael@users.noreply.github.com>2011-09-27 12:14:11 +0000
committerMickael Savinaud <savmickael@users.noreply.github.com>2011-09-27 12:14:11 +0000
commita600d8f4e2c21ea0532d4af3dc6374b60b93c583 (patch)
tree2711e66ac75b34b2bd7c39c880b8f438c6d7f050 /libopenjpeg/jp2.h
parentde7793e918ada457ae9ab59023454a47e768953b (diff)
[trunk] WIP: add basis for a new output management of the codestream information and index
Diffstat (limited to 'libopenjpeg/jp2.h')
-rw-r--r--libopenjpeg/jp2.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libopenjpeg/jp2.h b/libopenjpeg/jp2.h
index 0203fd12..9c06b348 100644
--- a/libopenjpeg/jp2.h
+++ b/libopenjpeg/jp2.h
@@ -145,7 +145,7 @@ JP2 component
typedef struct opj_jp2_comps {
int depth;
int sgnd;
- int bpcc;
+ OPJ_UINT32 bpcc;
} opj_jp2_comps_t;
/**
@@ -221,8 +221,8 @@ opj_jp2_v2_t;
JP2 Box
*/
typedef struct opj_jp2_box {
- OPJ_INT32 length;
- OPJ_INT32 type;
+ OPJ_UINT32 length;
+ OPJ_UINT32 type;
OPJ_INT32 init_pos;
} opj_jp2_box_t;
@@ -334,7 +334,7 @@ opj_bool jp2_end_decompress(opj_jp2_v2_t *jp2, struct opj_stream_private *cio, s
*/
opj_bool jp2_read_header( struct opj_stream_private *p_stream,
opj_jp2_v2_t *jp2,
- opj_file_info_t * p_file_info,
+ opj_image_header_t * p_img_header,
struct opj_event_mgr * p_manager
);