Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: core/fxcodec/jbig2/JBig2_HuffmanTable_Standard.cpp

Issue 2382723003: Move core/fxcrt/include to core/fxcrt (Closed)
Patch Set: Rebase to master Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « core/fxcodec/jbig2/JBig2_HuffmanTable_Standard.h ('k') | core/fxcodec/jbig2/JBig2_Image.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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 #include "core/fxcodec/jbig2/JBig2_HuffmanTable_Standard.h" 7 #include "core/fxcodec/jbig2/JBig2_HuffmanTable_Standard.h"
8 #include "core/fxcrt/include/fx_basic.h" 8 #include "core/fxcrt/fx_basic.h"
9 9
10 const bool HuffmanTable_HTOOB_B1 = false; 10 const bool HuffmanTable_HTOOB_B1 = false;
11 const JBig2TableLine HuffmanTable_B1[] = {{1, 4, 0}, 11 const JBig2TableLine HuffmanTable_B1[] = {{1, 4, 0},
12 {2, 8, 16}, 12 {2, 8, 16},
13 {3, 16, 272}, 13 {3, 16, 272},
14 {0, 32, -1}, 14 {0, 32, -1},
15 {3, 32, 65808}}; 15 {3, 32, 65808}};
16 const size_t HuffmanTable_B1_Size = FX_ArraySize(HuffmanTable_B1); 16 const size_t HuffmanTable_B1_Size = FX_ArraySize(HuffmanTable_B1);
17 17
18 const bool HuffmanTable_HTOOB_B2 = true; 18 const bool HuffmanTable_HTOOB_B2 = true;
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 {3, 0, 1}, {3, 0, 2}, {0, 32, -3}, 108 {3, 0, 1}, {3, 0, 2}, {0, 32, -3},
109 {0, 32, 3}}; 109 {0, 32, 3}};
110 const size_t HuffmanTable_B14_Size = FX_ArraySize(HuffmanTable_B14); 110 const size_t HuffmanTable_B14_Size = FX_ArraySize(HuffmanTable_B14);
111 111
112 const bool HuffmanTable_HTOOB_B15 = false; 112 const bool HuffmanTable_HTOOB_B15 = false;
113 const JBig2TableLine HuffmanTable_B15[] = { 113 const JBig2TableLine HuffmanTable_B15[] = {
114 {7, 4, -24}, {6, 2, -8}, {5, 1, -4}, {4, 0, -2}, {3, 0, -1}, 114 {7, 4, -24}, {6, 2, -8}, {5, 1, -4}, {4, 0, -2}, {3, 0, -1},
115 {1, 0, 0}, {3, 0, 1}, {4, 0, 2}, {5, 1, 3}, {6, 2, 5}, 115 {1, 0, 0}, {3, 0, 1}, {4, 0, 2}, {5, 1, 3}, {6, 2, 5},
116 {7, 4, 9}, {7, 32, -25}, {7, 32, 25}}; 116 {7, 4, 9}, {7, 32, -25}, {7, 32, 25}};
117 const size_t HuffmanTable_B15_Size = FX_ArraySize(HuffmanTable_B15); 117 const size_t HuffmanTable_B15_Size = FX_ArraySize(HuffmanTable_B15);
OLDNEW
« no previous file with comments | « core/fxcodec/jbig2/JBig2_HuffmanTable_Standard.h ('k') | core/fxcodec/jbig2/JBig2_Image.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698