| 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 CORE_FXCODEC_INCLUDE_FX_CODEC_H_ | 7 #ifndef CORE_FXCODEC_INCLUDE_FX_CODEC_H_ |
| 8 #define CORE_FXCODEC_INCLUDE_FX_CODEC_H_ | 8 #define CORE_FXCODEC_INCLUDE_FX_CODEC_H_ |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 #include <memory> | 11 #include <memory> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "core/fxcrt/include/fx_basic.h" | 14 #include "core/fxcrt/include/fx_basic.h" |
| 15 #include "core/fxcrt/include/fx_coordinates.h" // For FX_RECT. | 15 #include "core/fxcrt/include/fx_coordinates.h" // For FX_RECT. |
| 16 #include "core/fxcodec/include/fx_codec_def.h" | 16 #include "core/fxcodec/include/fx_codec_def.h" |
| 17 | 17 |
| 18 class CFX_DIBSource; | 18 class CFX_DIBSource; |
| 19 class CJPX_Decoder; | 19 class CJPX_Decoder; |
| 20 class CPDF_ColorSpace; | 20 class CPDF_ColorSpace; |
| 21 class CPDF_StreamAcc; | 21 class CPDF_StreamAcc; |
| 22 class ICodec_BasicModule; | 22 class ICodec_BasicModule; |
| 23 class ICodec_FaxModule; | 23 class ICodec_FaxModule; |
| 24 class ICodec_FlateModule; | 24 class ICodec_FlateModule; |
| 25 class ICodec_IccModule; | 25 class ICodec_IccModule; |
| 26 class ICodec_Jbig2Encoder; | |
| 27 class ICodec_Jbig2Module; | 26 class ICodec_Jbig2Module; |
| 28 class ICodec_JpegModule; | 27 class ICodec_JpegModule; |
| 29 class ICodec_JpxModule; | 28 class ICodec_JpxModule; |
| 30 class ICodec_ScanlineDecoder; | 29 class ICodec_ScanlineDecoder; |
| 31 | 30 |
| 32 #ifdef PDF_ENABLE_XFA | 31 #ifdef PDF_ENABLE_XFA |
| 33 class ICodec_BmpModule; | 32 class ICodec_BmpModule; |
| 34 class ICodec_GifModule; | 33 class ICodec_GifModule; |
| 35 class ICodec_PngModule; | 34 class ICodec_PngModule; |
| 36 class ICodec_ProgressiveDecoder; | 35 class ICodec_ProgressiveDecoder; |
| (...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 int32_t start_x, | 440 int32_t start_x, |
| 442 int32_t start_y, | 441 int32_t start_y, |
| 443 int32_t size_x, | 442 int32_t size_x, |
| 444 int32_t size_y, | 443 int32_t size_y, |
| 445 int32_t frames = 0, | 444 int32_t frames = 0, |
| 446 FX_BOOL bInterpol = TRUE) = 0; | 445 FX_BOOL bInterpol = TRUE) = 0; |
| 447 | 446 |
| 448 virtual FXCODEC_STATUS ContinueDecode(IFX_Pause* pPause = NULL) = 0; | 447 virtual FXCODEC_STATUS ContinueDecode(IFX_Pause* pPause = NULL) = 0; |
| 449 }; | 448 }; |
| 450 #endif // PDF_ENABLE_XFA | 449 #endif // PDF_ENABLE_XFA |
| 451 class ICodec_Jbig2Encoder { | |
| 452 public: | |
| 453 virtual ~ICodec_Jbig2Encoder() {} | |
| 454 }; | |
| 455 | 450 |
| 456 class ICodec_IccModule { | 451 class ICodec_IccModule { |
| 457 public: | 452 public: |
| 458 enum IccCS { | 453 enum IccCS { |
| 459 IccCS_Unknown = 0, | 454 IccCS_Unknown = 0, |
| 460 IccCS_XYZ, | 455 IccCS_XYZ, |
| 461 IccCS_Lab, | 456 IccCS_Lab, |
| 462 IccCS_Luv, | 457 IccCS_Luv, |
| 463 IccCS_YCbCr, | 458 IccCS_YCbCr, |
| 464 IccCS_Yxy, | 459 IccCS_Yxy, |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 551 FX_BOOL MD5ComputeID(const void* buf, uint32_t dwSize, uint8_t ID[16]); | 546 FX_BOOL MD5ComputeID(const void* buf, uint32_t dwSize, uint8_t ID[16]); |
| 552 void FaxG4Decode(const uint8_t* src_buf, | 547 void FaxG4Decode(const uint8_t* src_buf, |
| 553 uint32_t src_size, | 548 uint32_t src_size, |
| 554 int* pbitpos, | 549 int* pbitpos, |
| 555 uint8_t* dest_buf, | 550 uint8_t* dest_buf, |
| 556 int width, | 551 int width, |
| 557 int height, | 552 int height, |
| 558 int pitch); | 553 int pitch); |
| 559 | 554 |
| 560 #endif // CORE_FXCODEC_INCLUDE_FX_CODEC_H_ | 555 #endif // CORE_FXCODEC_INCLUDE_FX_CODEC_H_ |
| OLD | NEW |