]> granicus.if.org Git - openjpeg/commitdiff
[trunk] Import patch from sumatrapdf team. This patch adds new colorspace handling.
authorMathieu Malaterre <mathieu.malaterre@gmail.com>
Wed, 26 Feb 2014 11:04:33 +0000 (11:04 +0000)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>
Wed, 26 Feb 2014 11:04:33 +0000 (11:04 +0000)
Update issue 225

src/lib/openjp2/openjpeg.h

index 4792433aaf721804033e487f6f10fe3e95fc90dd..338a771dee05ac4c25951e3fd54c34950171d685 100644 (file)
@@ -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;
 
 /**