]> Creatis software - gdcm.git/blob - src/jpeg/ljpg/io.h
FIX: Compilation on Mac OSX is fine now + remove tabs
[gdcm.git] / src / jpeg / ljpg / io.h
1 /*
2  * io.h --
3  *
4  */
5 /*
6  * $Id: io.h,v 1.1 2003/10/21 12:08:54 jpr Exp $
7  */
8 #ifndef _IO
9 #define _IO
10
11 #include "jpeg.h"
12
13 /*
14  * Size of the input and output buffer
15  */
16 #define JPEG_BUF_SIZE   4096 
17
18 /*
19  * The following variables keep track of the input and output
20  * buffer for the JPEG data.
21  */
22 extern char   outputBuffer[JPEG_BUF_SIZE];      /* output buffer              */
23 extern int    numOutputBytes;                   /* bytes in the output buffer */
24 extern Uchar *inputBuffer;                      /* Input buffer for JPEG data */
25 extern int    inputBufferOffset;                /* Offset of current byte     */
26
27 #endif /* _IO */