Cleanup some fx_codec_fax.cpp code.
[pdfium.git] / core / src / fxcodec / jbig2 / JBig2_ArithIntDecoder.h
1 // Copyright 2014 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 _JBIG2_ARITH_INT_DECODER_H_
8 #define _JBIG2_ARITH_INT_DECODER_H_
9
10 #include "JBig2_ArithDecoder.h"
11
12 class CJBig2_ArithIntDecoder {
13  public:
14   CJBig2_ArithIntDecoder();
15
16   ~CJBig2_ArithIntDecoder();
17
18   int decode(CJBig2_ArithDecoder* pArithDecoder, int* nResult);
19
20  private:
21   JBig2ArithCtx* IAx;
22 };
23 class CJBig2_ArithIaidDecoder {
24  public:
25   CJBig2_ArithIaidDecoder(unsigned char SBSYMCODELENA);
26
27   ~CJBig2_ArithIaidDecoder();
28
29   int decode(CJBig2_ArithDecoder* pArithDecoder, int* nResult);
30
31  private:
32   JBig2ArithCtx* IAID;
33
34   unsigned char SBSYMCODELEN;
35 };
36 #endif