src/hg/visiGene/vgPrepImage/jpgTiles.c 1.4

1.4 2010/01/28 00:24:46 galt
trying to get it to compile, using dynamic libjpeg since static no longer easily available, changing jpeg2000 dependency to default off since most people will not need it, using jpgTilesX.h as a minimal include file removes the conflict over "boolean" between common.h and libjpeg.h
Index: src/hg/visiGene/vgPrepImage/jpgTiles.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/visiGene/vgPrepImage/jpgTiles.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -b -B -U 4 -r1.3 -r1.4
--- src/hg/visiGene/vgPrepImage/jpgTiles.c	28 Feb 2006 19:06:14 -0000	1.3
+++ src/hg/visiGene/vgPrepImage/jpgTiles.c	28 Jan 2010 00:24:46 -0000	1.4
@@ -223,9 +223,9 @@
 int i,j,jj,jjj,r,R,G,B;
 UINT8 *p;
 int *tc, *tr;
 static int k=0,kk,rr,kkk;  /* these need to be initialized just once and kept */
-static boolean newH = TRUE;
+static int newH = TRUE; // boolean
 static int thcols[THUMBWIDTH*3];
 static int throws[THUMBWIDTH*3];
 static UINT8 thdata[THUMBWIDTH*3];
 
@@ -300,9 +300,9 @@
     char *outFullRoot, 
     char *outThumbPath, 
     unsigned char *(*readScanline)(), 
     int *inQuality, 
-    boolean makeFullSize
+    int makeFullSize     // boolean
     )
 /* encode jpg tiles and thumbnail for given image, 
  * optionally create fullsize image too (e.g. when input is from jp2 source)
  * optionally specify jpg quality for each of 7 levels in int array */