| OLD | NEW |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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_PAGE_CPDF_IMAGE_H_ | 7 #ifndef CORE_FPDFAPI_PAGE_CPDF_IMAGE_H_ |
| 8 #define CORE_FPDFAPI_PAGE_CPDF_IMAGE_H_ | 8 #define CORE_FPDFAPI_PAGE_CPDF_IMAGE_H_ |
| 9 | 9 |
| 10 #include "core/fpdfapi/fpdf_parser/cpdf_stream.h" | 10 #include "core/fpdfapi/parser/cpdf_stream.h" |
| 11 #include "core/fxcrt/fx_system.h" | 11 #include "core/fxcrt/fx_system.h" |
| 12 | 12 |
| 13 #define PDF_IMAGE_NO_COMPRESS 0x0000 | 13 #define PDF_IMAGE_NO_COMPRESS 0x0000 |
| 14 #define PDF_IMAGE_LOSSY_COMPRESS 0x0001 | 14 #define PDF_IMAGE_LOSSY_COMPRESS 0x0001 |
| 15 #define PDF_IMAGE_LOSSLESS_COMPRESS 0x0002 | 15 #define PDF_IMAGE_LOSSLESS_COMPRESS 0x0002 |
| 16 #define PDF_IMAGE_MASK_LOSSY_COMPRESS 0x0004 | 16 #define PDF_IMAGE_MASK_LOSSY_COMPRESS 0x0004 |
| 17 #define PDF_IMAGE_MASK_LOSSLESS_COMPRESS 0x0008 | 17 #define PDF_IMAGE_MASK_LOSSLESS_COMPRESS 0x0008 |
| 18 | 18 |
| 19 class CFX_DIBitmap; | 19 class CFX_DIBitmap; |
| 20 class CFX_DIBSource; | 20 class CFX_DIBSource; |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 CPDF_Dictionary* m_pInlineDict; | 81 CPDF_Dictionary* m_pInlineDict; |
| 82 int32_t m_Height; | 82 int32_t m_Height; |
| 83 int32_t m_Width; | 83 int32_t m_Width; |
| 84 bool m_bIsMask; | 84 bool m_bIsMask; |
| 85 bool m_bInterpolate; | 85 bool m_bInterpolate; |
| 86 CPDF_Document* const m_pDocument; | 86 CPDF_Document* const m_pDocument; |
| 87 CPDF_Dictionary* m_pOC; | 87 CPDF_Dictionary* m_pOC; |
| 88 }; | 88 }; |
| 89 | 89 |
| 90 #endif // CORE_FPDFAPI_PAGE_CPDF_IMAGE_H_ | 90 #endif // CORE_FPDFAPI_PAGE_CPDF_IMAGE_H_ |
| OLD | NEW |