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

Side by Side Diff: core/src/fxcodec/jbig2/JBig2_GsidProc.cpp

Issue 1438573002: Merge to XFA: Fix relative includes within core/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 1 month 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/src/fxcodec/jbig2/JBig2_GsidProc.h ('k') | core/src/fxcodec/jbig2/JBig2_HtrdProc.h » ('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 "JBig2_GsidProc.h" 7 #include "JBig2_GsidProc.h"
8 8
9 #include "../../../include/fxcrt/fx_basic.h"
10 #include "JBig2_BitStream.h" 9 #include "JBig2_BitStream.h"
11 #include "JBig2_GrdProc.h" 10 #include "JBig2_GrdProc.h"
12 #include "JBig2_Image.h" 11 #include "JBig2_Image.h"
13 #include "JBig2_List.h" 12 #include "JBig2_List.h"
13 #include "core/include/fxcrt/fx_basic.h"
14 #include "third_party/base/nonstd_unique_ptr.h" 14 #include "third_party/base/nonstd_unique_ptr.h"
15 15
16 FX_DWORD* CJBig2_GSIDProc::decode_Arith(CJBig2_ArithDecoder* pArithDecoder, 16 FX_DWORD* CJBig2_GSIDProc::decode_Arith(CJBig2_ArithDecoder* pArithDecoder,
17 JBig2ArithCtx* gbContext, 17 JBig2ArithCtx* gbContext,
18 IFX_Pause* pPause) { 18 IFX_Pause* pPause) {
19 nonstd::unique_ptr<CJBig2_GRDProc> pGRD(new CJBig2_GRDProc()); 19 nonstd::unique_ptr<CJBig2_GRDProc> pGRD(new CJBig2_GRDProc());
20 pGRD->MMR = GSMMR; 20 pGRD->MMR = GSMMR;
21 pGRD->GBW = GSW; 21 pGRD->GBW = GSW;
22 pGRD->GBH = GSH; 22 pGRD->GBH = GSH;
23 pGRD->GBTEMPLATE = GSTEMPLATE; 23 pGRD->GBTEMPLATE = GSTEMPLATE;
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 for (J = 0; J < GSBPP; ++J) { 113 for (J = 0; J < GSBPP; ++J) {
114 GSVALS.get()[y * GSW + x] |= GSPLANES.get()[J]->getPixel(x, y) << J; 114 GSVALS.get()[y * GSW + x] |= GSPLANES.get()[J]->getPixel(x, y) << J;
115 } 115 }
116 } 116 }
117 } 117 }
118 for (J = 0; J < GSBPP; ++J) { 118 for (J = 0; J < GSBPP; ++J) {
119 delete GSPLANES.get()[J]; 119 delete GSPLANES.get()[J];
120 } 120 }
121 return GSVALS.release(); 121 return GSVALS.release();
122 } 122 }
OLDNEW
« no previous file with comments | « core/src/fxcodec/jbig2/JBig2_GsidProc.h ('k') | core/src/fxcodec/jbig2/JBig2_HtrdProc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698