summaryrefslogtreecommitdiff
path: root/libopenjpeg
diff options
context:
space:
mode:
authorFrancois-Olivier Devaux <fodevaux@users.noreply.github.com>2010-01-20 15:44:13 +0000
committerFrancois-Olivier Devaux <fodevaux@users.noreply.github.com>2010-01-20 15:44:13 +0000
commitc1a51d68a6a80ba57ce53587bef154fe096ec777 (patch)
tree44fe718724b839364993c4474ee32992b522cc45 /libopenjpeg
parent9324bc4cd4fac1934a9b72ef0f16cf79ccc73d0a (diff)
[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.
Diffstat (limited to 'libopenjpeg')
-rw-r--r--libopenjpeg/openjpeg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libopenjpeg/openjpeg.h b/libopenjpeg/openjpeg.h
index ffcaacaf..288f788e 100644
--- a/libopenjpeg/openjpeg.h
+++ b/libopenjpeg/openjpeg.h
@@ -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 */