1 // Copyright 2014 The PDFium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 6 7 #ifndef CORE_FXCODEC_JBIG2_JBIG2_PAGE_H_ 8 #define CORE_FXCODEC_JBIG2_JBIG2_PAGE_H_ 9 10 #include <stdint.h> 11 12 struct JBig2PageInfo { 13 uint32_t m_dwWidth; 14 uint32_t m_dwHeight; 15 uint32_t m_dwResolutionX; 16 uint32_t m_dwResolutionY; 17 // Page segment flags, bit 2. 18 bool m_bDefaultPixelValue; 19 bool m_bIsStriped; 20 uint16_t m_wMaxStripeSize; 21 }; 22 23 #endif // CORE_FXCODEC_JBIG2_JBIG2_PAGE_H_ 24