| OLD | NEW |
| 1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 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 _FX_CODEC_H_ | 7 #ifndef FX_CODEC_H_ |
| 8 #define _FX_CODEC_H_ | 8 #define FX_CODEC_H_ |
| 9 #ifndef _FXCRT_EXTENSION_ | 9 |
| 10 #include "../fxcrt/fx_ext.h" | 10 #include "../fxcrt/fx_ext.h" |
| 11 #endif | |
| 12 #include "fx_codec_def.h" | 11 #include "fx_codec_def.h" |
| 13 #include "fx_codec_provider.h" | 12 #include "fx_codec_provider.h" |
| 13 |
| 14 class CFX_DIBSource; | 14 class CFX_DIBSource; |
| 15 class ICodec_ScanlineDecoder; | 15 class ICodec_ScanlineDecoder; |
| 16 class ICodec_BasicModule; | 16 class ICodec_BasicModule; |
| 17 class ICodec_FaxModule; | 17 class ICodec_FaxModule; |
| 18 class ICodec_JpegModule; | 18 class ICodec_JpegModule; |
| 19 class ICodec_JpxModule; | 19 class ICodec_JpxModule; |
| 20 class ICodec_Jbig2Module; | 20 class ICodec_Jbig2Module; |
| 21 class ICodec_IccModule; | 21 class ICodec_IccModule; |
| 22 class ICodec_FlateModule; | 22 class ICodec_FlateModule; |
| 23 class ICodec_Jbig2Encoder; | 23 class ICodec_Jbig2Encoder; |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 virtual void DestroyTransform(FX_LPVOID pTransform) =
0; | 279 virtual void DestroyTransform(FX_LPVOID pTransform) =
0; |
| 280 | 280 |
| 281 virtual void Translate(FX_LPVOID pTransform, FX_FLOAT
* pSrcValues, FX_FLOAT* pDestValues) = 0; | 281 virtual void Translate(FX_LPVOID pTransform, FX_FLOAT
* pSrcValues, FX_FLOAT* pDestValues) = 0; |
| 282 | 282 |
| 283 virtual void TranslateScanline(FX_LPVOID pTransform,
FX_LPBYTE pDest, FX_LPCBYTE pSrc, int pixels) = 0; | 283 virtual void TranslateScanline(FX_LPVOID pTransform,
FX_LPBYTE pDest, FX_LPCBYTE pSrc, int pixels) = 0; |
| 284 virtual void SetComponents(FX_DWORD nComponents) = 0; | 284 virtual void SetComponents(FX_DWORD nComponents) = 0; |
| 285 }; | 285 }; |
| 286 void AdobeCMYK_to_sRGB(FX_FLOAT c, FX_FLOAT m, FX_FLOAT y, FX_FLOAT k, FX_FLOAT&
R, FX_FLOAT& G, FX_FLOAT& B); | 286 void AdobeCMYK_to_sRGB(FX_FLOAT c, FX_FLOAT m, FX_FLOAT y, FX_FLOAT k, FX_FLOAT&
R, FX_FLOAT& G, FX_FLOAT& B); |
| 287 void AdobeCMYK_to_sRGB1(FX_BYTE c, FX_BYTE m, FX_BYTE y, FX_BYTE k, FX_BYTE& R,
FX_BYTE& G, FX_BYTE& B); | 287 void AdobeCMYK_to_sRGB1(FX_BYTE c, FX_BYTE m, FX_BYTE y, FX_BYTE k, FX_BYTE& R,
FX_BYTE& G, FX_BYTE& B); |
| 288 FX_BOOL MD5ComputeID(FX_LPCVOID buf, FX_DWORD dwSize, FX_BYTE ID[16]); | 288 FX_BOOL MD5ComputeID(FX_LPCVOID buf, FX_DWORD dwSize, FX_BYTE ID[16]); |
| 289 #endif | 289 |
| 290 #endif // FX_CODEC_H_ |
| OLD | NEW |