| 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> |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 uint32_t* m_pGifLocalPalette; | 52 uint32_t* m_pGifLocalPalette; |
| 53 uint32_t m_nGifLocalPalNum; | 53 uint32_t m_nGifLocalPalNum; |
| 54 int32_t m_nBmpCompressType; | 54 int32_t m_nBmpCompressType; |
| 55 std::map<uint32_t, void*> m_Exif; | 55 std::map<uint32_t, void*> m_Exif; |
| 56 }; | 56 }; |
| 57 #endif // PDF_ENABLE_XFA | 57 #endif // PDF_ENABLE_XFA |
| 58 | 58 |
| 59 class CCodec_ModuleMgr { | 59 class CCodec_ModuleMgr { |
| 60 public: | 60 public: |
| 61 CCodec_ModuleMgr(); | 61 CCodec_ModuleMgr(); |
| 62 ~CCodec_ModuleMgr(); |
| 62 | 63 |
| 63 CCodec_BasicModule* GetBasicModule() const { return m_pBasicModule.get(); } | 64 CCodec_BasicModule* GetBasicModule() const { return m_pBasicModule.get(); } |
| 64 CCodec_FaxModule* GetFaxModule() const { return m_pFaxModule.get(); } | 65 CCodec_FaxModule* GetFaxModule() const { return m_pFaxModule.get(); } |
| 65 CCodec_JpegModule* GetJpegModule() const { return m_pJpegModule.get(); } | 66 CCodec_JpegModule* GetJpegModule() const { return m_pJpegModule.get(); } |
| 66 CCodec_JpxModule* GetJpxModule() const { return m_pJpxModule.get(); } | 67 CCodec_JpxModule* GetJpxModule() const { return m_pJpxModule.get(); } |
| 67 CCodec_Jbig2Module* GetJbig2Module() const { return m_pJbig2Module.get(); } | 68 CCodec_Jbig2Module* GetJbig2Module() const { return m_pJbig2Module.get(); } |
| 68 CCodec_IccModule* GetIccModule() const { return m_pIccModule.get(); } | 69 CCodec_IccModule* GetIccModule() const { return m_pIccModule.get(); } |
| 69 CCodec_FlateModule* GetFlateModule() const { return m_pFlateModule.get(); } | 70 CCodec_FlateModule* GetFlateModule() const { return m_pFlateModule.get(); } |
| 70 | 71 |
| 71 #ifdef PDF_ENABLE_XFA | 72 #ifdef PDF_ENABLE_XFA |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 FX_BOOL MD5ComputeID(const void* buf, uint32_t dwSize, uint8_t ID[16]); | 120 FX_BOOL MD5ComputeID(const void* buf, uint32_t dwSize, uint8_t ID[16]); |
| 120 void FaxG4Decode(const uint8_t* src_buf, | 121 void FaxG4Decode(const uint8_t* src_buf, |
| 121 uint32_t src_size, | 122 uint32_t src_size, |
| 122 int* pbitpos, | 123 int* pbitpos, |
| 123 uint8_t* dest_buf, | 124 uint8_t* dest_buf, |
| 124 int width, | 125 int width, |
| 125 int height, | 126 int height, |
| 126 int pitch); | 127 int pitch); |
| 127 | 128 |
| 128 #endif // CORE_FXCODEC_INCLUDE_FX_CODEC_H_ | 129 #endif // CORE_FXCODEC_INCLUDE_FX_CODEC_H_ |
| OLD | NEW |