]> Creatis software - gdcm.git/blobdiff - src/gdcmJpeg2000.cxx
ENH: 1. Now the test suite is working for real
[gdcm.git] / src / gdcmJpeg2000.cxx
index d8505c26243c27c4ec43f397bfa44ee8ef22973e..bbfed9489c56751c4e7005117b390a22fb8b2283 100644 (file)
@@ -1,19 +1,25 @@
- /* -------------------------------------------------------------------- */
- //
- // JPEG 2000 Files
- //
- /* -------------------------------------------------------------------- */
-
+// gdcmJpeg2000.cxx
+//-----------------------------------------------------------------------------
 #include <stdio.h>
 #include "gdcmFile.h"
 
-int
-gdcmFile::gdcm_read_JPEG2000_file (void * image_buffer) {
-
+//-----------------------------------------------------------------------------
+ /**
+ * \ingroup gdcmFile
+ * \brief   routine for JPEG decompression 
+ * @param fp pointer to an already open file descriptor 
+ *                      JPEG2000 encoded image
+ * @param image_buffer to receive uncompressed pixels
+ * @return 1 on success, 0 on error
+ * @warning : not yet made
+ */
 
+bool gdcmFile::gdcm_read_JPEG2000_file (FILE *fp,void * image_buffer) {
+   (void)fp;   //FIXME
+        (void)image_buffer;    //FIXME
    printf("Sorry JPEG 2000 File not yet taken into account\n");
-   return 0;
+   return false;
 }
 
+//-----------------------------------------------------------------------------