summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/3rdparty/libmng/libmng_jpeg.h
blob: 0f1aa6f11b7404a597758c2d887605c709c62c46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/* ************************************************************************** */
/* *             For conditions of distribution and use,                    * */
/* *                see copyright notice in libmng.h                        * */
/* ************************************************************************** */
/* *                                                                        * */
/* * project   : libmng                                                     * */
/* * file      : libmng_jpeg.h             copyright (c) 2000 G.Juyn        * */
/* * version   : 1.0.0                                                      * */
/* *                                                                        * */
/* * purpose   : JPEG library interface (definition)                        * */
/* *                                                                        * */
/* * author    : G.Juyn                                                     * */
/* * web       : http://www.3-t.com                                         * */
/* * email     : mailto:info@3-t.com                                        * */
/* *                                                                        * */
/* * comment   : Definition of the JPEG library interface                   * */
/* *                                                                        * */
/* * changes   : 0.5.1 - 05/08/2000 - G.Juyn                                * */
/* *             - changed strict-ANSI stuff                                * */
/* *                                                                        * */
/* *             0.9.2 - 08/05/2000 - G.Juyn                                * */
/* *             - changed file-prefixes                                    * */
/* *                                                                        * */
/* *             0.9.3 - 10/16/2000 - G.Juyn                                * */
/* *             - added support for JDAA                                   * */
/* *                                                                        * */
/* ************************************************************************** */

#if defined(__BORLANDC__) && defined(MNG_STRICT_ANSI)
#pragma option -A                      /* force ANSI-C */
#endif

#ifndef _libmng_jpeg_h_
#define _libmng_jpeg_h_

/* ************************************************************************** */

mng_retcode mngjpeg_initialize      (mng_datap  pData);
mng_retcode mngjpeg_cleanup         (mng_datap  pData);

mng_retcode mngjpeg_decompressinit  (mng_datap  pData);
mng_retcode mngjpeg_decompressdata  (mng_datap  pData,
                                     mng_uint32 iRawsize,
                                     mng_uint8p pRawdata);
mng_retcode mngjpeg_decompressfree  (mng_datap  pData);

mng_retcode mngjpeg_decompressinit2 (mng_datap  pData);
mng_retcode mngjpeg_decompressdata2 (mng_datap  pData,
                                     mng_uint32 iRawsize,
                                     mng_uint8p pRawdata);
mng_retcode mngjpeg_decompressfree2 (mng_datap  pData);

/* ************************************************************************** */

#endif /* _libmng_jpeg_h_ */

/* ************************************************************************** */
/* * end of file                                                            * */
/* ************************************************************************** */