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

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

Issue 1328643002: Remove dead JBig2 code. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: Created 5 years, 3 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/codec/fx_codec_jbig.cpp ('k') | core/src/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 _JBIG2_CONTEXT_H_ 7 #ifndef _JBIG2_CONTEXT_H_
8 #define _JBIG2_CONTEXT_H_ 8 #define _JBIG2_CONTEXT_H_
9 9
10 #include <list> 10 #include <list>
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 IFX_Pause* pPause = NULL); 49 IFX_Pause* pPause = NULL);
50 50
51 static void DestroyContext(CJBig2_Context* pContext); 51 static void DestroyContext(CJBig2_Context* pContext);
52 52
53 int32_t getFirstPage(uint8_t* pBuf, 53 int32_t getFirstPage(uint8_t* pBuf,
54 int32_t width, 54 int32_t width,
55 int32_t height, 55 int32_t height,
56 int32_t stride, 56 int32_t stride,
57 IFX_Pause* pPause); 57 IFX_Pause* pPause);
58 58
59 int32_t getNextPage(uint8_t* pBuf,
60 int32_t width,
61 int32_t height,
62 int32_t stride,
63 IFX_Pause* pPause);
64
65 int32_t getFirstPage(CJBig2_Image** image, IFX_Pause* pPause); 59 int32_t getFirstPage(CJBig2_Image** image, IFX_Pause* pPause);
66 60
67 int32_t getNextPage(CJBig2_Image** image, IFX_Pause* pPause);
68 int32_t Continue(IFX_Pause* pPause); 61 int32_t Continue(IFX_Pause* pPause);
69 FXCODEC_STATUS GetProcessiveStatus() { return m_ProcessiveStatus; } 62 FXCODEC_STATUS GetProcessiveStatus() { return m_ProcessiveStatus; }
70 63
71 private: 64 private:
72 CJBig2_Context(uint8_t* pGlobalData, 65 CJBig2_Context(uint8_t* pGlobalData,
73 FX_DWORD dwGlobalLength, 66 FX_DWORD dwGlobalLength,
74 uint8_t* pData, 67 uint8_t* pData,
75 FX_DWORD dwLength, 68 FX_DWORD dwLength,
76 int32_t nStreamType, 69 int32_t nStreamType,
77 std::list<CJBig2_CachePair>* pSymbolDictCache, 70 std::list<CJBig2_CachePair>* pSymbolDictCache,
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 FX_BOOL m_bFirstPage; 141 FX_BOOL m_bFirstPage;
149 CJBig2_ArithDecoder* m_pArithDecoder; 142 CJBig2_ArithDecoder* m_pArithDecoder;
150 CJBig2_GRDProc* m_pGRD; 143 CJBig2_GRDProc* m_pGRD;
151 JBig2ArithCtx* m_gbContext; 144 JBig2ArithCtx* m_gbContext;
152 CJBig2_Segment* m_pSegment; 145 CJBig2_Segment* m_pSegment;
153 FX_DWORD m_dwOffset; 146 FX_DWORD m_dwOffset;
154 JBig2RegionInfo m_ri; 147 JBig2RegionInfo m_ri;
155 std::list<CJBig2_CachePair>* m_pSymbolDictCache; 148 std::list<CJBig2_CachePair>* m_pSymbolDictCache;
156 }; 149 };
157 #endif 150 #endif
OLDNEW
« no previous file with comments | « core/src/fxcodec/codec/fx_codec_jbig.cpp ('k') | core/src/fxcodec/jbig2/JBig2_Context.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698