summaryrefslogtreecommitdiff
path: root/libopenjpeg/image.h
diff options
context:
space:
mode:
authorMickael Savinaud <savmickael@users.noreply.github.com>2011-09-19 13:04:04 +0000
committerMickael Savinaud <savmickael@users.noreply.github.com>2011-09-19 13:04:04 +0000
commitb551844cc2412981bcf7c26c897c07c0e6bc6a8e (patch)
tree1326e5824e0eeb5daf8ea7b49c8a14094a655b99 /libopenjpeg/image.h
parent93f3e2b007e79fc6e06621e10750b8980f2078bb (diff)
Work In Progress: insert elements from V2 framework into the trunk
Diffstat (limited to 'libopenjpeg/image.h')
-rw-r--r--libopenjpeg/image.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libopenjpeg/image.h b/libopenjpeg/image.h
index f828b5b7..cb6ad650 100644
--- a/libopenjpeg/image.h
+++ b/libopenjpeg/image.h
@@ -32,6 +32,9 @@
The functions in IMAGE.C have for goal to realize operations on images.
*/
+struct opj_image;
+struct opj_cp_v2;
+
/** @defgroup IMAGE IMAGE - Implementation of operations on images */
/*@{*/
@@ -42,6 +45,14 @@ Create an empty image
*/
opj_image_t* opj_image_create0(void);
+/**
+ * Updates the components of the image from the coding parameters.
+ *
+ * @param p_image the image to update.
+ * @param p_cp the coding parameters from which to update the image.
+ */
+void opj_image_comp_update(struct opj_image * p_image,const struct opj_cp_v2 * p_cp);
+
/*@}*/
#endif /* __IMAGE_H */