diff options
| author | Francois-Olivier Devaux <fodevaux@users.noreply.github.com> | 2004-12-08 09:06:04 +0000 |
|---|---|---|
| committer | Francois-Olivier Devaux <fodevaux@users.noreply.github.com> | 2004-12-08 09:06:04 +0000 |
| commit | 9225f53d62113403d4c1d0c31683762a8e4b94a8 (patch) | |
| tree | aabfb0a980078cb87bf02a309df794c232324ac0 /libopenjpeg/jp2.h | |
| parent | eb1b017ec76d97c3fd762e1c76150f2790ca54f6 (diff) | |
Modularity increase in jp2_init_stdjp2 function and jp2c box functions to enable new version of MJ2 module
Diffstat (limited to 'libopenjpeg/jp2.h')
| -rw-r--r-- | libopenjpeg/jp2.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libopenjpeg/jp2.h b/libopenjpeg/jp2.h index f8c7b3af..5d20ae61 100644 --- a/libopenjpeg/jp2.h +++ b/libopenjpeg/jp2.h @@ -69,15 +69,16 @@ typedef struct { * jp2_struct: the structure you are creating * img: a j2k_image_t wich will help you to create the jp2_structure */ -int jp2_init_stdjp2(jp2_struct_t * jp2_struct, j2k_image_t * img); +int jp2_init_stdjp2(jp2_struct_t * jp2_struct); -/* int jp2_write_jp2c(char *j2k_codestream, int j2k_len); +/* int jp2_write_jp2c(int j2k_len, int *j2k_codestream_offset, char *j2k_codestream) * * Write the jp2c codestream box - * jp2_struct: the jp2 structure you are working with + * j2k_len: the j2k codestream length + * j2k_codestream_offset: the function will return the j2k codestream offset * j2k_codestream: the j2k codestream to include in jp2 file */ -int jp2_write_jp2c(jp2_struct_t * jp2_struct, char *j2k_codestream); +int jp2_write_jp2c(int j2k_len, int *j2k_codestream_offset, char *j2k_codestream); /* int jp2_write_jp2h(jp2_struct_t * jp2_struct); * |
