From: Mathieu Malaterre Date: Wed, 26 Feb 2014 11:04:33 +0000 (+0000) Subject: [trunk] Import patch from sumatrapdf team. This patch adds new colorspace handling. X-Git-Tag: version.2.0.1~4^2~224 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=70ede09310ac29eaf109792c61a7dc42f1b94811;p=openjpeg [trunk] Import patch from sumatrapdf team. This patch adds new colorspace handling. Update issue 225 --- 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; /**