1 /* Copyright (C) 2001-2012 Artifex Software, Inc.
4 This software is provided AS-IS with no warranty, either express or
7 This software is distributed under license and may not be copied,
8 modified or distributed except as expressly authorized under the terms
9 of the license contained in the file LICENSE in this distribution.
11 Refer to licensing information at http://www.artifex.com or contact
12 Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael,
13 CA 94903, U.S.A., +1(415)492-9861, for further information.
22 jbig2_decode_generic_mmr(Jbig2Ctx *ctx,
23 Jbig2Segment *segment,
24 const Jbig2GenericRegionParams *params,
25 const byte *data, size_t size,
29 jbig2_decode_halftone_mmr(Jbig2Ctx *ctx,
30 const Jbig2GenericRegionParams *params,
31 const byte *data, size_t size,
32 Jbig2Image *image, size_t* consumed_bytes);