| OLD | NEW |
| 1 // Copyright 2015 PDFium Authors. All rights reserved. | 1 // Copyright 2015 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 "JBig2_TrdProc.h" | 7 #include "core/src/fxcodec/jbig2/JBig2_TrdProc.h" |
| 8 | 8 |
| 9 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| 11 #include "JBig2_ArithDecoder.h" | 11 #include "core/src/fxcodec/jbig2/JBig2_ArithDecoder.h" |
| 12 #include "JBig2_ArithIntDecoder.h" | 12 #include "core/src/fxcodec/jbig2/JBig2_ArithIntDecoder.h" |
| 13 #include "JBig2_GrrdProc.h" | 13 #include "core/src/fxcodec/jbig2/JBig2_GrrdProc.h" |
| 14 #include "JBig2_HuffmanDecoder.h" | 14 #include "core/src/fxcodec/jbig2/JBig2_HuffmanDecoder.h" |
| 15 | 15 |
| 16 CJBig2_Image* CJBig2_TRDProc::decode_Huffman(CJBig2_BitStream* pStream, | 16 CJBig2_Image* CJBig2_TRDProc::decode_Huffman(CJBig2_BitStream* pStream, |
| 17 JBig2ArithCtx* grContext) { | 17 JBig2ArithCtx* grContext) { |
| 18 int32_t STRIPT, FIRSTS; | 18 int32_t STRIPT, FIRSTS; |
| 19 FX_DWORD NINSTANCES; | 19 FX_DWORD NINSTANCES; |
| 20 int32_t DT, DFS, CURS; | 20 int32_t DT, DFS, CURS; |
| 21 int32_t SI, TI; | 21 int32_t SI, TI; |
| 22 CJBig2_Image* IBI; | 22 CJBig2_Image* IBI; |
| 23 FX_DWORD WI, HI; | 23 FX_DWORD WI, HI; |
| 24 int32_t IDS; | 24 int32_t IDS; |
| (...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 404 delete IAIT; | 404 delete IAIT; |
| 405 delete IARI; | 405 delete IARI; |
| 406 delete IARDW; | 406 delete IARDW; |
| 407 delete IARDH; | 407 delete IARDH; |
| 408 delete IARDX; | 408 delete IARDX; |
| 409 delete IARDY; | 409 delete IARDY; |
| 410 delete IAID; | 410 delete IAID; |
| 411 } | 411 } |
| 412 return nullptr; | 412 return nullptr; |
| 413 } | 413 } |
| OLD | NEW |