X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmJpegLS.cxx;h=b84278181b5428e208e6bcf0f854ec202e5d229f;hb=e7768bbebdc9a5972e396d71a3e848f5674ee378;hp=e8726d5e1151c546e90394b3f8e50fcc739dd991;hpb=b1ebe82627c2a83cc9dd1239b148779d9a7c32ce;p=gdcm.git diff --git a/src/gdcmJpegLS.cxx b/src/gdcmJpegLS.cxx index e8726d5e..b8427818 100644 --- a/src/gdcmJpegLS.cxx +++ b/src/gdcmJpegLS.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmJpegLS.cxx,v $ Language: C++ - Date: $Date: 2005/02/05 01:31:36 $ - Version: $Revision: 1.2 $ + Date: $Date: 2007/05/23 14:18:10 $ + Version: $Revision: 1.6 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -21,12 +21,16 @@ #include #include -namespace gdcm +namespace GDCM_NAME_SPACE { //----------------------------------------------------------------------------- /** - * \brief routine for JPEG decompression + * \brief routine for JPEG decompression. WARNING LPEG-LS is NOT + * the 'classical' jpeg lossless. See : + * http://www.jpeg.org/jpeg/jpegls.html + * gdcm DOES deal with 'classical' jpeg lossless + * * @param fp pointer to an already open file descriptor * JPEG-LS encoded image * @param image_buffer to receive uncompressed pixels @@ -34,9 +38,11 @@ namespace gdcm * @warning : not yet made */ -bool gdcm_read_JPEGLS_file (std::ifstream* , void* ) +bool gdcm_read_JPEGLS_file (std::ifstream *fp, void *image_buffer) { - gdcmVerboseMacro( "Sorry JPEG-LS File not yet taken into account" ); + (void)fp; + (void)image_buffer; + gdcmWarningMacro( "Sorry JPEG-LS File not yet taken into account" ); return false; } } // end namespace gdcm