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

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

Issue 1832173003: Remove FX_DWORD from core/ and delete definition (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 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_Context.cpp ('k') | core/fxcodec/jbig2/JBig2_GrdProc.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 #ifndef CORE_FXCODEC_JBIG2_JBIG2_GRDPROC_H_ 7 #ifndef CORE_FXCODEC_JBIG2_JBIG2_GRDPROC_H_
8 #define CORE_FXCODEC_JBIG2_JBIG2_GRDPROC_H_ 8 #define CORE_FXCODEC_JBIG2_JBIG2_GRDPROC_H_
9 9
10 #include "core/fxcrt/include/fx_coordinates.h" 10 #include "core/fxcrt/include/fx_coordinates.h"
(...skipping 17 matching lines...) Expand all
28 CJBig2_ArithDecoder* pArithDecoder, 28 CJBig2_ArithDecoder* pArithDecoder,
29 JBig2ArithCtx* gbContext, 29 JBig2ArithCtx* gbContext,
30 IFX_Pause* pPause); 30 IFX_Pause* pPause);
31 FXCODEC_STATUS Start_decode_MMR(CJBig2_Image** pImage, 31 FXCODEC_STATUS Start_decode_MMR(CJBig2_Image** pImage,
32 CJBig2_BitStream* pStream, 32 CJBig2_BitStream* pStream,
33 IFX_Pause* pPause); 33 IFX_Pause* pPause);
34 FXCODEC_STATUS Continue_decode(IFX_Pause* pPause); 34 FXCODEC_STATUS Continue_decode(IFX_Pause* pPause);
35 FX_RECT GetReplaceRect() const { return m_ReplaceRect; } 35 FX_RECT GetReplaceRect() const { return m_ReplaceRect; }
36 36
37 FX_BOOL MMR; 37 FX_BOOL MMR;
38 FX_DWORD GBW; 38 uint32_t GBW;
39 FX_DWORD GBH; 39 uint32_t GBH;
40 uint8_t GBTEMPLATE; 40 uint8_t GBTEMPLATE;
41 FX_BOOL TPGDON; 41 FX_BOOL TPGDON;
42 FX_BOOL USESKIP; 42 FX_BOOL USESKIP;
43 CJBig2_Image* SKIP; 43 CJBig2_Image* SKIP;
44 int8_t GBAT[8]; 44 int8_t GBAT[8];
45 45
46 private: 46 private:
47 bool UseTemplate0Opt3() const; 47 bool UseTemplate0Opt3() const;
48 bool UseTemplate1Opt3() const; 48 bool UseTemplate1Opt3() const;
49 bool UseTemplate23Opt3() const; 49 bool UseTemplate23Opt3() const;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 102
103 CJBig2_Image* decode_Arith_Template2_unopt(CJBig2_ArithDecoder* pArithDecoder, 103 CJBig2_Image* decode_Arith_Template2_unopt(CJBig2_ArithDecoder* pArithDecoder,
104 JBig2ArithCtx* gbContext); 104 JBig2ArithCtx* gbContext);
105 105
106 CJBig2_Image* decode_Arith_Template3_opt3(CJBig2_ArithDecoder* pArithDecoder, 106 CJBig2_Image* decode_Arith_Template3_opt3(CJBig2_ArithDecoder* pArithDecoder,
107 JBig2ArithCtx* gbContext); 107 JBig2ArithCtx* gbContext);
108 108
109 CJBig2_Image* decode_Arith_Template3_unopt(CJBig2_ArithDecoder* pArithDecoder, 109 CJBig2_Image* decode_Arith_Template3_unopt(CJBig2_ArithDecoder* pArithDecoder,
110 JBig2ArithCtx* gbContext); 110 JBig2ArithCtx* gbContext);
111 111
112 FX_DWORD m_loopIndex; 112 uint32_t m_loopIndex;
113 uint8_t* m_pLine; 113 uint8_t* m_pLine;
114 IFX_Pause* m_pPause; 114 IFX_Pause* m_pPause;
115 FXCODEC_STATUS m_ProssiveStatus; 115 FXCODEC_STATUS m_ProssiveStatus;
116 CJBig2_Image** m_pImage; 116 CJBig2_Image** m_pImage;
117 CJBig2_ArithDecoder* m_pArithDecoder; 117 CJBig2_ArithDecoder* m_pArithDecoder;
118 JBig2ArithCtx* m_gbContext; 118 JBig2ArithCtx* m_gbContext;
119 uint16_t m_DecodeType; 119 uint16_t m_DecodeType;
120 FX_BOOL LTP; 120 FX_BOOL LTP;
121 FX_RECT m_ReplaceRect; 121 FX_RECT m_ReplaceRect;
122 }; 122 };
123 123
124 #endif // CORE_FXCODEC_JBIG2_JBIG2_GRDPROC_H_ 124 #endif // CORE_FXCODEC_JBIG2_JBIG2_GRDPROC_H_
OLDNEW
« no previous file with comments | « core/fxcodec/jbig2/JBig2_Context.cpp ('k') | core/fxcodec/jbig2/JBig2_GrdProc.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698