• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_PDDPROC_H_
8 #define CORE_SRC_FXCODEC_JBIG2_JBIG2_PDDPROC_H_
9 
10 #include "core/include/fxcrt/fx_system.h"
11 
12 class CJBig2_ArithDecoder;
13 class CJBig2_BitStream;
14 class CJBig2_PatternDict;
15 class IFX_Pause;
16 struct JBig2ArithCtx;
17 
18 class CJBig2_PDDProc {
19  public:
20   CJBig2_PatternDict* decode_Arith(CJBig2_ArithDecoder* pArithDecoder,
21                                    JBig2ArithCtx* gbContext,
22                                    IFX_Pause* pPause);
23 
24   CJBig2_PatternDict* decode_MMR(CJBig2_BitStream* pStream, IFX_Pause* pPause);
25 
26  public:
27   FX_BOOL HDMMR;
28   uint8_t HDPW;
29   uint8_t HDPH;
30   FX_DWORD GRAYMAX;
31   uint8_t HDTEMPLATE;
32 };
33 
34 #endif  // CORE_SRC_FXCODEC_JBIG2_JBIG2_PDDPROC_H_
35