X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmJpeg2000.cxx;h=1869296c12b2813a6cba580afc21d719eef22c21;hb=0fc486652e88490f7344439111750eb9dcaf7a29;hp=d8505c26243c27c4ec43f397bfa44ee8ef22973e;hpb=29bdd1e88a28b6267618f633f304e1154537ce7b;p=gdcm.git diff --git a/src/gdcmJpeg2000.cxx b/src/gdcmJpeg2000.cxx index d8505c26..1869296c 100644 --- a/src/gdcmJpeg2000.cxx +++ b/src/gdcmJpeg2000.cxx @@ -1,19 +1,25 @@ - - /* -------------------------------------------------------------------- */ - // - // JPEG 2000 Files - // - /* -------------------------------------------------------------------- */ - +// gdcmJpeg2000.cxx +//----------------------------------------------------------------------------- #include #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; } +//-----------------------------------------------------------------------------