OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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_INCLUDE_FPDFAPI_CPDF_STREAM_ACC_H_ | 7 #ifndef CORE_FPDFAPI_FPDF_PARSER_INCLUDE_CPDF_STREAM_ACC_H_ |
8 #define CORE_INCLUDE_FPDFAPI_CPDF_STREAM_ACC_H_ | 8 #define CORE_FPDFAPI_FPDF_PARSER_INCLUDE_CPDF_STREAM_ACC_H_ |
9 | 9 |
10 #include "core/include/fpdfapi/cpdf_stream.h" | 10 #include "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h" |
11 #include "core/include/fpdfapi/cpdf_dictionary.h" | 11 #include "core/fpdfapi/fpdf_parser/include/cpdf_stream.h" |
12 #include "core/include/fxcrt/fx_string.h" | 12 #include "core/include/fxcrt/fx_string.h" |
13 #include "core/include/fxcrt/fx_system.h" | 13 #include "core/include/fxcrt/fx_system.h" |
14 | 14 |
15 class CPDF_StreamAcc { | 15 class CPDF_StreamAcc { |
16 public: | 16 public: |
17 CPDF_StreamAcc(); | 17 CPDF_StreamAcc(); |
18 ~CPDF_StreamAcc(); | 18 ~CPDF_StreamAcc(); |
19 | 19 |
20 void LoadAllData(const CPDF_Stream* pStream, | 20 void LoadAllData(const CPDF_Stream* pStream, |
21 FX_BOOL bRawAccess = FALSE, | 21 FX_BOOL bRawAccess = FALSE, |
(...skipping 14 matching lines...) Expand all Loading... |
36 protected: | 36 protected: |
37 uint8_t* m_pData; | 37 uint8_t* m_pData; |
38 FX_DWORD m_dwSize; | 38 FX_DWORD m_dwSize; |
39 FX_BOOL m_bNewBuf; | 39 FX_BOOL m_bNewBuf; |
40 CFX_ByteString m_ImageDecoder; | 40 CFX_ByteString m_ImageDecoder; |
41 CPDF_Dictionary* m_pImageParam; | 41 CPDF_Dictionary* m_pImageParam; |
42 const CPDF_Stream* m_pStream; | 42 const CPDF_Stream* m_pStream; |
43 uint8_t* m_pSrcData; | 43 uint8_t* m_pSrcData; |
44 }; | 44 }; |
45 | 45 |
46 #endif // CORE_INCLUDE_FPDFAPI_CPDF_STREAM_ACC_H_ | 46 #endif // CORE_FPDFAPI_FPDF_PARSER_INCLUDE_CPDF_STREAM_ACC_H_ |
OLD | NEW |