diff options
author | tradke <tradke@eff87b29-5268-4891-90a3-a07138403961> | 2002-04-18 22:52:48 +0000 |
---|---|---|
committer | tradke <tradke@eff87b29-5268-4891-90a3-a07138403961> | 2002-04-18 22:52:48 +0000 |
commit | 2d91d4f970e1f31365da061077384eee8a839b28 (patch) | |
tree | 3e6dc81312746a07cbe04de5e1a095d0747613f2 /src/JPEG.c | |
parent | 19a205fc66c0caa75d1acf50bacdd9c7d03dedbe (diff) |
Completly reworked IOJpeg. All the old hyperslabbing crap and dependency on
IOASCII is gone now. IOJpeg uses the new Hyperslab API and does its own
slice center setup. It also uses the new filenaming scheme.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusIO/IOJpeg/trunk@59 eff87b29-5268-4891-90a3-a07138403961
Diffstat (limited to 'src/JPEG.c')
-rw-r--r-- | src/JPEG.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5,7 +5,7 @@ #include <string.h> #include <math.h> -#include "IOJpeg.h" +#include "ioJpegGH.h" #include "jconfig.h" #include "jpeglib.h" @@ -217,7 +217,7 @@ int WriteJPEGToMemoryRGB(int nx,int ny, void *data, int Quality, char *memorybuf */ void AutoColorDataSlice(int nx,int ny, /* size of the image x & y */ - CCTK_REAL *datain, /* 2D slice of data input */ + const CCTK_REAL *datain, /* 2D slice of data input */ unsigned char *dataout, /* RGB image data output */ CCTK_REAL min,CCTK_REAL max, /* range of the entire 3D dataset This could be ranged based |