• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_HUFFMANTABLE_STANDARD_H_
8 #define CORE_FXCODEC_JBIG2_JBIG2_HUFFMANTABLE_STANDARD_H_
9 
10 #include "core/fxcrt/fx_system.h"
11 
12 struct JBig2TableLine {
13   uint8_t PREFLEN;
14   uint8_t RANDELEN;
15   int32_t RANGELOW;
16 };
17 
18 extern const bool HuffmanTable_HTOOB_B1;
19 extern const JBig2TableLine HuffmanTable_B1[];
20 extern const size_t HuffmanTable_B1_Size;
21 
22 extern const bool HuffmanTable_HTOOB_B2;
23 extern const JBig2TableLine HuffmanTable_B2[];
24 extern const size_t HuffmanTable_B2_Size;
25 
26 extern const bool HuffmanTable_HTOOB_B3;
27 extern const JBig2TableLine HuffmanTable_B3[];
28 extern const size_t HuffmanTable_B3_Size;
29 
30 extern const bool HuffmanTable_HTOOB_B4;
31 extern const JBig2TableLine HuffmanTable_B4[];
32 extern const size_t HuffmanTable_B4_Size;
33 
34 extern const bool HuffmanTable_HTOOB_B5;
35 extern const JBig2TableLine HuffmanTable_B5[];
36 extern const size_t HuffmanTable_B5_Size;
37 
38 extern const bool HuffmanTable_HTOOB_B6;
39 extern const JBig2TableLine HuffmanTable_B6[];
40 extern const size_t HuffmanTable_B6_Size;
41 
42 extern const bool HuffmanTable_HTOOB_B7;
43 extern const JBig2TableLine HuffmanTable_B7[];
44 extern const size_t HuffmanTable_B7_Size;
45 
46 extern const bool HuffmanTable_HTOOB_B8;
47 extern const JBig2TableLine HuffmanTable_B8[];
48 extern const size_t HuffmanTable_B8_Size;
49 
50 extern const bool HuffmanTable_HTOOB_B9;
51 extern const JBig2TableLine HuffmanTable_B9[];
52 extern const size_t HuffmanTable_B9_Size;
53 
54 extern const bool HuffmanTable_HTOOB_B10;
55 extern const JBig2TableLine HuffmanTable_B10[];
56 extern const size_t HuffmanTable_B10_Size;
57 
58 extern const bool HuffmanTable_HTOOB_B11;
59 extern const JBig2TableLine HuffmanTable_B11[];
60 extern const size_t HuffmanTable_B11_Size;
61 
62 extern const bool HuffmanTable_HTOOB_B12;
63 extern const JBig2TableLine HuffmanTable_B12[];
64 extern const size_t HuffmanTable_B12_Size;
65 
66 extern const bool HuffmanTable_HTOOB_B13;
67 extern const JBig2TableLine HuffmanTable_B13[];
68 extern const size_t HuffmanTable_B13_Size;
69 
70 extern const bool HuffmanTable_HTOOB_B14;
71 extern const JBig2TableLine HuffmanTable_B14[];
72 extern const size_t HuffmanTable_B14_Size;
73 
74 extern const bool HuffmanTable_HTOOB_B15;
75 extern const JBig2TableLine HuffmanTable_B15[];
76 extern const size_t HuffmanTable_B15_Size;
77 
78 #endif  // CORE_FXCODEC_JBIG2_JBIG2_HUFFMANTABLE_STANDARD_H_
79