| OLD | NEW | 
|---|
| 1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 PDFium Authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 
| 6 | 6 | 
| 7 #ifndef CORE_FXCODEC_CODEC_CCODEC_ICCMODULE_H_ | 7 #ifndef CORE_FXCODEC_CODEC_CCODEC_ICCMODULE_H_ | 
| 8 #define CORE_FXCODEC_CODEC_CCODEC_ICCMODULE_H_ | 8 #define CORE_FXCODEC_CODEC_CCODEC_ICCMODULE_H_ | 
| 9 | 9 | 
| 10 #include "core/fxcodec/include/fx_codec_def.h" | 10 #include "core/fxcodec/include/fx_codec_def.h" | 
| 11 #include "core/fxcrt/include/fx_string.h" | 11 #include "core/fxcrt/include/fx_string.h" | 
| 12 #include "core/fxcrt/include/fx_system.h" | 12 #include "core/fxcrt/include/fx_system.h" | 
| 13 | 13 | 
| 14 class CFX_BinaryBuf; | 14 class CFX_BinaryBuf; | 
| 15 class CFX_IccProfileCache; | 15 class CFX_IccProfileCache; | 
| 16 class CFX_IccTransformCache; | 16 class CFX_IccTransformCache; | 
| 17 class CFX_PrivateData; |  | 
| 18 class IFX_FileRead; | 17 class IFX_FileRead; | 
| 19 | 18 | 
| 20 class CCodec_IccModule { | 19 class CCodec_IccModule { | 
| 21  public: | 20  public: | 
| 22   enum IccCS { | 21   enum IccCS { | 
| 23     IccCS_Unknown = 0, | 22     IccCS_Unknown = 0, | 
| 24     IccCS_XYZ, | 23     IccCS_XYZ, | 
| 25     IccCS_Lab, | 24     IccCS_Lab, | 
| 26     IccCS_Luv, | 25     IccCS_Luv, | 
| 27     IccCS_YCbCr, | 26     IccCS_YCbCr, | 
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 86   void* CreateProfile(CCodec_IccModule::IccParam* pIccParam, | 85   void* CreateProfile(CCodec_IccModule::IccParam* pIccParam, | 
| 87                       Icc_CLASS ic, | 86                       Icc_CLASS ic, | 
| 88                       CFX_BinaryBuf* pTransformKey); | 87                       CFX_BinaryBuf* pTransformKey); | 
| 89 | 88 | 
| 90   uint32_t m_nComponents; | 89   uint32_t m_nComponents; | 
| 91   std::map<CFX_ByteString, CFX_IccTransformCache*> m_MapTranform; | 90   std::map<CFX_ByteString, CFX_IccTransformCache*> m_MapTranform; | 
| 92   std::map<CFX_ByteString, CFX_IccProfileCache*> m_MapProfile; | 91   std::map<CFX_ByteString, CFX_IccProfileCache*> m_MapProfile; | 
| 93 }; | 92 }; | 
| 94 | 93 | 
| 95 #endif  // CORE_FXCODEC_CODEC_CCODEC_ICCMODULE_H_ | 94 #endif  // CORE_FXCODEC_CODEC_CCODEC_ICCMODULE_H_ | 
| OLD | NEW | 
|---|