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

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

Issue 1380243004: Various changes to JBig2 cache: (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Addressed comment Created 5 years, 2 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.cpp ('k') | core/src/fxcodec/jbig2/JBig2_Segment.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_SEGMENT_H_ 7 #ifndef _JBIG2_SEGMENT_H_
8 #define _JBIG2_SEGMENT_H_ 8 #define _JBIG2_SEGMENT_H_
9 9
10 #include "JBig2_Define.h" 10 #include "JBig2_Define.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 uint8_t deferred_non_retain : 1; 43 uint8_t deferred_non_retain : 1;
44 } s; 44 } s;
45 uint8_t c; 45 uint8_t c;
46 } m_cFlags; 46 } m_cFlags;
47 int32_t m_nReferred_to_segment_count; 47 int32_t m_nReferred_to_segment_count;
48 FX_DWORD* m_pReferred_to_segment_numbers; 48 FX_DWORD* m_pReferred_to_segment_numbers;
49 FX_DWORD m_dwPage_association; 49 FX_DWORD m_dwPage_association;
50 FX_DWORD m_dwData_length; 50 FX_DWORD m_dwData_length;
51 51
52 FX_DWORD m_dwHeader_Length; 52 FX_DWORD m_dwHeader_Length;
53 const uint8_t* m_pData; 53 FX_DWORD m_dwObjNum;
54 FX_DWORD m_dwDataOffset;
54 JBig2_SegmentState m_State; 55 JBig2_SegmentState m_State;
55 JBig2_ResultType m_nResultType; 56 JBig2_ResultType m_nResultType;
56 union { 57 union {
57 CJBig2_SymbolDict* sd; 58 CJBig2_SymbolDict* sd;
58 CJBig2_PatternDict* pd; 59 CJBig2_PatternDict* pd;
59 CJBig2_Image* im; 60 CJBig2_Image* im;
60 CJBig2_HuffmanTable* ht; 61 CJBig2_HuffmanTable* ht;
61 void* vd; 62 void* vd;
62 } m_Result; 63 } m_Result;
63 }; 64 };
64 #endif 65 #endif
OLDNEW
« no previous file with comments | « core/src/fxcodec/jbig2/JBig2_Context.cpp ('k') | core/src/fxcodec/jbig2/JBig2_Segment.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698