| OLD | NEW |
| 1 // Copyright 2015 PDFium Authors. All rights reserved. | 1 // Copyright 2015 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_JBIG2_JBIG2_GSIDPROC_H_ | 7 #ifndef CORE_SRC_FXCODEC_JBIG2_JBIG2_GSIDPROC_H_ |
| 8 #define CORE_SRC_FXCODEC_JBIG2_JBIG2_GSIDPROC_H_ | 8 #define CORE_SRC_FXCODEC_JBIG2_JBIG2_GSIDPROC_H_ |
| 9 | 9 |
| 10 #include "../../../include/fxcrt/fx_system.h" | 10 #include "core/include/fxcrt/fx_system.h" |
| 11 | 11 |
| 12 class CJBig2_ArithDecoder; | 12 class CJBig2_ArithDecoder; |
| 13 class CJBig2_BitStream; | 13 class CJBig2_BitStream; |
| 14 class CJBig2_Image; | 14 class CJBig2_Image; |
| 15 class IFX_Pause; | 15 class IFX_Pause; |
| 16 struct JBig2ArithCtx; | 16 struct JBig2ArithCtx; |
| 17 | 17 |
| 18 class CJBig2_GSIDProc { | 18 class CJBig2_GSIDProc { |
| 19 public: | 19 public: |
| 20 FX_DWORD* decode_Arith(CJBig2_ArithDecoder* pArithDecoder, | 20 FX_DWORD* decode_Arith(CJBig2_ArithDecoder* pArithDecoder, |
| 21 JBig2ArithCtx* gbContext, | 21 JBig2ArithCtx* gbContext, |
| 22 IFX_Pause* pPause); | 22 IFX_Pause* pPause); |
| 23 | 23 |
| 24 FX_DWORD* decode_MMR(CJBig2_BitStream* pStream, IFX_Pause* pPause); | 24 FX_DWORD* decode_MMR(CJBig2_BitStream* pStream, IFX_Pause* pPause); |
| 25 | 25 |
| 26 public: | 26 public: |
| 27 FX_BOOL GSMMR; | 27 FX_BOOL GSMMR; |
| 28 FX_BOOL GSUSESKIP; | 28 FX_BOOL GSUSESKIP; |
| 29 uint8_t GSBPP; | 29 uint8_t GSBPP; |
| 30 FX_DWORD GSW; | 30 FX_DWORD GSW; |
| 31 FX_DWORD GSH; | 31 FX_DWORD GSH; |
| 32 uint8_t GSTEMPLATE; | 32 uint8_t GSTEMPLATE; |
| 33 CJBig2_Image* GSKIP; | 33 CJBig2_Image* GSKIP; |
| 34 }; | 34 }; |
| 35 | 35 |
| 36 #endif // CORE_SRC_FXCODEC_JBIG2_JBIG2_GSIDPROC_H_ | 36 #endif // CORE_SRC_FXCODEC_JBIG2_JBIG2_GSIDPROC_H_ |
| OLD | NEW |