]> Creatis software - gdcm.git/blobdiff - src/gdcmJpeg12.cxx
ENH: Fix some compilation warnings
[gdcm.git] / src / gdcmJpeg12.cxx
index ab04c32fa9468ff4e4832ffaff6eb1842a4c62fd..a87cbd47b3ea2a6b93d8752a31ff23ea8edc070d 100644 (file)
@@ -5,6 +5,10 @@
 
 #define BITS_IN_JSAMPLE 12
 
+#ifdef GDCM_DEBUG
+#define GDCM_jpr_DEBUG 0
+#endif   //GDCM_DEBUG
+
 // BITS_IN_JSAMPLE is a compile time defined options.
 // We need both 8 an 12;
 // To avoid renaming *all* the Jpeg functions,
@@ -88,6 +92,23 @@ extern "C" {
 #include "jpeg/libijg12/jpeglib12.h"
 #include <setjmp.h>
 }
+/******************** JPEG COMPRESSION SAMPLE INTERFACE *******************/
+
+//
+//  TODO
+//
+
+bool gdcm_write_JPEG_file12 (FILE *fp, void * im_buff, 
+                             int image_width, int image_heigh, int quality)
+{
+  (void)fp;
+  (void)im_buff;
+  (void)image_width;
+  (void)image_heigh;
+  (void)quality;
+  
+  return true; //???
+}
 
 /******************** JPEG DECOMPRESSION SAMPLE INTERFACE *******************/