[FOD] Created a new constant in openjpeg.h to differentiate the case when the colorsp...
authorFrancois-Olivier Devaux <fodevaux@users.noreply.github.com>
Wed, 20 Jan 2010 15:44:13 +0000 (15:44 +0000)
committerFrancois-Olivier Devaux <fodevaux@users.noreply.github.com>
Wed, 20 Jan 2010 15:44:13 +0000 (15:44 +0000)
ChangeLog
libopenjpeg/openjpeg.h

index e5151c838f6d06cc49d5feadbc5f091ca232468a..23c8a3c239d575596751fd411d7860a9b5687b83 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,9 @@ What's New for OpenJPEG
 ! : changed
 + : added
 
+January 20, 2010
+! [FOD] Created a new constant in openjpeg.h to differentiate the case when the colorspace is not supported by the library and when it is not specified in the codestream. Suggested by Matteo Italia.
+
 November 5, 2009
 * [antonin] fixed MCT check bug in t1_getwmsedec. See http://groups.google.com/group/openjpeg/browse_thread/thread/d9d96dd4ec3e7443 for info.
 
index ffcaacaf6e57fd490b6de72f398a298797c7f458..288f788e782b725b10a626975efb1da09b793297 100644 (file)
@@ -147,7 +147,8 @@ typedef enum PROG_ORDER {
 Supported image color spaces
 */
 typedef enum COLOR_SPACE {
-       CLRSPC_UNKNOWN = -1,    /**< place-holder */
+       CLRSPC_UNKNOWN = -1,    /**< not supported by the library */
+       CLRSPC_UNSPECIFIED = 0, /**< not specified in the codestream */ 
        CLRSPC_SRGB = 1,                /**< sRGB */
        CLRSPC_GRAY = 2,                /**< grayscale */
        CLRSPC_SYCC = 3                 /**< YUV */