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

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

Issue 761313004: Add a small LRU cache for the JBIG2 symbol dictionary. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: style changes, fix flaw with iterator Created 6 years 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.cpp ('k') | core/src/fxcodec/jbig2/JBig2_SymbolDict.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 _JBIG2_SYMBOL_DICT_H_ 7 #ifndef _JBIG2_SYMBOL_DICT_H_
8 #define _JBIG2_SYMBOL_DICT_H_ 8 #define _JBIG2_SYMBOL_DICT_H_
9 #include "JBig2_Define.h" 9 #include "JBig2_Define.h"
10 #include "JBig2_ArithDecoder.h" 10 #include "JBig2_ArithDecoder.h"
11 #include "JBig2_Image.h" 11 #include "JBig2_Image.h"
12 class CJBig2_SymbolDict : public CJBig2_Object 12 class CJBig2_SymbolDict : public CJBig2_Object
13 { 13 {
14 public: 14 public:
15 15
16 CJBig2_SymbolDict(); 16 CJBig2_SymbolDict();
17 17 CJBig2_SymbolDict *DeepCopy();
18 ~CJBig2_SymbolDict(); 18 ~CJBig2_SymbolDict();
19 public: 19 public:
20 FX_DWORD SDNUMEXSYMS; 20 FX_DWORD SDNUMEXSYMS;
21 CJBig2_Image **SDEXSYMS; 21 CJBig2_Image **SDEXSYMS;
22 FX_BOOL m_bContextRetained; 22 FX_BOOL m_bContextRetained;
23 JBig2ArithCtx *m_gbContext, 23 JBig2ArithCtx *m_gbContext,
24 *m_grContext; 24 *m_grContext;
25 }; 25 };
26 #endif 26 #endif
OLDNEW
« no previous file with comments | « core/src/fxcodec/jbig2/JBig2_Context.cpp ('k') | core/src/fxcodec/jbig2/JBig2_SymbolDict.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698