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 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 CPDF_DIBSource* LoadMask(FX_DWORD& MatteColor); | 415 CPDF_DIBSource* LoadMask(FX_DWORD& MatteColor); |
416 CPDF_DIBSource* LoadMaskDIB(CPDF_Stream* pMask); | 416 CPDF_DIBSource* LoadMaskDIB(CPDF_Stream* pMask); |
417 void LoadJpxBitmap(); | 417 void LoadJpxBitmap(); |
418 void LoadJbig2Bitmap(); | 418 void LoadJbig2Bitmap(); |
419 void LoadPalette(); | 419 void LoadPalette(); |
420 FX_BOOL CreateDecoder(); | 420 FX_BOOL CreateDecoder(); |
421 void TranslateScanline24bpp(FX_LPBYTE dest_sc
an, FX_LPCBYTE src_scan) const; | 421 void TranslateScanline24bpp(FX_LPBYTE dest_sc
an, FX_LPCBYTE src_scan) const; |
422 void ValidateBpc(); | 422 void ValidateDictParam(); |
423 CPDF_Document* m_pDocument; | 423 CPDF_Document* m_pDocument; |
424 const CPDF_Stream* m_pStream; | 424 const CPDF_Stream* m_pStream; |
425 CPDF_StreamAcc* m_pStreamAcc; | 425 CPDF_StreamAcc* m_pStreamAcc; |
426 const CPDF_Dictionary* m_pDict; | 426 const CPDF_Dictionary* m_pDict; |
427 CPDF_ColorSpace* m_pColorSpace; | 427 CPDF_ColorSpace* m_pColorSpace; |
428 FX_DWORD m_Family, m_bpc, m_bpc_orig, m_nComponents, m_Gr
oupFamily; | 428 FX_DWORD m_Family, m_bpc, m_bpc_orig, m_nComponents, m_Gr
oupFamily; |
429 FX_BOOL m_bLoadMask; | 429 FX_BOOL m_bLoadMask; |
430 FX_BOOL m_bDefaultDecode, m_bImageMask, m_bColor
Key; | 430 FX_BOOL m_bDefaultDecode, m_bImageMask, m_bColor
Key; |
431 DIB_COMP_DATA* m_pCompData; | 431 DIB_COMP_DATA* m_pCompData; |
432 FX_LPBYTE m_pLineBuf; | 432 FX_LPBYTE m_pLineBuf; |
(...skipping 19 matching lines...) Expand all Loading... |
452 virtual void TranslateDownSamples(FX_LPBYTE dest_buf,
FX_LPCBYTE src_buf, int pixels, int Bpp) const; | 452 virtual void TranslateDownSamples(FX_LPBYTE dest_buf,
FX_LPCBYTE src_buf, int pixels, int Bpp) const; |
453 FX_LPCBYTE m_RampR; | 453 FX_LPCBYTE m_RampR; |
454 FX_LPCBYTE m_RampG; | 454 FX_LPCBYTE m_RampG; |
455 FX_LPCBYTE m_RampB; | 455 FX_LPCBYTE m_RampB; |
456 }; | 456 }; |
457 struct _CPDF_UniqueKeyGen { | 457 struct _CPDF_UniqueKeyGen { |
458 void Generate(int count, ...); | 458 void Generate(int count, ...); |
459 FX_CHAR m_Key[128]; | 459 FX_CHAR m_Key[128]; |
460 int m_KeyLen; | 460 int m_KeyLen; |
461 }; | 461 }; |
OLD | NEW |