summaryrefslogtreecommitdiff
path: root/core/src/fxcodec/jbig2/JBig2_ArithIntDecoder.h
blob: d024e7150f4fb6ed61f9c70b5e55894d25400977 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com

#ifndef _JBIG2_ARITH_INT_DECODER_H_
#define _JBIG2_ARITH_INT_DECODER_H_
#include "JBig2_Module.h"
#include "JBig2_ArithDecoder.h"
class CJBig2_ArithIntDecoder : public CJBig2_Object {
 public:
  CJBig2_ArithIntDecoder();

  ~CJBig2_ArithIntDecoder();

  int decode(CJBig2_ArithDecoder* pArithDecoder, int* nResult);

 private:
  JBig2ArithCtx* IAx;
};
class CJBig2_ArithIaidDecoder : public CJBig2_Object {
 public:
  CJBig2_ArithIaidDecoder(unsigned char SBSYMCODELENA);

  ~CJBig2_ArithIaidDecoder();

  int decode(CJBig2_ArithDecoder* pArithDecoder, int* nResult);

 private:
  JBig2ArithCtx* IAID;

  unsigned char SBSYMCODELEN;
};
#endif