| 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_SRC_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ | 7 #ifndef CORE_SRC_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ |
| 8 #define CORE_SRC_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ | 8 #define CORE_SRC_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 553 CPDF_DIBSource* m_pMask; | 553 CPDF_DIBSource* m_pMask; |
| 554 FX_DWORD m_MatteColor; | 554 FX_DWORD m_MatteColor; |
| 555 void* m_pJbig2Context; | 555 void* m_pJbig2Context; |
| 556 CPDF_StreamAcc* m_pGlobalStream; | 556 CPDF_StreamAcc* m_pGlobalStream; |
| 557 FX_BOOL m_bStdCS; | 557 FX_BOOL m_bStdCS; |
| 558 int m_Status; | 558 int m_Status; |
| 559 CPDF_Stream* m_pMaskStream; | 559 CPDF_Stream* m_pMaskStream; |
| 560 FX_BOOL m_bHasMask; | 560 FX_BOOL m_bHasMask; |
| 561 | 561 |
| 562 private: | 562 private: |
| 563 FX_BOOL LoadColorInfo(CPDF_Dictionary* pFormResources, | 563 bool LoadColorInfo(const CPDF_Dictionary* pFormResources, |
| 564 CPDF_Dictionary* pPageResources); | 564 const CPDF_Dictionary* pPageResources); |
| 565 DIB_COMP_DATA* GetDecodeAndMaskArray(FX_BOOL& bDefaultDecode, | 565 DIB_COMP_DATA* GetDecodeAndMaskArray(FX_BOOL& bDefaultDecode, |
| 566 FX_BOOL& bColorKey); | 566 FX_BOOL& bColorKey); |
| 567 CPDF_DIBSource* LoadMask(FX_DWORD& MatteColor); | 567 CPDF_DIBSource* LoadMask(FX_DWORD& MatteColor); |
| 568 CPDF_DIBSource* LoadMaskDIB(CPDF_Stream* pMask); | 568 CPDF_DIBSource* LoadMaskDIB(CPDF_Stream* pMask); |
| 569 void LoadJpxBitmap(); | 569 void LoadJpxBitmap(); |
| 570 void LoadPalette(); | 570 void LoadPalette(); |
| 571 int CreateDecoder(); | 571 int CreateDecoder(); |
| 572 void TranslateScanline24bpp(uint8_t* dest_scan, | 572 void TranslateScanline24bpp(uint8_t* dest_scan, |
| 573 const uint8_t* src_scan) const; | 573 const uint8_t* src_scan) const; |
| 574 void ValidateDictParam(); | 574 void ValidateDictParam(); |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 644 const uint8_t* m_RampB; | 644 const uint8_t* m_RampB; |
| 645 }; | 645 }; |
| 646 | 646 |
| 647 struct _CPDF_UniqueKeyGen { | 647 struct _CPDF_UniqueKeyGen { |
| 648 void Generate(int count, ...); | 648 void Generate(int count, ...); |
| 649 FX_CHAR m_Key[128]; | 649 FX_CHAR m_Key[128]; |
| 650 int m_KeyLen; | 650 int m_KeyLen; |
| 651 }; | 651 }; |
| 652 | 652 |
| 653 #endif // CORE_SRC_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ | 653 #endif // CORE_SRC_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ |
| OLD | NEW |