]> Creatis software - gdcm.git/blobdiff - src/gdcmJpeg8.cxx
ENH: Adding 'gdcm' namespace. Be nice with me this was a ~13000 lines patch. Also...
[gdcm.git] / src / gdcmJpeg8.cxx
index d8d62229c6b315618b59498d312b2e8749bd5232..fab29603c798ea7a740c3e50b6bc873793430fbd 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmJpeg8.cxx,v $
   Language:  C++
-  Date:      $Date: 2004/10/10 16:44:00 $
-  Version:   $Revision: 1.5 $
+  Date:      $Date: 2004/10/12 04:35:46 $
+  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
@@ -91,6 +91,8 @@ extern "C" {
 #include <setjmp.h>
 }
 
+namespace gdcm 
+{
 
 /******************** JPEG COMPRESSION SAMPLE INTERFACE *******************/
 
@@ -129,7 +131,7 @@ extern "C" {
  */
 
  /**
- * \ingroup gdcmFile
+ * \ingroup File
  * \brief   routine for JPEG decompression 
  * @param fp pointer to an already open file descriptor 
  *                      8 significant bits per pixel
@@ -402,7 +404,7 @@ bool gdcm_read_JPEG_file ( FILE* fp, void* image_buffer )
    int row_stride;/* physical row width in output buffer */
   
 #ifdef GDCM_JPG_DEBUG
-   printf("entree dans gdcmFile::gdcm_read_JPEG_file (i.e. 8), depuis gdcmJpeg\n");
+   printf("entree dans File::gdcm_read_JPEG_file (i.e. 8), depuis gdcmJpeg\n");
 #endif //GDCM_JPG_DEBUG
 
    /* In this example we want to open the input file before doing anything else,
@@ -613,3 +615,5 @@ bool gdcm_read_JPEG_file ( FILE* fp, void* image_buffer )
  */
  
 //----------------------------------------------------------------------------
+
+} // end namespace gdcm