X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmJpeg2000.cxx;h=bbfed9489c56751c4e7005117b390a22fb8b2283;hb=e037a39af09b4df452992e1129fa2a370171c44e;hp=fb942ba22438ac93bf53defc85c837227fda0583;hpb=d92be82d301c24a42e894d1d40b2b2c7173b1032;p=gdcm.git diff --git a/src/gdcmJpeg2000.cxx b/src/gdcmJpeg2000.cxx index fb942ba2..bbfed948 100644 --- a/src/gdcmJpeg2000.cxx +++ b/src/gdcmJpeg2000.cxx @@ -1,20 +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; } +//-----------------------------------------------------------------------------