]> Creatis software - gdcm.git/blob - src/jpeg/ljpg/proto.h
add the files for 'xmedcon' Jpeg Lossless library
[gdcm.git] / src / jpeg / ljpg / proto.h
1 /*
2  * proto.h --
3  *
4  * Part of the Independent JPEG Group's software.
5  * See the file Copyright for more details.
6  */
7 /*
8  * $Id: proto.h,v 1.1 2003/10/21 12:08:54 jpr Exp $
9  */
10 #ifndef _PROTO
11 #define _PROTO
12
13 #ifdef __STDC__
14         # define P(s) s
15 #else
16         # define P(s) ()
17 #endif
18
19 #include "mcu.h"
20
21
22 /* huffd.c */
23 void  HuffDecoderInit P((DecompressInfo *dcPtr ));
24 void  DecodeImage P((DecompressInfo *dcPtr, unsigned short **image, int depth));
25 void  FixHuffTbl (HuffmanTable *htbl);
26
27 /* decomp.c */
28 int   ReadJpegData P((Uchar *buffer , int numBytes));
29
30 /* read.c */
31 void  ReadFileHeader P((DecompressInfo *dcPtr ));
32 int   ReadScanHeader P((DecompressInfo *dcPtr ));
33 int   GetJpegChar();
34 void  UnGetJpegChar(int ch);  
35
36 /* util.c */
37 int   JroundUp P((int a , int b ));
38 void  DecoderStructInit P((DecompressInfo *dcPtr ));
39
40  /* mcu.c */
41 void  InitMcuTable P((int numMCU , int blocksInMCU ));
42 void  PrintMCU P((int blocksInMCU , MCU mcu ));
43
44
45 #undef P
46 #endif /* _PROTO */
47