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

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

Issue 2381063002: Move core/fxcodec/codec/include and core/fxcodec/include files up (Closed)
Patch Set: Rebase to master Created 4 years, 2 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/fxcodec/JBig2_DocumentContext.h ('k') | core/fxcodec/codec/ccodec_jbig2module.h » ('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/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 CCodec_IccModule { 14 class CCodec_IccModule {
15 public: 15 public:
16 CCodec_IccModule(); 16 CCodec_IccModule();
17 ~CCodec_IccModule(); 17 ~CCodec_IccModule();
18 18
19 void* CreateTransform_sRGB(const uint8_t* pProfileData, 19 void* CreateTransform_sRGB(const uint8_t* pProfileData,
20 uint32_t dwProfileSize, 20 uint32_t dwProfileSize,
21 uint32_t& nComponents, 21 uint32_t& nComponents,
22 int32_t intent = 0, 22 int32_t intent = 0,
23 uint32_t dwSrcFormat = Icc_FORMAT_DEFAULT); 23 uint32_t dwSrcFormat = Icc_FORMAT_DEFAULT);
24 void DestroyTransform(void* pTransform); 24 void DestroyTransform(void* pTransform);
25 void Translate(void* pTransform, FX_FLOAT* pSrcValues, FX_FLOAT* pDestValues); 25 void Translate(void* pTransform, FX_FLOAT* pSrcValues, FX_FLOAT* pDestValues);
26 void TranslateScanline(void* pTransform, 26 void TranslateScanline(void* pTransform,
27 uint8_t* pDest, 27 uint8_t* pDest,
28 const uint8_t* pSrc, 28 const uint8_t* pSrc,
29 int pixels); 29 int pixels);
30 void SetComponents(uint32_t nComponents) { m_nComponents = nComponents; } 30 void SetComponents(uint32_t nComponents) { m_nComponents = nComponents; }
31 31
32 protected: 32 protected:
33 uint32_t m_nComponents; 33 uint32_t m_nComponents;
34 }; 34 };
35 35
36 #endif // CORE_FXCODEC_CODEC_CCODEC_ICCMODULE_H_ 36 #endif // CORE_FXCODEC_CODEC_CCODEC_ICCMODULE_H_
OLDNEW
« no previous file with comments | « core/fxcodec/JBig2_DocumentContext.h ('k') | core/fxcodec/codec/ccodec_jbig2module.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698