Chromium Code Reviews| 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_GrdProc.h" | 7 #include "core/src/fxcodec/jbig2/JBig2_GrdProc.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_BitStream.h" | 12 #include "core/src/fxcodec/jbig2/JBig2_BitStream.h" |
| 13 #include "JBig2_Image.h" | 13 #include "core/src/fxcodec/jbig2/JBig2_Image.h" |
| 14 #include "core/include/fxcodec/fx_codec.h" | 14 #include "core/include/fxcodec/fx_codec.h" |
|
Tom Sepez
2016/02/17 21:32:27
order
dsinclair
2016/02/17 21:54:00
Done.
| |
| 15 | 15 |
| 16 CJBig2_GRDProc::CJBig2_GRDProc() | 16 CJBig2_GRDProc::CJBig2_GRDProc() |
| 17 : m_loopIndex(0), | 17 : m_loopIndex(0), |
| 18 m_pLine(nullptr), | 18 m_pLine(nullptr), |
| 19 m_pPause(nullptr), | 19 m_pPause(nullptr), |
| 20 m_DecodeType(0), | 20 m_DecodeType(0), |
| 21 LTP(0) { | 21 LTP(0) { |
| 22 m_ReplaceRect.left = 0; | 22 m_ReplaceRect.left = 0; |
| 23 m_ReplaceRect.bottom = 0; | 23 m_ReplaceRect.bottom = 0; |
| 24 m_ReplaceRect.top = 0; | 24 m_ReplaceRect.top = 0; |
| (...skipping 1225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1250 } | 1250 } |
| 1251 if (pPause && pPause->NeedToPauseNow()) { | 1251 if (pPause && pPause->NeedToPauseNow()) { |
| 1252 m_loopIndex++; | 1252 m_loopIndex++; |
| 1253 m_ProssiveStatus = FXCODEC_STATUS_DECODE_TOBECONTINUE; | 1253 m_ProssiveStatus = FXCODEC_STATUS_DECODE_TOBECONTINUE; |
| 1254 return FXCODEC_STATUS_DECODE_TOBECONTINUE; | 1254 return FXCODEC_STATUS_DECODE_TOBECONTINUE; |
| 1255 } | 1255 } |
| 1256 } | 1256 } |
| 1257 m_ProssiveStatus = FXCODEC_STATUS_DECODE_FINISH; | 1257 m_ProssiveStatus = FXCODEC_STATUS_DECODE_FINISH; |
| 1258 return FXCODEC_STATUS_DECODE_FINISH; | 1258 return FXCODEC_STATUS_DECODE_FINISH; |
| 1259 } | 1259 } |
| OLD | NEW |