summaryrefslogtreecommitdiff
path: root/core/include/fxcodec
diff options
context:
space:
mode:
Diffstat (limited to 'core/include/fxcodec')
-rw-r--r--core/include/fxcodec/fx_codec.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/core/include/fxcodec/fx_codec.h b/core/include/fxcodec/fx_codec.h
index 1c120aa0ab..c1842626f0 100644
--- a/core/include/fxcodec/fx_codec.h
+++ b/core/include/fxcodec/fx_codec.h
@@ -461,7 +461,7 @@ class ICodec_Jbig2Encoder {
};
class ICodec_IccModule {
public:
- typedef enum {
+ enum IccCS {
IccCS_Unknown = 0,
IccCS_XYZ,
IccCS_Lab,
@@ -474,8 +474,9 @@ class ICodec_IccModule {
IccCS_Rgb,
IccCS_Cmyk,
IccCS_Cmy
- } IccCS;
- typedef struct _IccParam {
+ };
+
+ struct IccParam {
FX_DWORD Version;
IccCS ColorSpace;
FX_DWORD dwProfileType;
@@ -483,7 +484,7 @@ class ICodec_IccModule {
uint8_t* pProfileData;
FX_DWORD dwProfileSize;
double Gamma;
- } IccParam;
+ };
virtual ~ICodec_IccModule() {}