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