Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(910)

Side by Side Diff: core/fxcodec/jbig2/JBig2_GrdProc.cpp

Issue 2381063002: Move core/fxcodec/codec/include and core/fxcodec/include files up (Closed)
Patch Set: Rebase to master Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « core/fxcodec/jbig2/JBig2_GrdProc.h ('k') | core/fxge/agg/fx_agg_driver.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "core/fxcodec/jbig2/JBig2_GrdProc.h" 7 #include "core/fxcodec/jbig2/JBig2_GrdProc.h"
8 8
9 #include <memory> 9 #include <memory>
10 10
11 #include "core/fxcodec/include/fx_codec.h" 11 #include "core/fxcodec/fx_codec.h"
12 #include "core/fxcodec/jbig2/JBig2_ArithDecoder.h" 12 #include "core/fxcodec/jbig2/JBig2_ArithDecoder.h"
13 #include "core/fxcodec/jbig2/JBig2_BitStream.h" 13 #include "core/fxcodec/jbig2/JBig2_BitStream.h"
14 #include "core/fxcodec/jbig2/JBig2_Image.h" 14 #include "core/fxcodec/jbig2/JBig2_Image.h"
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 m_LTP(FALSE) { 21 m_LTP(FALSE) {
(...skipping 1133 matching lines...) Expand 10 before | Expand all | Expand 10 after
1155 } 1155 }
1156 if (pPause && pPause->NeedToPauseNow()) { 1156 if (pPause && pPause->NeedToPauseNow()) {
1157 m_loopIndex++; 1157 m_loopIndex++;
1158 m_ProssiveStatus = FXCODEC_STATUS_DECODE_TOBECONTINUE; 1158 m_ProssiveStatus = FXCODEC_STATUS_DECODE_TOBECONTINUE;
1159 return FXCODEC_STATUS_DECODE_TOBECONTINUE; 1159 return FXCODEC_STATUS_DECODE_TOBECONTINUE;
1160 } 1160 }
1161 } 1161 }
1162 m_ProssiveStatus = FXCODEC_STATUS_DECODE_FINISH; 1162 m_ProssiveStatus = FXCODEC_STATUS_DECODE_FINISH;
1163 return FXCODEC_STATUS_DECODE_FINISH; 1163 return FXCODEC_STATUS_DECODE_FINISH;
1164 } 1164 }
OLDNEW
« no previous file with comments | « core/fxcodec/jbig2/JBig2_GrdProc.h ('k') | core/fxge/agg/fx_agg_driver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698