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 _FPDF_PAGEOBJ_H_ | 7 #ifndef _FPDF_PAGEOBJ_H_ |
8 #include "../../../include/fpdfapi/fpdf_pageobj.h" | 8 #include "../../../include/fpdfapi/fpdf_pageobj.h" |
9 #endif | 9 #endif |
10 class CPDF_QuickStretcher; | 10 class CPDF_QuickStretcher; |
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 CPDF_DIBSource* m_pMask; | 405 CPDF_DIBSource* m_pMask; |
406 FX_DWORD m_MatteColor; | 406 FX_DWORD m_MatteColor; |
407 FX_LPVOID m_pJbig2Context; | 407 FX_LPVOID m_pJbig2Context; |
408 CPDF_StreamAcc* m_pGlobalStream; | 408 CPDF_StreamAcc* m_pGlobalStream; |
409 FX_BOOL m_bStdCS; | 409 FX_BOOL m_bStdCS; |
410 int m_Status; | 410 int m_Status; |
411 CPDF_Object* m_pMaskStream; | 411 CPDF_Object* m_pMaskStream; |
412 FX_BOOL m_bHasMask; | 412 FX_BOOL m_bHasMask; |
413 protected: | 413 protected: |
414 FX_BOOL LoadColorInfo(CPDF_Dictionary* pFormReso
urces, CPDF_Dictionary* pPageResources); | 414 FX_BOOL LoadColorInfo(CPDF_Dictionary* pFormReso
urces, CPDF_Dictionary* pPageResources); |
| 415 DIB_COMP_DATA* GetDecodeAndMaskArray(FX_BOOL& bDefaultDecode, FX_BOOL&
bColorKey); |
415 CPDF_DIBSource* LoadMask(FX_DWORD& MatteColor); | 416 CPDF_DIBSource* LoadMask(FX_DWORD& MatteColor); |
416 CPDF_DIBSource* LoadMaskDIB(CPDF_Stream* pMask); | 417 CPDF_DIBSource* LoadMaskDIB(CPDF_Stream* pMask); |
417 void LoadJpxBitmap(); | 418 void LoadJpxBitmap(); |
418 void LoadJbig2Bitmap(); | 419 void LoadJbig2Bitmap(); |
419 void LoadPalette(); | 420 void LoadPalette(); |
420 FX_BOOL CreateDecoder(); | 421 FX_BOOL CreateDecoder(); |
421 void TranslateScanline24bpp(FX_LPBYTE dest_sc
an, FX_LPCBYTE src_scan) const; | 422 void TranslateScanline24bpp(FX_LPBYTE dest_sc
an, FX_LPCBYTE src_scan) const; |
422 void ValidateDictParam(); | 423 void ValidateDictParam(); |
423 CPDF_Document* m_pDocument; | 424 CPDF_Document* m_pDocument; |
424 const CPDF_Stream* m_pStream; | 425 const CPDF_Stream* m_pStream; |
(...skipping 27 matching lines...) Expand all Loading... |
452 virtual void TranslateDownSamples(FX_LPBYTE dest_buf,
FX_LPCBYTE src_buf, int pixels, int Bpp) const; | 453 virtual void TranslateDownSamples(FX_LPBYTE dest_buf,
FX_LPCBYTE src_buf, int pixels, int Bpp) const; |
453 FX_LPCBYTE m_RampR; | 454 FX_LPCBYTE m_RampR; |
454 FX_LPCBYTE m_RampG; | 455 FX_LPCBYTE m_RampG; |
455 FX_LPCBYTE m_RampB; | 456 FX_LPCBYTE m_RampB; |
456 }; | 457 }; |
457 struct _CPDF_UniqueKeyGen { | 458 struct _CPDF_UniqueKeyGen { |
458 void Generate(int count, ...); | 459 void Generate(int count, ...); |
459 FX_CHAR m_Key[128]; | 460 FX_CHAR m_Key[128]; |
460 int m_KeyLen; | 461 int m_KeyLen; |
461 }; | 462 }; |
OLD | NEW |