summaryrefslogtreecommitdiff
path: root/libopenjpeg/jp2.h
diff options
context:
space:
mode:
authorFrancois-Olivier Devaux <fodevaux@users.noreply.github.com>2007-05-10 14:21:09 +0000
committerFrancois-Olivier Devaux <fodevaux@users.noreply.github.com>2007-05-10 14:21:09 +0000
commit1200dd871a3f39d8b7367f3bcbeb2d144c38369a (patch)
treedebdbc3082731c238a9aaefd4aaf2a2bdcfd09f9 /libopenjpeg/jp2.h
parentf3170bf64e39a9f9d512adde7e7b315f156fed8e (diff)
MJ2 codec updated from LibOpenJPEG version 0.97 to LibOpenJPEG version 1. Hence, the MJ2 codec will now take advantage of all the improvements and optimizations done on the LibOpenJPEG library.
Diffstat (limited to 'libopenjpeg/jp2.h')
-rw-r--r--libopenjpeg/jp2.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/libopenjpeg/jp2.h b/libopenjpeg/jp2.h
index 6448db4b..61fc1e42 100644
--- a/libopenjpeg/jp2.h
+++ b/libopenjpeg/jp2.h
@@ -102,6 +102,19 @@ typedef struct opj_jp2_box {
/*@{*/
/* ----------------------------------------------------------------------- */
/**
+Write the JP2H box - JP2 Header box (used in MJ2)
+@param jp2 JP2 handle
+@param cio Output buffer stream
+*/
+void jp2_write_jp2h(opj_jp2_t *jp2, opj_cio_t *cio);
+/**
+Read the JP2H box - JP2 Header box (used in MJ2)
+@param jp2 JP2 handle
+@param cio Input buffer stream
+@return Returns true if successful, returns false otherwise
+*/
+bool jp2_read_jp2h(opj_jp2_t *jp2, opj_cio_t *cio);
+/**
Creates a JP2 decompression structure
@param cinfo Codec context info
@return Returns a handle to a JP2 decompressor if successful, returns NULL otherwise