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