| OLD | NEW |
| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 int32_t getNextPage(uint8_t* pBuf, | 59 int32_t getNextPage(uint8_t* pBuf, |
| 60 int32_t width, | 60 int32_t width, |
| 61 int32_t height, | 61 int32_t height, |
| 62 int32_t stride, | 62 int32_t stride, |
| 63 IFX_Pause* pPause); | 63 IFX_Pause* pPause); |
| 64 | 64 |
| 65 int32_t getFirstPage(CJBig2_Image** image, IFX_Pause* pPause); | 65 int32_t getFirstPage(CJBig2_Image** image, IFX_Pause* pPause); |
| 66 | 66 |
| 67 int32_t getNextPage(CJBig2_Image** image, IFX_Pause* pPause); | 67 int32_t getNextPage(CJBig2_Image** image, IFX_Pause* pPause); |
| 68 int32_t Continue(IFX_Pause* pPause); | 68 int32_t Continue(IFX_Pause* pPause); |
| 69 FXCODEC_STATUS GetProcessiveStatus() { return m_ProcessiveStatus; }; | 69 FXCODEC_STATUS GetProcessiveStatus() { return m_ProcessiveStatus; } |
| 70 | 70 |
| 71 private: | 71 private: |
| 72 CJBig2_Context(uint8_t* pGlobalData, | 72 CJBig2_Context(uint8_t* pGlobalData, |
| 73 FX_DWORD dwGlobalLength, | 73 FX_DWORD dwGlobalLength, |
| 74 uint8_t* pData, | 74 uint8_t* pData, |
| 75 FX_DWORD dwLength, | 75 FX_DWORD dwLength, |
| 76 int32_t nStreamType, | 76 int32_t nStreamType, |
| 77 std::list<CJBig2_CachePair>* pSymbolDictCache, | 77 std::list<CJBig2_CachePair>* pSymbolDictCache, |
| 78 IFX_Pause* pPause); | 78 IFX_Pause* pPause); |
| 79 | 79 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 FX_BOOL m_bFirstPage; | 148 FX_BOOL m_bFirstPage; |
| 149 CJBig2_ArithDecoder* m_pArithDecoder; | 149 CJBig2_ArithDecoder* m_pArithDecoder; |
| 150 CJBig2_GRDProc* m_pGRD; | 150 CJBig2_GRDProc* m_pGRD; |
| 151 JBig2ArithCtx* m_gbContext; | 151 JBig2ArithCtx* m_gbContext; |
| 152 CJBig2_Segment* m_pSegment; | 152 CJBig2_Segment* m_pSegment; |
| 153 FX_DWORD m_dwOffset; | 153 FX_DWORD m_dwOffset; |
| 154 JBig2RegionInfo m_ri; | 154 JBig2RegionInfo m_ri; |
| 155 std::list<CJBig2_CachePair>* m_pSymbolDictCache; | 155 std::list<CJBig2_CachePair>* m_pSymbolDictCache; |
| 156 }; | 156 }; |
| 157 #endif | 157 #endif |
| OLD | NEW |