| OLD | NEW |
| (Empty) |
| 1 // Copyright 2015 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_SRC_FXCODEC_JBIG2_JBIG2_HTRDPROC_H_ | |
| 8 #define CORE_SRC_FXCODEC_JBIG2_JBIG2_HTRDPROC_H_ | |
| 9 | |
| 10 #include "core/include/fxcrt/fx_system.h" | |
| 11 #include "core/src/fxcodec/jbig2/JBig2_Image.h" | |
| 12 | |
| 13 class CJBig2_ArithDecoder; | |
| 14 class CJBig2_BitStream; | |
| 15 class IFX_Pause; | |
| 16 struct JBig2ArithCtx; | |
| 17 | |
| 18 class CJBig2_HTRDProc { | |
| 19 public: | |
| 20 CJBig2_Image* decode_Arith(CJBig2_ArithDecoder* pArithDecoder, | |
| 21 JBig2ArithCtx* gbContext, | |
| 22 IFX_Pause* pPause); | |
| 23 | |
| 24 CJBig2_Image* decode_MMR(CJBig2_BitStream* pStream, IFX_Pause* pPause); | |
| 25 | |
| 26 public: | |
| 27 FX_DWORD HBW; | |
| 28 FX_DWORD HBH; | |
| 29 FX_BOOL HMMR; | |
| 30 uint8_t HTEMPLATE; | |
| 31 FX_DWORD HNUMPATS; | |
| 32 CJBig2_Image** HPATS; | |
| 33 FX_BOOL HDEFPIXEL; | |
| 34 JBig2ComposeOp HCOMBOP; | |
| 35 FX_BOOL HENABLESKIP; | |
| 36 FX_DWORD HGW; | |
| 37 FX_DWORD HGH; | |
| 38 int32_t HGX; | |
| 39 int32_t HGY; | |
| 40 FX_WORD HRX; | |
| 41 FX_WORD HRY; | |
| 42 uint8_t HPW; | |
| 43 uint8_t HPH; | |
| 44 }; | |
| 45 | |
| 46 #endif // CORE_SRC_FXCODEC_JBIG2_JBIG2_HTRDPROC_H_ | |
| OLD | NEW |