1 // Copyright 2014 PDFium Authors. All rights reserved. 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 #include "core/fxcodec/jbig2/JBig2_Segment.h" 8 CJBig2_Segment()9CJBig2_Segment::CJBig2_Segment() 10 : m_dwNumber(0), 11 m_nReferred_to_segment_count(0), 12 m_dwPage_association(0), 13 m_dwData_length(0), 14 m_dwHeader_Length(0), 15 m_dwObjNum(0), 16 m_dwDataOffset(0), 17 m_State(JBIG2_SEGMENT_HEADER_UNPARSED), 18 m_nResultType(JBIG2_VOID_POINTER) { 19 m_cFlags.c = 0; 20 } 21 ~CJBig2_Segment()22CJBig2_Segment::~CJBig2_Segment() {} 23