#define NOFORMATS 14
#define NPFORMATS 5
-enum iformats { I_AUTO=0, I_PBM=1, I_FAX=2, I_TEXT=3, I_TIFF=4,
- I_DFAX=5, I_PCX=6, I_RAW=7, I_DCX=8 } ;
+enum iformats { I_AUTO=0, I_PBM=1,
+#ifndef UCLINUX
+ I_FAX=2, I_TEXT=3, I_TIFF=4,
+ I_DFAX=5, I_PCX=6, I_RAW=7, I_DCX=8
+#endif /* UCLINUX */
+ } ;
#define IFORMATS { "AUTO", "PBM", "FAX", "TEXT", "TIFF", \
"DFAX", "PCX", "RAW", "DCX" } ;
-enum oformats { O_AUTO=0, O_PBM=1, O_FAX=2, O_PCL=3, O_PS=4,
+enum oformats { O_AUTO=0, O_PBM=1,
+#ifndef UCLINUX
+ O_FAX=2, O_PCL=3, O_PS=4,
O_PGM=5, O_TEXT=6, O_TIFF_FAX=7, O_TIFF_RAW=8, O_DFAX=9,
- O_TIFF=10, O_PCX=11, O_PCX_RAW=12, O_DCX=13 } ;
+ O_TIFF=10, O_PCX=11, O_PCX_RAW=12, O_DCX=13
+#endif /* UCLINUX */
+ } ;
#define OFORMATS { "AUTO", "PBM", "FAX", "PCL", "PS", \
"PGM", "TEXT", "TIFF", "TIFF", "DFAX", \
short *runs, int *pels ) ;
int xpad ( short *runs, int nr, int pad ) ;
-int xscale ( short *runs, int nr, int xs ) ;
-int xshift ( short *runs, int nr, int s ) ;
int runor ( short *a, int na, short *b, int nb, short *c, int *pels ) ;
/* Bit reversal lookup tables (note that the `normalbits' array
is the one actually used for the bit reversal. */
-uchar reversebits [ 256 ], normalbits [ 256 ] ;
+extern uchar reversebits [ 256 ], normalbits [ 256 ] ;
void initbittab(void) ;