X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmJpeg2000.cxx;h=f14f6cd0ad36be51c87031a4a2861acd34b1820a;hb=e62d57cbd05c8e864fd2ba197a271cdcac9a2128;hp=293930040df33b40bf900370d037efb873207c46;hpb=eb941e8785d3742b8a6a1aac964d43dcb4cf49f0;p=gdcm.git diff --git a/src/gdcmJpeg2000.cxx b/src/gdcmJpeg2000.cxx index 29393004..f14f6cd0 100644 --- a/src/gdcmJpeg2000.cxx +++ b/src/gdcmJpeg2000.cxx @@ -1,29 +1,25 @@ -//This is needed when compiling in debug mode -#ifdef _MSC_VER -// 'identifier' : class 'type' needs to have dll-interface to be used by -// clients of class 'type2' -#pragma warning ( disable : 4251 ) -// 'identifier' : identifier was truncated to 'number' characters in the -// debug information -#pragma warning ( disable : 4786 ) -#endif //_MSC_VER - - - /* -------------------------------------------------------------------- */ - // - // 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; } +//-----------------------------------------------------------------------------