Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1197)

Side by Side Diff: core/src/fxcodec/jbig2/JBig2_ArithIntDecoder.h

Issue 1326953006: Remove CJBig2_Object, CJBig2_Module, and friends. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 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 _JBIG2_ARITH_INT_DECODER_H_ 7 #ifndef _JBIG2_ARITH_INT_DECODER_H_
8 #define _JBIG2_ARITH_INT_DECODER_H_ 8 #define _JBIG2_ARITH_INT_DECODER_H_
9 #include "JBig2_Module.h" 9
10 #include "JBig2_ArithDecoder.h" 10 #include "JBig2_ArithDecoder.h"
11
11 class CJBig2_ArithIntDecoder { 12 class CJBig2_ArithIntDecoder {
12 public: 13 public:
13 CJBig2_ArithIntDecoder(); 14 CJBig2_ArithIntDecoder();
14 15
15 ~CJBig2_ArithIntDecoder(); 16 ~CJBig2_ArithIntDecoder();
16 17
17 int decode(CJBig2_ArithDecoder* pArithDecoder, int* nResult); 18 int decode(CJBig2_ArithDecoder* pArithDecoder, int* nResult);
18 19
19 private: 20 private:
20 JBig2ArithCtx* IAx; 21 JBig2ArithCtx* IAx;
21 }; 22 };
22 class CJBig2_ArithIaidDecoder { 23 class CJBig2_ArithIaidDecoder {
23 public: 24 public:
24 CJBig2_ArithIaidDecoder(unsigned char SBSYMCODELENA); 25 CJBig2_ArithIaidDecoder(unsigned char SBSYMCODELENA);
25 26
26 ~CJBig2_ArithIaidDecoder(); 27 ~CJBig2_ArithIaidDecoder();
27 28
28 int decode(CJBig2_ArithDecoder* pArithDecoder, int* nResult); 29 int decode(CJBig2_ArithDecoder* pArithDecoder, int* nResult);
29 30
30 private: 31 private:
31 JBig2ArithCtx* IAID; 32 JBig2ArithCtx* IAID;
32 33
33 unsigned char SBSYMCODELEN; 34 unsigned char SBSYMCODELEN;
34 }; 35 };
35 #endif 36 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698