summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2014-02-26 11:04:33 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2014-02-26 11:04:33 +0000
commit70ede09310ac29eaf109792c61a7dc42f1b94811 (patch)
tree8cde3eaf66c17098d6bf2866eafe103a3edd23c6 /src/lib
parent3da30304fc1225ab55ab7c5e791870fec1b0b3c3 (diff)
[trunk] Import patch from sumatrapdf team. This patch adds new colorspace handling.
Update issue 225
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/openjp2/openjpeg.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/openjp2/openjpeg.h b/src/lib/openjp2/openjpeg.h
index 4792433a..338a771d 100644
--- a/src/lib/openjp2/openjpeg.h
+++ b/src/lib/openjp2/openjpeg.h
@@ -193,10 +193,11 @@ typedef enum PROG_ORDER {
*/
typedef enum COLOR_SPACE {
OPJ_CLRSPC_UNKNOWN = -1, /**< not supported by the library */
- OPJ_CLRSPC_UNSPECIFIED = 0, /**< not specified in the codestream */
+ OPJ_CLRSPC_UNSPECIFIED = 0, /**< not specified in the codestream */
OPJ_CLRSPC_SRGB = 1, /**< sRGB */
OPJ_CLRSPC_GRAY = 2, /**< grayscale */
- OPJ_CLRSPC_SYCC = 3 /**< YUV */
+ OPJ_CLRSPC_SYCC = 3, /**< YUV */
+ OPJ_CLRSPC_EYCC = 4 /**< e-YCC */
} OPJ_COLOR_SPACE;
/**