Philip P. Moltmann | 4d3acf4 | 2017-03-20 11:05:52 -0700 | [diff] [blame] | 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 CORE_FXCODEC_JBIG2_JBIG2_PATTERNDICT_H_ |
| 8 | #define CORE_FXCODEC_JBIG2_JBIG2_PATTERNDICT_H_ |
| 9 | |
Philip P. Moltmann | d904c1e | 2018-03-19 09:26:45 -0700 | [diff] [blame] | 10 | #include <memory> |
| 11 | #include <vector> |
| 12 | |
Philip P. Moltmann | 4d3acf4 | 2017-03-20 11:05:52 -0700 | [diff] [blame] | 13 | #include "core/fxcodec/jbig2/JBig2_Define.h" |
| 14 | #include "core/fxcodec/jbig2/JBig2_Image.h" |
| 15 | |
| 16 | class CJBig2_PatternDict { |
| 17 | public: |
Philip P. Moltmann | d904c1e | 2018-03-19 09:26:45 -0700 | [diff] [blame] | 18 | explicit CJBig2_PatternDict(uint32_t dict_size); |
Philip P. Moltmann | 4d3acf4 | 2017-03-20 11:05:52 -0700 | [diff] [blame] | 19 | ~CJBig2_PatternDict(); |
| 20 | |
| 21 | uint32_t NUMPATS; |
Philip P. Moltmann | d904c1e | 2018-03-19 09:26:45 -0700 | [diff] [blame] | 22 | std::vector<std::unique_ptr<CJBig2_Image>> HDPATS; |
Philip P. Moltmann | 4d3acf4 | 2017-03-20 11:05:52 -0700 | [diff] [blame] | 23 | }; |
| 24 | |
| 25 | #endif // CORE_FXCODEC_JBIG2_JBIG2_PATTERNDICT_H_ |