OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 |
| 7 #ifndef CORE_FXCODEC_CODEC_CCODEC_JBIG2MODULE_H_ |
| 8 #define CORE_FXCODEC_CODEC_CCODEC_JBIG2MODULE_H_ |
| 9 |
| 10 #include "core/fxcrt/include/fx_system.h" |
| 11 |
| 12 class CPDF_StreamAcc; |
| 13 class IFX_Pause; |
| 14 |
| 15 class CCodec_Jbig2Module { |
| 16 public: |
| 17 CCodec_Jbig2Module() {} |
| 18 ~CCodec_Jbig2Module(); |
| 19 |
| 20 void* CreateJbig2Context(); |
| 21 FXCODEC_STATUS StartDecode(void* pJbig2Context, |
| 22 CFX_PrivateData* pPrivateData, |
| 23 uint32_t width, |
| 24 uint32_t height, |
| 25 CPDF_StreamAcc* src_stream, |
| 26 CPDF_StreamAcc* global_stream, |
| 27 uint8_t* dest_buf, |
| 28 uint32_t dest_pitch, |
| 29 IFX_Pause* pPause); |
| 30 FXCODEC_STATUS ContinueDecode(void* pJbig2Context, IFX_Pause* pPause); |
| 31 void DestroyJbig2Context(void* pJbig2Context); |
| 32 }; |
| 33 |
| 34 #endif // CORE_FXCODEC_CODEC_CCODEC_JBIG2MODULE_H_ |
OLD | NEW |