OLD | NEW |
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 CORE_FXCODEC_JBIG2_JBIG2_ARITHINTDECODER_H_ | 7 #ifndef CORE_FXCODEC_JBIG2_JBIG2_ARITHINTDECODER_H_ |
8 #define CORE_FXCODEC_JBIG2_JBIG2_ARITHINTDECODER_H_ | 8 #define CORE_FXCODEC_JBIG2_JBIG2_ARITHINTDECODER_H_ |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
(...skipping 12 matching lines...) Expand all Loading... |
23 | 23 |
24 private: | 24 private: |
25 std::vector<JBig2ArithCtx> m_IAx; | 25 std::vector<JBig2ArithCtx> m_IAx; |
26 }; | 26 }; |
27 | 27 |
28 class CJBig2_ArithIaidDecoder { | 28 class CJBig2_ArithIaidDecoder { |
29 public: | 29 public: |
30 explicit CJBig2_ArithIaidDecoder(unsigned char SBSYMCODELENA); | 30 explicit CJBig2_ArithIaidDecoder(unsigned char SBSYMCODELENA); |
31 ~CJBig2_ArithIaidDecoder(); | 31 ~CJBig2_ArithIaidDecoder(); |
32 | 32 |
33 void decode(CJBig2_ArithDecoder* pArithDecoder, FX_DWORD* nResult); | 33 void decode(CJBig2_ArithDecoder* pArithDecoder, uint32_t* nResult); |
34 | 34 |
35 private: | 35 private: |
36 std::vector<JBig2ArithCtx> m_IAID; | 36 std::vector<JBig2ArithCtx> m_IAID; |
37 | 37 |
38 const unsigned char SBSYMCODELEN; | 38 const unsigned char SBSYMCODELEN; |
39 }; | 39 }; |
40 | 40 |
41 #endif // CORE_FXCODEC_JBIG2_JBIG2_ARITHINTDECODER_H_ | 41 #endif // CORE_FXCODEC_JBIG2_JBIG2_ARITHINTDECODER_H_ |
OLD | NEW |