| 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 _JBIG2_HUFFMAN_TABLE_STANDARD_H_ | 7 #ifndef _JBIG2_HUFFMAN_TABLE_STANDARD_H_ |
| 8 #define _JBIG2_HUFFMAN_TABLE_STANDARD_H_ | 8 #define _JBIG2_HUFFMAN_TABLE_STANDARD_H_ |
| 9 | 9 |
| 10 #include "../../../../core/include/fxcrt/fx_system.h" | 10 #include "core/include/fxcrt/fx_system.h" |
| 11 | 11 |
| 12 struct JBig2TableLine { | 12 struct JBig2TableLine { |
| 13 int PREFLEN; | 13 int PREFLEN; |
| 14 int RANDELEN; | 14 int RANDELEN; |
| 15 int RANGELOW; | 15 int RANGELOW; |
| 16 }; | 16 }; |
| 17 | 17 |
| 18 const FX_BOOL HuffmanTable_HTOOB_B1 = FALSE; | 18 const FX_BOOL HuffmanTable_HTOOB_B1 = FALSE; |
| 19 const JBig2TableLine HuffmanTable_B1[] = {{1, 4, 0}, | 19 const JBig2TableLine HuffmanTable_B1[] = {{1, 4, 0}, |
| 20 {2, 8, 16}, | 20 {2, 8, 16}, |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 const FX_BOOL HuffmanTable_HTOOB_B14 = FALSE; | 88 const FX_BOOL HuffmanTable_HTOOB_B14 = FALSE; |
| 89 const JBig2TableLine HuffmanTable_B14[] = {{3, 0, -2}, {3, 0, -1}, {1, 0, 0}, | 89 const JBig2TableLine HuffmanTable_B14[] = {{3, 0, -2}, {3, 0, -1}, {1, 0, 0}, |
| 90 {3, 0, 1}, {3, 0, 2}, {0, 32, -3}, | 90 {3, 0, 1}, {3, 0, 2}, {0, 32, -3}, |
| 91 {0, 32, 3}}; | 91 {0, 32, 3}}; |
| 92 const FX_BOOL HuffmanTable_HTOOB_B15 = FALSE; | 92 const FX_BOOL HuffmanTable_HTOOB_B15 = FALSE; |
| 93 const JBig2TableLine HuffmanTable_B15[] = { | 93 const JBig2TableLine HuffmanTable_B15[] = { |
| 94 {7, 4, -24}, {6, 2, -8}, {5, 1, -4}, {4, 0, -2}, {3, 0, -1}, | 94 {7, 4, -24}, {6, 2, -8}, {5, 1, -4}, {4, 0, -2}, {3, 0, -1}, |
| 95 {1, 0, 0}, {3, 0, 1}, {4, 0, 2}, {5, 1, 3}, {6, 2, 5}, | 95 {1, 0, 0}, {3, 0, 1}, {4, 0, 2}, {5, 1, 3}, {6, 2, 5}, |
| 96 {7, 4, 9}, {7, 32, -25}, {7, 32, 25}}; | 96 {7, 4, 9}, {7, 32, -25}, {7, 32, 25}}; |
| 97 #endif | 97 #endif |
| OLD | NEW |