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 #include "core/src/fxcodec/jbig2/JBig2_Context.h" | 7 #include "core/src/fxcodec/jbig2/JBig2_Context.h" |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <list> | 10 #include <list> |
11 #include <utility> | 11 #include <utility> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
| 14 #include "core/include/fpdfapi/cpdf_stream.h" |
14 #include "core/src/fxcodec/jbig2/JBig2_ArithDecoder.h" | 15 #include "core/src/fxcodec/jbig2/JBig2_ArithDecoder.h" |
15 #include "core/src/fxcodec/jbig2/JBig2_BitStream.h" | 16 #include "core/src/fxcodec/jbig2/JBig2_BitStream.h" |
16 #include "core/src/fxcodec/jbig2/JBig2_GrdProc.h" | 17 #include "core/src/fxcodec/jbig2/JBig2_GrdProc.h" |
17 #include "core/src/fxcodec/jbig2/JBig2_GrrdProc.h" | 18 #include "core/src/fxcodec/jbig2/JBig2_GrrdProc.h" |
18 #include "core/src/fxcodec/jbig2/JBig2_HtrdProc.h" | 19 #include "core/src/fxcodec/jbig2/JBig2_HtrdProc.h" |
19 #include "core/src/fxcodec/jbig2/JBig2_HuffmanTable_Standard.h" | 20 #include "core/src/fxcodec/jbig2/JBig2_HuffmanTable_Standard.h" |
20 #include "core/src/fxcodec/jbig2/JBig2_PddProc.h" | 21 #include "core/src/fxcodec/jbig2/JBig2_PddProc.h" |
21 #include "core/src/fxcodec/jbig2/JBig2_SddProc.h" | 22 #include "core/src/fxcodec/jbig2/JBig2_SddProc.h" |
22 #include "core/src/fxcodec/jbig2/JBig2_TrdProc.h" | 23 #include "core/src/fxcodec/jbig2/JBig2_TrdProc.h" |
23 #include "third_party/base/stl_util.h" | 24 #include "third_party/base/stl_util.h" |
(...skipping 1405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1429 SBSYMCODES[CURTEMP].code = CURCODE; | 1430 SBSYMCODES[CURTEMP].code = CURCODE; |
1430 CURCODE = CURCODE + 1; | 1431 CURCODE = CURCODE + 1; |
1431 } | 1432 } |
1432 CURTEMP = CURTEMP + 1; | 1433 CURTEMP = CURTEMP + 1; |
1433 } | 1434 } |
1434 CURLEN = CURLEN + 1; | 1435 CURLEN = CURLEN + 1; |
1435 } | 1436 } |
1436 FX_Free(LENCOUNT); | 1437 FX_Free(LENCOUNT); |
1437 FX_Free(FIRSTCODE); | 1438 FX_Free(FIRSTCODE); |
1438 } | 1439 } |
OLD | NEW |