Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1125)

Side by Side Diff: core/fxcodec/codec/ccodec_iccmodule.h

Issue 2060913003: Make code compile with clang_use_chrome_plugin (part II) (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « core/fpdftext/include/cpdf_textpagefind.h ('k') | core/fxcodec/codec/fx_codec.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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"
(...skipping 25 matching lines...) Expand all
36 struct IccParam { 36 struct IccParam {
37 uint32_t Version; 37 uint32_t Version;
38 IccCS ColorSpace; 38 IccCS ColorSpace;
39 uint32_t dwProfileType; 39 uint32_t dwProfileType;
40 uint32_t dwFormat; 40 uint32_t dwFormat;
41 uint8_t* pProfileData; 41 uint8_t* pProfileData;
42 uint32_t dwProfileSize; 42 uint32_t dwProfileSize;
43 double Gamma; 43 double Gamma;
44 }; 44 };
45 45
46 CCodec_IccModule();
46 ~CCodec_IccModule(); 47 ~CCodec_IccModule();
47 48
48 IccCS GetProfileCS(const uint8_t* pProfileData, unsigned int dwProfileSize); 49 IccCS GetProfileCS(const uint8_t* pProfileData, unsigned int dwProfileSize);
49 IccCS GetProfileCS(IFX_FileRead* pFile); 50 IccCS GetProfileCS(IFX_FileRead* pFile);
50 void* CreateTransform(CCodec_IccModule::IccParam* pInputParam, 51 void* CreateTransform(CCodec_IccModule::IccParam* pInputParam,
51 CCodec_IccModule::IccParam* pOutputParam, 52 CCodec_IccModule::IccParam* pOutputParam,
52 CCodec_IccModule::IccParam* pProofParam = nullptr, 53 CCodec_IccModule::IccParam* pProofParam = nullptr,
53 uint32_t dwIntent = Icc_INTENT_PERCEPTUAL, 54 uint32_t dwIntent = Icc_INTENT_PERCEPTUAL,
54 uint32_t dwFlag = Icc_FLAGS_DEFAULT, 55 uint32_t dwFlag = Icc_FLAGS_DEFAULT,
55 uint32_t dwPrfIntent = Icc_INTENT_ABSOLUTE_COLORIMETRIC, 56 uint32_t dwPrfIntent = Icc_INTENT_ABSOLUTE_COLORIMETRIC,
(...skipping 29 matching lines...) Expand all
85 void* CreateProfile(CCodec_IccModule::IccParam* pIccParam, 86 void* CreateProfile(CCodec_IccModule::IccParam* pIccParam,
86 Icc_CLASS ic, 87 Icc_CLASS ic,
87 CFX_BinaryBuf* pTransformKey); 88 CFX_BinaryBuf* pTransformKey);
88 89
89 uint32_t m_nComponents; 90 uint32_t m_nComponents;
90 std::map<CFX_ByteString, CFX_IccTransformCache*> m_MapTranform; 91 std::map<CFX_ByteString, CFX_IccTransformCache*> m_MapTranform;
91 std::map<CFX_ByteString, CFX_IccProfileCache*> m_MapProfile; 92 std::map<CFX_ByteString, CFX_IccProfileCache*> m_MapProfile;
92 }; 93 };
93 94
94 #endif // CORE_FXCODEC_CODEC_CCODEC_ICCMODULE_H_ 95 #endif // CORE_FXCODEC_CODEC_CCODEC_ICCMODULE_H_
OLDNEW
« no previous file with comments | « core/fpdftext/include/cpdf_textpagefind.h ('k') | core/fxcodec/codec/fx_codec.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698