| 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_HUFFMANTABLE_H_ | 7 #ifndef CORE_FXCODEC_JBIG2_JBIG2_HUFFMANTABLE_H_ | 
| 8 #define CORE_FXCODEC_JBIG2_JBIG2_HUFFMANTABLE_H_ | 8 #define CORE_FXCODEC_JBIG2_JBIG2_HUFFMANTABLE_H_ | 
| 9 | 9 | 
| 10 #include <vector> | 10 #include <vector> | 
| 11 | 11 | 
| 12 #include "core/fxcrt/include/fx_system.h" | 12 #include "core/fxcrt/fx_system.h" | 
| 13 | 13 | 
| 14 class CJBig2_BitStream; | 14 class CJBig2_BitStream; | 
| 15 struct JBig2TableLine; | 15 struct JBig2TableLine; | 
| 16 | 16 | 
| 17 class CJBig2_HuffmanTable { | 17 class CJBig2_HuffmanTable { | 
| 18  public: | 18  public: | 
| 19   CJBig2_HuffmanTable(const JBig2TableLine* pTable, | 19   CJBig2_HuffmanTable(const JBig2TableLine* pTable, | 
| 20                       uint32_t nLines, | 20                       uint32_t nLines, | 
| 21                       bool bHTOOB); | 21                       bool bHTOOB); | 
| 22 | 22 | 
| (...skipping 18 matching lines...) Expand all  Loading... | 
| 41   bool m_bOK; | 41   bool m_bOK; | 
| 42   bool HTOOB; | 42   bool HTOOB; | 
| 43   uint32_t NTEMP; | 43   uint32_t NTEMP; | 
| 44   std::vector<int> CODES; | 44   std::vector<int> CODES; | 
| 45   std::vector<int> PREFLEN; | 45   std::vector<int> PREFLEN; | 
| 46   std::vector<int> RANGELEN; | 46   std::vector<int> RANGELEN; | 
| 47   std::vector<int> RANGELOW; | 47   std::vector<int> RANGELOW; | 
| 48 }; | 48 }; | 
| 49 | 49 | 
| 50 #endif  // CORE_FXCODEC_JBIG2_JBIG2_HUFFMANTABLE_H_ | 50 #endif  // CORE_FXCODEC_JBIG2_JBIG2_HUFFMANTABLE_H_ | 
| OLD | NEW | 
|---|