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.
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
7 #ifndef CORE_SRC_FXCODEC_JBIG2_JBIG2_GRRDPROC_H_
8 #define CORE_SRC_FXCODEC_JBIG2_JBIG2_GRRDPROC_H_
10 #include "../../../include/fxcrt/fx_system.h"
12 class CJBig2_ArithDecoder;
17 class CJBig2_GRRDProc {
19 CJBig2_Image* decode(CJBig2_ArithDecoder* pArithDecoder,
20 JBig2ArithCtx* grContext);
22 CJBig2_Image* decode_Template0_unopt(CJBig2_ArithDecoder* pArithDecoder,
23 JBig2ArithCtx* grContext);
25 CJBig2_Image* decode_Template0_opt(CJBig2_ArithDecoder* pArithDecoder,
26 JBig2ArithCtx* grContext);
28 CJBig2_Image* decode_Template1_unopt(CJBig2_ArithDecoder* pArithDecoder,
29 JBig2ArithCtx* grContext);
31 CJBig2_Image* decode_Template1_opt(CJBig2_ArithDecoder* pArithDecoder,
32 JBig2ArithCtx* grContext);
37 CJBig2_Image* GRREFERENCE;
38 int32_t GRREFERENCEDX;
39 int32_t GRREFERENCEDY;
44 #endif // CORE_SRC_FXCODEC_JBIG2_JBIG2_GRRDPROC_H_