1// Copyright 2015 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#ifndef CORE_SRC_FXCODEC_JBIG2_JBIG2_GSIDPROC_H_ 8#define CORE_SRC_FXCODEC_JBIG2_JBIG2_GSIDPROC_H_ 9 10#include "core/include/fxcrt/fx_system.h" 11 12class CJBig2_ArithDecoder; 13class CJBig2_BitStream; 14class CJBig2_Image; 15class IFX_Pause; 16struct JBig2ArithCtx; 17 18class CJBig2_GSIDProc { 19 public: 20 FX_DWORD* decode_Arith(CJBig2_ArithDecoder* pArithDecoder, 21 JBig2ArithCtx* gbContext, 22 IFX_Pause* pPause); 23 24 FX_DWORD* decode_MMR(CJBig2_BitStream* pStream, IFX_Pause* pPause); 25 26 public: 27 FX_BOOL GSMMR; 28 FX_BOOL GSUSESKIP; 29 uint8_t GSBPP; 30 FX_DWORD GSW; 31 FX_DWORD GSH; 32 uint8_t GSTEMPLATE; 33 CJBig2_Image* GSKIP; 34}; 35 36#endif // CORE_SRC_FXCODEC_JBIG2_JBIG2_GSIDPROC_H_ 37