0
|
1 |
/* ************************************************************************** */
|
|
2 |
/* * For conditions of distribution and use, * */
|
|
3 |
/* * see copyright notice in libmng.h * */
|
|
4 |
/* ************************************************************************** */
|
|
5 |
/* * * */
|
|
6 |
/* * project : libmng * */
|
|
7 |
/* * file : libmng_jpeg.h copyright (c) 2000-2002 G.Juyn * */
|
|
8 |
/* * version : 1.0.0 * */
|
|
9 |
/* * * */
|
|
10 |
/* * purpose : JPEG library interface (definition) * */
|
|
11 |
/* * * */
|
|
12 |
/* * author : G.Juyn * */
|
|
13 |
/* * * */
|
|
14 |
/* * comment : Definition of the JPEG library interface * */
|
|
15 |
/* * * */
|
|
16 |
/* * changes : 0.5.1 - 05/08/2000 - G.Juyn * */
|
|
17 |
/* * - changed strict-ANSI stuff * */
|
|
18 |
/* * * */
|
|
19 |
/* * 0.9.2 - 08/05/2000 - G.Juyn * */
|
|
20 |
/* * - changed file-prefixes * */
|
|
21 |
/* * * */
|
|
22 |
/* * 0.9.3 - 10/16/2000 - G.Juyn * */
|
|
23 |
/* * - added support for JDAA * */
|
|
24 |
/* * * */
|
|
25 |
/* ************************************************************************** */
|
|
26 |
|
|
27 |
#if defined(__BORLANDC__) && defined(MNG_STRICT_ANSI)
|
|
28 |
#pragma option -A /* force ANSI-C */
|
|
29 |
#endif
|
|
30 |
|
|
31 |
#ifndef _libmng_jpeg_h_
|
|
32 |
#define _libmng_jpeg_h_
|
|
33 |
|
|
34 |
/* ************************************************************************** */
|
|
35 |
|
|
36 |
mng_retcode mngjpeg_initialize (mng_datap pData);
|
|
37 |
mng_retcode mngjpeg_cleanup (mng_datap pData);
|
|
38 |
|
|
39 |
mng_retcode mngjpeg_decompressinit (mng_datap pData);
|
|
40 |
mng_retcode mngjpeg_decompressdata (mng_datap pData,
|
|
41 |
mng_uint32 iRawsize,
|
|
42 |
mng_uint8p pRawdata);
|
|
43 |
mng_retcode mngjpeg_decompressfree (mng_datap pData);
|
|
44 |
|
|
45 |
mng_retcode mngjpeg_decompressinit2 (mng_datap pData);
|
|
46 |
mng_retcode mngjpeg_decompressdata2 (mng_datap pData,
|
|
47 |
mng_uint32 iRawsize,
|
|
48 |
mng_uint8p pRawdata);
|
|
49 |
mng_retcode mngjpeg_decompressfree2 (mng_datap pData);
|
|
50 |
|
|
51 |
/* ************************************************************************** */
|
|
52 |
|
|
53 |
#endif /* _libmng_jpeg_h_ */
|
|
54 |
|
|
55 |
/* ************************************************************************** */
|
|
56 |
/* * end of file * */
|
|
57 |
/* ************************************************************************** */
|