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_SRC_FXCODEC_CODEC_CODEC_INT_H_ |
8 #define CORE_SRC_FXCODEC_CODEC_CODEC_INT_H_ | 8 #define CORE_SRC_FXCODEC_CODEC_CODEC_INT_H_ |
9 | 9 |
10 #include <limits.h> | 10 #include <limits.h> |
11 #include <list> | 11 #include <list> |
12 #include <map> | 12 #include <map> |
13 | 13 |
14 #include "../jbig2/JBig2_Context.h" | |
15 #include "core/include/fxcodec/fx_codec.h" | 14 #include "core/include/fxcodec/fx_codec.h" |
| 15 #include "core/src/fxcodec/jbig2/JBig2_Context.h" |
16 #include "third_party/base/nonstd_unique_ptr.h" | 16 #include "third_party/base/nonstd_unique_ptr.h" |
17 #include "third_party/libopenjpeg20/openjpeg.h" // For OPJ_SIZE_T. | 17 #include "third_party/libopenjpeg20/openjpeg.h" // For OPJ_SIZE_T. |
18 | 18 |
19 class CFX_IccProfileCache; | 19 class CFX_IccProfileCache; |
20 class CFX_IccTransformCache; | 20 class CFX_IccTransformCache; |
21 | 21 |
22 class CCodec_BasicModule : public ICodec_BasicModule { | 22 class CCodec_BasicModule : public ICodec_BasicModule { |
23 public: | 23 public: |
24 virtual FX_BOOL RunLengthEncode(const uint8_t* src_buf, | 24 virtual FX_BOOL RunLengthEncode(const uint8_t* src_buf, |
25 FX_DWORD src_size, | 25 FX_DWORD src_size, |
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 OPJ_SIZE_T opj_read_from_memory(void* p_buffer, | 400 OPJ_SIZE_T opj_read_from_memory(void* p_buffer, |
401 OPJ_SIZE_T nb_bytes, | 401 OPJ_SIZE_T nb_bytes, |
402 void* p_user_data); | 402 void* p_user_data); |
403 OPJ_SIZE_T opj_write_from_memory(void* p_buffer, | 403 OPJ_SIZE_T opj_write_from_memory(void* p_buffer, |
404 OPJ_SIZE_T nb_bytes, | 404 OPJ_SIZE_T nb_bytes, |
405 void* p_user_data); | 405 void* p_user_data); |
406 OPJ_OFF_T opj_skip_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data); | 406 OPJ_OFF_T opj_skip_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data); |
407 OPJ_BOOL opj_seek_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data); | 407 OPJ_BOOL opj_seek_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data); |
408 | 408 |
409 #endif // CORE_SRC_FXCODEC_CODEC_CODEC_INT_H_ | 409 #endif // CORE_SRC_FXCODEC_CODEC_CODEC_INT_H_ |
OLD | NEW |