| 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_SRC_FXCODEC_CODEC_CODEC_INT_H_ | 7 #ifndef CORE_FXCODEC_CODEC_CODEC_INT_H_ |
| 8 #define CORE_SRC_FXCODEC_CODEC_CODEC_INT_H_ | 8 #define CORE_FXCODEC_CODEC_CODEC_INT_H_ |
| 9 | 9 |
| 10 #include <limits.h> | 10 #include <limits.h> |
| 11 | 11 |
| 12 #include <list> | 12 #include <list> |
| 13 #include <map> | 13 #include <map> |
| 14 #include <memory> | 14 #include <memory> |
| 15 #include <vector> | 15 #include <vector> |
| 16 | 16 |
| 17 #include "core/fxcodec/jbig2/JBig2_Context.h" |
| 17 #include "core/include/fxcodec/fx_codec.h" | 18 #include "core/include/fxcodec/fx_codec.h" |
| 18 #include "core/src/fxcodec/jbig2/JBig2_Context.h" | |
| 19 #include "third_party/libopenjpeg20/openjpeg.h" // For OPJ_SIZE_T. | 19 #include "third_party/libopenjpeg20/openjpeg.h" // For OPJ_SIZE_T. |
| 20 | 20 |
| 21 class CFX_IccProfileCache; | 21 class CFX_IccProfileCache; |
| 22 class CFX_IccTransformCache; | 22 class CFX_IccTransformCache; |
| 23 class CPDF_ColorSpace; | 23 class CPDF_ColorSpace; |
| 24 | 24 |
| 25 class CCodec_BasicModule : public ICodec_BasicModule { | 25 class CCodec_BasicModule : public ICodec_BasicModule { |
| 26 public: | 26 public: |
| 27 // ICodec_BasicModule: | 27 // ICodec_BasicModule: |
| 28 FX_BOOL RunLengthEncode(const uint8_t* src_buf, | 28 FX_BOOL RunLengthEncode(const uint8_t* src_buf, |
| (...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 418 /* Wrappers for C-style callbacks. */ | 418 /* Wrappers for C-style callbacks. */ |
| 419 OPJ_SIZE_T opj_read_from_memory(void* p_buffer, | 419 OPJ_SIZE_T opj_read_from_memory(void* p_buffer, |
| 420 OPJ_SIZE_T nb_bytes, | 420 OPJ_SIZE_T nb_bytes, |
| 421 void* p_user_data); | 421 void* p_user_data); |
| 422 OPJ_SIZE_T opj_write_from_memory(void* p_buffer, | 422 OPJ_SIZE_T opj_write_from_memory(void* p_buffer, |
| 423 OPJ_SIZE_T nb_bytes, | 423 OPJ_SIZE_T nb_bytes, |
| 424 void* p_user_data); | 424 void* p_user_data); |
| 425 OPJ_OFF_T opj_skip_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data); | 425 OPJ_OFF_T opj_skip_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data); |
| 426 OPJ_BOOL opj_seek_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data); | 426 OPJ_BOOL opj_seek_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data); |
| 427 | 427 |
| 428 #endif // CORE_SRC_FXCODEC_CODEC_CODEC_INT_H_ | 428 #endif // CORE_FXCODEC_CODEC_CODEC_INT_H_ |
| OLD | NEW |