]> rtime.felk.cvut.cz Git - hornmich/skoda-qr-demo.git/blob - QRScanner/mobile/jni/thirdparty/jbig2dec/jbig2_mmr.h
Add MuPDF native source codes
[hornmich/skoda-qr-demo.git] / QRScanner / mobile / jni / thirdparty / jbig2dec / jbig2_mmr.h
1 /* Copyright (C) 2001-2012 Artifex Software, Inc.
2    All Rights Reserved.
3
4    This software is provided AS-IS with no warranty, either express or
5    implied.
6
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.
10
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.
14 */
15
16 /*
17     jbig2dec
18 */
19
20
21 int
22 jbig2_decode_generic_mmr(Jbig2Ctx *ctx,
23                          Jbig2Segment *segment,
24                          const Jbig2GenericRegionParams *params,
25                          const byte *data, size_t size,
26                          Jbig2Image *image);
27
28 int
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);
33