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

Side by Side Diff: core/src/fxcodec/jbig2/JBig2_GeneralDecoder.h

Issue 1284193005: Clean: Fix some unneeded semi-colons and bad spacing. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: Created 5 years, 4 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/src/fxcodec/jbig2/JBig2_Context.h ('k') | core/src/fxcodec/jbig2/JBig2_Module.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 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 #ifndef _JBIG2_GENERAL_DECODER_H_ 7 #ifndef _JBIG2_GENERAL_DECODER_H_
8 #define _JBIG2_GENERAL_DECODER_H_ 8 #define _JBIG2_GENERAL_DECODER_H_
9 9
10 #include "../../../include/fxcodec/fx_codec_def.h" 10 #include "../../../include/fxcodec/fx_codec_def.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 JBig2ArithCtx* gbContext, 56 JBig2ArithCtx* gbContext,
57 IFX_Pause* pPause = NULL); 57 IFX_Pause* pPause = NULL);
58 FXCODEC_STATUS Start_decode_Arith_V1(CJBig2_Image** pImage, 58 FXCODEC_STATUS Start_decode_Arith_V1(CJBig2_Image** pImage,
59 CJBig2_ArithDecoder* pArithDecoder, 59 CJBig2_ArithDecoder* pArithDecoder,
60 JBig2ArithCtx* gbContext, 60 JBig2ArithCtx* gbContext,
61 IFX_Pause* pPause = NULL); 61 IFX_Pause* pPause = NULL);
62 FXCODEC_STATUS Start_decode_MMR(CJBig2_Image** pImage, 62 FXCODEC_STATUS Start_decode_MMR(CJBig2_Image** pImage,
63 CJBig2_BitStream* pStream, 63 CJBig2_BitStream* pStream,
64 IFX_Pause* pPause = NULL); 64 IFX_Pause* pPause = NULL);
65 FXCODEC_STATUS Continue_decode(IFX_Pause* pPause); 65 FXCODEC_STATUS Continue_decode(IFX_Pause* pPause);
66 FX_RECT GetReplaceRect() { return m_ReplaceRect; }; 66 FX_RECT GetReplaceRect() { return m_ReplaceRect; }
67 67
68 private: 68 private:
69 FXCODEC_STATUS decode_Arith(IFX_Pause* pPause); 69 FXCODEC_STATUS decode_Arith(IFX_Pause* pPause);
70 FXCODEC_STATUS decode_Arith_V2(IFX_Pause* pPause); 70 FXCODEC_STATUS decode_Arith_V2(IFX_Pause* pPause);
71 FXCODEC_STATUS decode_Arith_V1(IFX_Pause* pPause); 71 FXCODEC_STATUS decode_Arith_V1(IFX_Pause* pPause);
72 FXCODEC_STATUS decode_MMR(); 72 FXCODEC_STATUS decode_MMR();
73 FXCODEC_STATUS decode_Arith_Template0_opt3(CJBig2_Image* pImage, 73 FXCODEC_STATUS decode_Arith_Template0_opt3(CJBig2_Image* pImage,
74 CJBig2_ArithDecoder* pArithDecoder, 74 CJBig2_ArithDecoder* pArithDecoder,
75 JBig2ArithCtx* gbContext, 75 JBig2ArithCtx* gbContext,
76 IFX_Pause* pPause); 76 IFX_Pause* pPause);
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 315
316 public: 316 public:
317 FX_BOOL GSMMR; 317 FX_BOOL GSMMR;
318 FX_BOOL GSUSESKIP; 318 FX_BOOL GSUSESKIP;
319 uint8_t GSBPP; 319 uint8_t GSBPP;
320 FX_DWORD GSW, GSH; 320 FX_DWORD GSW, GSH;
321 uint8_t GSTEMPLATE; 321 uint8_t GSTEMPLATE;
322 CJBig2_Image* GSKIP; 322 CJBig2_Image* GSKIP;
323 }; 323 };
324 #endif 324 #endif
OLDNEW
« no previous file with comments | « core/src/fxcodec/jbig2/JBig2_Context.h ('k') | core/src/fxcodec/jbig2/JBig2_Module.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698