X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmJpeg2000.cxx;h=f5ea6569936d3e8c491477669afa781793224bb0;hb=aa0fc6ed66dc186bae363418702f402dc3f0ea21;hp=f14f6cd0ad36be51c87031a4a2861acd34b1820a;hpb=e62d57cbd05c8e864fd2ba197a271cdcac9a2128;p=gdcm.git diff --git a/src/gdcmJpeg2000.cxx b/src/gdcmJpeg2000.cxx index f14f6cd0..f5ea6569 100644 --- a/src/gdcmJpeg2000.cxx +++ b/src/gdcmJpeg2000.cxx @@ -1,11 +1,28 @@ -// gdcmJpeg2000.cxx +/*========================================================================= + + Program: gdcm + Module: $RCSfile: gdcmJpeg2000.cxx,v $ + Language: C++ + Date: $Date: 2004/10/22 03:05:42 $ + Version: $Revision: 1.13 $ + + Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de + l'Image). All rights reserved. See Doc/License.txt or + http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details. + + This software is distributed WITHOUT ANY WARRANTY; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the above copyright notices for more information. + +=========================================================================*/ //----------------------------------------------------------------------------- -#include #include "gdcmFile.h" +namespace gdcm +{ + //----------------------------------------------------------------------------- /** - * \ingroup gdcmFile * \brief routine for JPEG decompression * @param fp pointer to an already open file descriptor * JPEG2000 encoded image @@ -14,12 +31,13 @@ * @warning : not yet made */ -bool gdcmFile::gdcm_read_JPEG2000_file (FILE* fp,void* image_buffer) { +bool gdcm_read_JPEG2000_file (std::ifstream* fp,void* image_buffer) { (void)fp; //FIXME (void)image_buffer; //FIXME - printf("Sorry JPEG 2000 File not yet taken into account\n"); + std::cout << "Sorry JPEG 2000 File not yet taken into account" << std::endl; return false; } +} // end namespace gdcm //-----------------------------------------------------------------------------