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

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

Issue 1800523005: Move core/src/ up to core/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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_TrdProc.h ('k') | core/fxcodec/lbmp/fx_bmp.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 "core/src/fxcodec/jbig2/JBig2_TrdProc.h" 7 #include "core/fxcodec/jbig2/JBig2_TrdProc.h"
8 8
9 #include <memory> 9 #include <memory>
10 10
11 #include "core/src/fxcodec/jbig2/JBig2_ArithDecoder.h" 11 #include "core/fxcodec/jbig2/JBig2_ArithDecoder.h"
12 #include "core/src/fxcodec/jbig2/JBig2_ArithIntDecoder.h" 12 #include "core/fxcodec/jbig2/JBig2_ArithIntDecoder.h"
13 #include "core/src/fxcodec/jbig2/JBig2_GrrdProc.h" 13 #include "core/fxcodec/jbig2/JBig2_GrrdProc.h"
14 #include "core/src/fxcodec/jbig2/JBig2_HuffmanDecoder.h" 14 #include "core/fxcodec/jbig2/JBig2_HuffmanDecoder.h"
15 15
16 CJBig2_Image* CJBig2_TRDProc::decode_Huffman(CJBig2_BitStream* pStream, 16 CJBig2_Image* CJBig2_TRDProc::decode_Huffman(CJBig2_BitStream* pStream,
17 JBig2ArithCtx* grContext) { 17 JBig2ArithCtx* grContext) {
18 int32_t STRIPT, FIRSTS; 18 int32_t STRIPT, FIRSTS;
19 FX_DWORD NINSTANCES; 19 FX_DWORD NINSTANCES;
20 int32_t DT, DFS, CURS; 20 int32_t DT, DFS, CURS;
21 int32_t SI, TI; 21 int32_t SI, TI;
22 CJBig2_Image* IBI; 22 CJBig2_Image* IBI;
23 FX_DWORD WI, HI; 23 FX_DWORD WI, HI;
24 int32_t IDS; 24 int32_t IDS;
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 CURS += WI - 1; 398 CURS += WI - 1;
399 } else if (TRANSPOSED == 1 && ((REFCORNER == JBIG2_CORNER_TOPLEFT) || 399 } else if (TRANSPOSED == 1 && ((REFCORNER == JBIG2_CORNER_TOPLEFT) ||
400 (REFCORNER == JBIG2_CORNER_TOPRIGHT))) { 400 (REFCORNER == JBIG2_CORNER_TOPRIGHT))) {
401 CURS += HI - 1; 401 CURS += HI - 1;
402 } 402 }
403 ++NINSTANCES; 403 ++NINSTANCES;
404 } 404 }
405 } 405 }
406 return SBREG.release(); 406 return SBREG.release();
407 } 407 }
OLDNEW
« no previous file with comments | « core/fxcodec/jbig2/JBig2_TrdProc.h ('k') | core/fxcodec/lbmp/fx_bmp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698