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_SYMBOLDICT_H_ | 7 #ifndef CORE_FXCODEC_JBIG2_JBIG2_SYMBOLDICT_H_ |
8 #define CORE_FXCODEC_JBIG2_JBIG2_SYMBOLDICT_H_ | 8 #define CORE_FXCODEC_JBIG2_JBIG2_SYMBOLDICT_H_ |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "core/fxcodec/jbig2/JBig2_ArithDecoder.h" | 13 #include "core/fxcodec/jbig2/JBig2_ArithDecoder.h" |
14 #include "core/fxcodec/jbig2/JBig2_List.h" | 14 #include "core/fxcodec/jbig2/JBig2_List.h" |
15 #include "core/include/fxcrt/fx_basic.h" | 15 #include "core/fxcrt/include/fx_basic.h" |
16 | 16 |
17 class CJBig2_Image; | 17 class CJBig2_Image; |
18 | 18 |
19 class CJBig2_SymbolDict { | 19 class CJBig2_SymbolDict { |
20 public: | 20 public: |
21 CJBig2_SymbolDict(); | 21 CJBig2_SymbolDict(); |
22 ~CJBig2_SymbolDict(); | 22 ~CJBig2_SymbolDict(); |
23 | 23 |
24 std::unique_ptr<CJBig2_SymbolDict> DeepCopy() const; | 24 std::unique_ptr<CJBig2_SymbolDict> DeepCopy() const; |
25 | 25 |
(...skipping 13 matching lines...) Expand all Loading... |
39 m_grContext = grContext; | 39 m_grContext = grContext; |
40 } | 40 } |
41 | 41 |
42 private: | 42 private: |
43 std::vector<JBig2ArithCtx> m_gbContext; | 43 std::vector<JBig2ArithCtx> m_gbContext; |
44 std::vector<JBig2ArithCtx> m_grContext; | 44 std::vector<JBig2ArithCtx> m_grContext; |
45 CJBig2_List<CJBig2_Image> m_SDEXSYMS; | 45 CJBig2_List<CJBig2_Image> m_SDEXSYMS; |
46 }; | 46 }; |
47 | 47 |
48 #endif // CORE_FXCODEC_JBIG2_JBIG2_SYMBOLDICT_H_ | 48 #endif // CORE_FXCODEC_JBIG2_JBIG2_SYMBOLDICT_H_ |
OLD | NEW |