| Index: core/src/fxcodec/codec/codec_int.h
|
| diff --git a/core/src/fxcodec/codec/codec_int.h b/core/src/fxcodec/codec/codec_int.h
|
| index ec558bea28fe418acf8ec205b6c0177252865d3d..4bcdeed7ad1f8e92a9465f8d8cb8497c5cf9948e 100644
|
| --- a/core/src/fxcodec/codec/codec_int.h
|
| +++ b/core/src/fxcodec/codec/codec_int.h
|
| @@ -9,11 +9,15 @@
|
|
|
| #include <limits.h>
|
| #include <list>
|
| +#include <map>
|
|
|
| #include "../../../../third_party/libopenjpeg20/openjpeg.h" // For OPJ_SIZE_T.
|
| #include "../../../include/fxcodec/fx_codec.h"
|
| #include "../jbig2/JBig2_Context.h"
|
|
|
| +class CFX_IccProfileCache;
|
| +class CFX_IccTransformCache;
|
| +
|
| class CCodec_BasicModule : public ICodec_BasicModule {
|
| public:
|
| virtual FX_BOOL RunLengthEncode(const uint8_t* src_buf,
|
| @@ -225,18 +229,19 @@ class CCodec_IccModule : public ICodec_IccModule {
|
| virtual ~CCodec_IccModule();
|
|
|
| protected:
|
| - CFX_MapByteStringToPtr m_MapTranform;
|
| - CFX_MapByteStringToPtr m_MapProfile;
|
| - FX_DWORD m_nComponents;
|
| - typedef enum {
|
| + enum Icc_CLASS {
|
| Icc_CLASS_INPUT = 0,
|
| Icc_CLASS_OUTPUT,
|
| Icc_CLASS_PROOF,
|
| Icc_CLASS_MAX
|
| - } Icc_CLASS;
|
| + };
|
| void* CreateProfile(ICodec_IccModule::IccParam* pIccParam,
|
| Icc_CLASS ic,
|
| CFX_BinaryBuf* pTransformKey);
|
| +
|
| + FX_DWORD m_nComponents;
|
| + std::map<CFX_ByteString, CFX_IccTransformCache*> m_MapTranform;
|
| + std::map<CFX_ByteString, CFX_IccProfileCache*> m_MapProfile;
|
| };
|
|
|
| class CCodec_JpxModule : public ICodec_JpxModule {
|
|
|