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 CORE_FPDFAPI_RENDER_RENDER_INT_H_ | 7 #ifndef CORE_FPDFAPI_RENDER_RENDER_INT_H_ |
8 #define CORE_FPDFAPI_RENDER_RENDER_INT_H_ | 8 #define CORE_FPDFAPI_RENDER_RENDER_INT_H_ |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 uint8_t* m_pMaskedLine; | 166 uint8_t* m_pMaskedLine; |
167 std::unique_ptr<CFX_DIBitmap> m_pCachedBitmap; | 167 std::unique_ptr<CFX_DIBitmap> m_pCachedBitmap; |
168 std::unique_ptr<CCodec_ScanlineDecoder> m_pDecoder; | 168 std::unique_ptr<CCodec_ScanlineDecoder> m_pDecoder; |
169 CPDF_DIBSource* m_pMask; | 169 CPDF_DIBSource* m_pMask; |
170 std::unique_ptr<CPDF_StreamAcc> m_pGlobalStream; | 170 std::unique_ptr<CPDF_StreamAcc> m_pGlobalStream; |
171 std::unique_ptr<CCodec_Jbig2Context> m_pJbig2Context; | 171 std::unique_ptr<CCodec_Jbig2Context> m_pJbig2Context; |
172 CPDF_Stream* m_pMaskStream; | 172 CPDF_Stream* m_pMaskStream; |
173 int m_Status; | 173 int m_Status; |
174 }; | 174 }; |
175 | 175 |
176 CCodec_ScanlineDecoder* FPDFAPI_CreateFlateDecoder( | |
177 const uint8_t* src_buf, | |
178 uint32_t src_size, | |
179 int width, | |
180 int height, | |
181 int nComps, | |
182 int bpc, | |
183 const CPDF_Dictionary* pParams); | |
184 | |
185 #endif // CORE_FPDFAPI_RENDER_RENDER_INT_H_ | 176 #endif // CORE_FPDFAPI_RENDER_RENDER_INT_H_ |
OLD | NEW |