| 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_INCLUDE_FXCODEC_FX_CODEC_H_ | 7 #ifndef CORE_INCLUDE_FXCODEC_FX_CODEC_H_ |
| 8 #define CORE_INCLUDE_FXCODEC_FX_CODEC_H_ | 8 #define CORE_INCLUDE_FXCODEC_FX_CODEC_H_ |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 class ICodec_JpxModule; | 24 class ICodec_JpxModule; |
| 25 class ICodec_Jbig2Module; | 25 class ICodec_Jbig2Module; |
| 26 class ICodec_IccModule; | 26 class ICodec_IccModule; |
| 27 class ICodec_FlateModule; | 27 class ICodec_FlateModule; |
| 28 class ICodec_Jbig2Encoder; | 28 class ICodec_Jbig2Encoder; |
| 29 class ICodec_ScanlineDecoder; | 29 class ICodec_ScanlineDecoder; |
| 30 | 30 |
| 31 class CCodec_ModuleMgr { | 31 class CCodec_ModuleMgr { |
| 32 public: | 32 public: |
| 33 CCodec_ModuleMgr(); | 33 CCodec_ModuleMgr(); |
| 34 ICodec_Jbig2Encoder* CreateJbig2Encoder(); | 34 |
| 35 ICodec_BasicModule* GetBasicModule() const { return m_pBasicModule.get(); } | 35 ICodec_BasicModule* GetBasicModule() const { return m_pBasicModule.get(); } |
| 36 ICodec_FaxModule* GetFaxModule() const { return m_pFaxModule.get(); } | 36 ICodec_FaxModule* GetFaxModule() const { return m_pFaxModule.get(); } |
| 37 ICodec_JpegModule* GetJpegModule() const { return m_pJpegModule.get(); } | 37 ICodec_JpegModule* GetJpegModule() const { return m_pJpegModule.get(); } |
| 38 ICodec_JpxModule* GetJpxModule() const { return m_pJpxModule.get(); } | 38 ICodec_JpxModule* GetJpxModule() const { return m_pJpxModule.get(); } |
| 39 ICodec_Jbig2Module* GetJbig2Module() const { return m_pJbig2Module.get(); } | 39 ICodec_Jbig2Module* GetJbig2Module() const { return m_pJbig2Module.get(); } |
| 40 ICodec_IccModule* GetIccModule() const { return m_pIccModule.get(); } | 40 ICodec_IccModule* GetIccModule() const { return m_pIccModule.get(); } |
| 41 ICodec_FlateModule* GetFlateModule() const { return m_pFlateModule.get(); } | 41 ICodec_FlateModule* GetFlateModule() const { return m_pFlateModule.get(); } |
| 42 | 42 |
| 43 protected: | 43 protected: |
| 44 nonstd::unique_ptr<ICodec_BasicModule> m_pBasicModule; | 44 nonstd::unique_ptr<ICodec_BasicModule> m_pBasicModule; |
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 | 335 |
| 336 void FaxG4Decode(const uint8_t* src_buf, | 336 void FaxG4Decode(const uint8_t* src_buf, |
| 337 FX_DWORD src_size, | 337 FX_DWORD src_size, |
| 338 int* pbitpos, | 338 int* pbitpos, |
| 339 uint8_t* dest_buf, | 339 uint8_t* dest_buf, |
| 340 int width, | 340 int width, |
| 341 int height, | 341 int height, |
| 342 int pitch); | 342 int pitch); |
| 343 | 343 |
| 344 #endif // CORE_INCLUDE_FXCODEC_FX_CODEC_H_ | 344 #endif // CORE_INCLUDE_FXCODEC_FX_CODEC_H_ |
| OLD | NEW |