diff options
| author | Antonin Descampe <antonin@gmail.com> | 2004-07-13 14:37:11 +0000 |
|---|---|---|
| committer | Antonin Descampe <antonin@gmail.com> | 2004-07-13 14:37:11 +0000 |
| commit | de5a22aea053d3934536ee3ff5d2f7b2f706d045 (patch) | |
| tree | 91e0b034affe1ae8b98a06a6e12b1665b2cb7a7f /libopenjpeg/jp2.c | |
| parent | bc563fc5ba6e0369dc7da995e971b7077f4788a5 (diff) | |
Structure j2k_option_t deleted and option "-reduce" integrated to j2k_cp_t.
Parameters changed for j2k_decode, jp2_decode, j2k_decode_jpt_stream
Diffstat (limited to 'libopenjpeg/jp2.c')
| -rw-r--r-- | libopenjpeg/jp2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libopenjpeg/jp2.c b/libopenjpeg/jp2.c index d6d5c139..6f13f4d7 100644 --- a/libopenjpeg/jp2.c +++ b/libopenjpeg/jp2.c @@ -445,7 +445,7 @@ int jp2_write_jp2c(j2k_image_t * img, j2k_cp_t * cp, char *jp2_buffer, } int jp2_read_jp2c(unsigned char *src, int len, jp2_struct_t * jp2_struct, - j2k_cp_t ** cp, j2k_option_t option) + j2k_cp_t * cp) { jp2_box_t box; @@ -457,7 +457,7 @@ int jp2_read_jp2c(unsigned char *src, int len, jp2_struct_t * jp2_struct, src += cio_tell(); - if (j2k_decode(src, len, &jp2_struct->image, cp, option) == 0) { + if (j2k_decode(src, len, jp2_struct->image, cp) == 0) { fprintf(stderr, "JP2F box: failed to decode J2K bitstream image!\n"); return 1; } @@ -509,7 +509,7 @@ int jp2_read_jp() } int jp2_decode(unsigned char *src, int len, jp2_struct_t * jp2_struct, - j2k_cp_t ** cp, j2k_option_t option) + j2k_cp_t * cp) { cio_init(src, len); @@ -519,7 +519,7 @@ int jp2_decode(unsigned char *src, int len, jp2_struct_t * jp2_struct, return 1; if (jp2_read_jp2h(jp2_struct)) return 1; - if (jp2_read_jp2c(src, len, jp2_struct, cp, option)) + if (jp2_read_jp2c(src, len, jp2_struct, cp)) return 1; return 0; } |
