| 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 "JBig2_GeneralDecoder.h" | 7 #include "JBig2_GeneralDecoder.h" |
| 8 #include "JBig2_ArithDecoder.h" | 8 #include "JBig2_ArithDecoder.h" |
| 9 #include "JBig2_ArithIntDecoder.h" | 9 #include "JBig2_ArithIntDecoder.h" |
| 10 #include "JBig2_HuffmanDecoder.h" | 10 #include "JBig2_HuffmanDecoder.h" |
| (...skipping 2083 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2094 { | 2094 { |
| 2095 int32_t STRIPT, FIRSTS; | 2095 int32_t STRIPT, FIRSTS; |
| 2096 FX_DWORD NINSTANCES; | 2096 FX_DWORD NINSTANCES; |
| 2097 int32_t DT, DFS, CURS; | 2097 int32_t DT, DFS, CURS; |
| 2098 int32_t CURT; | 2098 int32_t CURT; |
| 2099 int32_t SI, TI; | 2099 int32_t SI, TI; |
| 2100 FX_DWORD IDI; | 2100 FX_DWORD IDI; |
| 2101 CJBig2_Image *IBI; | 2101 CJBig2_Image *IBI; |
| 2102 FX_DWORD WI, HI; | 2102 FX_DWORD WI, HI; |
| 2103 int32_t IDS; | 2103 int32_t IDS; |
| 2104 FX_BOOL RI; | 2104 int RI; |
| 2105 int32_t RDWI, RDHI, RDXI, RDYI; | 2105 int32_t RDWI, RDHI, RDXI, RDYI; |
| 2106 CJBig2_Image *IBOI; | 2106 CJBig2_Image *IBOI; |
| 2107 FX_DWORD WOI, HOI; | 2107 FX_DWORD WOI, HOI; |
| 2108 CJBig2_Image *SBREG; | 2108 CJBig2_Image *SBREG; |
| 2109 FX_BOOL bFirst; | 2109 FX_BOOL bFirst; |
| 2110 int32_t nRet, nVal; | 2110 int32_t nRet, nVal; |
| 2111 int32_t bRetained; | 2111 int32_t bRetained; |
| 2112 CJBig2_ArithIntDecoder *IADT, *IAFS, *IADS, *IAIT, *IARI, *IARDW, *IARDH, *I
ARDX, *IARDY; | 2112 CJBig2_ArithIntDecoder *IADT, *IAFS, *IADS, *IAIT, *IARI, *IARDW, *IARDH, *I
ARDX, *IARDY; |
| 2113 CJBig2_ArithIaidDecoder *IAID; | 2113 CJBig2_ArithIaidDecoder *IAID; |
| 2114 CJBig2_GRRDProc *pGRRD; | 2114 CJBig2_GRRDProc *pGRRD; |
| (...skipping 2207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4322 } | 4322 } |
| 4323 if(pPause && pPause->NeedToPauseNow()) { | 4323 if(pPause && pPause->NeedToPauseNow()) { |
| 4324 m_loopIndex++; | 4324 m_loopIndex++; |
| 4325 m_ProssiveStatus = FXCODEC_STATUS_DECODE_TOBECONTINUE; | 4325 m_ProssiveStatus = FXCODEC_STATUS_DECODE_TOBECONTINUE; |
| 4326 return FXCODEC_STATUS_DECODE_TOBECONTINUE; | 4326 return FXCODEC_STATUS_DECODE_TOBECONTINUE; |
| 4327 } | 4327 } |
| 4328 } | 4328 } |
| 4329 m_ProssiveStatus = FXCODEC_STATUS_DECODE_FINISH; | 4329 m_ProssiveStatus = FXCODEC_STATUS_DECODE_FINISH; |
| 4330 return FXCODEC_STATUS_DECODE_FINISH; | 4330 return FXCODEC_STATUS_DECODE_FINISH; |
| 4331 } | 4331 } |
| OLD | NEW |