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

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

Issue 1805603002: core/include/fdpfapi cleanup Part I. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master 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_BitStream.cpp ('k') | core/fxcodec/jbig2/JBig2_Context.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 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 CORE_FXCODEC_JBIG2_JBIG2_CONTEXT_H_ 7 #ifndef CORE_FXCODEC_JBIG2_JBIG2_CONTEXT_H_
8 #define CORE_FXCODEC_JBIG2_JBIG2_CONTEXT_H_ 8 #define CORE_FXCODEC_JBIG2_JBIG2_CONTEXT_H_
9 9
10 #include <list> 10 #include <list>
11 #include <memory> 11 #include <memory>
12 #include <utility> 12 #include <utility>
13 13
14 #include "core/fpdfapi/fpdf_parser/include/cpdf_object.h"
14 #include "core/fxcodec/jbig2/JBig2_List.h" 15 #include "core/fxcodec/jbig2/JBig2_List.h"
15 #include "core/fxcodec/jbig2/JBig2_Page.h" 16 #include "core/fxcodec/jbig2/JBig2_Page.h"
16 #include "core/fxcodec/jbig2/JBig2_Segment.h" 17 #include "core/fxcodec/jbig2/JBig2_Segment.h"
17 #include "core/include/fpdfapi/cpdf_object.h"
18 #include "core/include/fxcodec/fx_codec_def.h" 18 #include "core/include/fxcodec/fx_codec_def.h"
19 19
20 class CJBig2_ArithDecoder; 20 class CJBig2_ArithDecoder;
21 class CJBig2_GRDProc; 21 class CJBig2_GRDProc;
22 class CPDF_StreamAcc; 22 class CPDF_StreamAcc;
23 class IFX_Pause; 23 class IFX_Pause;
24 24
25 // Cache is keyed by the ObjNum of a stream and an index within the stream. 25 // Cache is keyed by the ObjNum of a stream and an index within the stream.
26 using CJBig2_CacheKey = std::pair<FX_DWORD, FX_DWORD>; 26 using CJBig2_CacheKey = std::pair<FX_DWORD, FX_DWORD>;
27 // NB: CJBig2_SymbolDict* is owned. 27 // NB: CJBig2_SymbolDict* is owned.
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 std::unique_ptr<CJBig2_GRDProc> m_pGRD; 125 std::unique_ptr<CJBig2_GRDProc> m_pGRD;
126 JBig2ArithCtx* m_gbContext; 126 JBig2ArithCtx* m_gbContext;
127 std::unique_ptr<CJBig2_Segment> m_pSegment; 127 std::unique_ptr<CJBig2_Segment> m_pSegment;
128 FX_DWORD m_dwOffset; 128 FX_DWORD m_dwOffset;
129 JBig2RegionInfo m_ri; 129 JBig2RegionInfo m_ri;
130 std::list<CJBig2_CachePair>* const m_pSymbolDictCache; 130 std::list<CJBig2_CachePair>* const m_pSymbolDictCache;
131 bool m_bIsGlobal; 131 bool m_bIsGlobal;
132 }; 132 };
133 133
134 #endif // CORE_FXCODEC_JBIG2_JBIG2_CONTEXT_H_ 134 #endif // CORE_FXCODEC_JBIG2_JBIG2_CONTEXT_H_
OLDNEW
« no previous file with comments | « core/fxcodec/jbig2/JBig2_BitStream.cpp ('k') | core/fxcodec/jbig2/JBig2_Context.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698