]> Creatis software - gdcm.git/commitdiff
Doxygenation
authorjpr <jpr>
Thu, 2 Jun 2005 12:32:55 +0000 (12:32 +0000)
committerjpr <jpr>
Thu, 2 Jun 2005 12:32:55 +0000 (12:32 +0000)
src/gdcmJpeg2000.cxx
src/gdcmMpeg.cxx

index 74f83d205500692bf8d32ca825067acfd1b438ae..74b41960fdbacdcaae5fd392ef6b3ec892433a61 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmJpeg2000.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/05/30 01:30:39 $
-  Version:   $Revision: 1.21 $
+  Date:      $Date: 2005/06/02 12:37:21 $
+  Version:   $Revision: 1.22 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -27,11 +27,10 @@ namespace gdcm
 //-----------------------------------------------------------------------------
  /**
  * \brief   routine for JPEG decompression 
- * @param fp pointer to an already open file descriptor 
- *                      JPEG2000 encoded image
- * @param image_buffer to receive uncompressed pixels
+ * @param raw raw
+ * @param inputdata inputdata
+ * @param inputlength inputlength 
  * @return 1 on success, 0 on error
- * @warning : not yet made
  */
 
 bool gdcm_read_JPEG2000_file (void* raw, char *inputdata, size_t inputlength)
@@ -74,8 +73,7 @@ bool gdcm_read_JPEG2000_file (void* raw, char *inputdata, size_t inputlength)
     for ( i = 0; i < height; i++)
       for ( j = 0; j < width; j++)
         for ( k= 0; k < numcmpts; k++)
-          *data8++ =
-            (uint8_t)(jas_image_readcmptsample(jasImage, k, j ,i ));
+          *data8++ = (uint8_t)(jas_image_readcmptsample(jasImage, k, j ,i ));
     }
   else if (prec <= 16)
     {
@@ -83,8 +81,7 @@ bool gdcm_read_JPEG2000_file (void* raw, char *inputdata, size_t inputlength)
     for ( i = 0; i < height; i++) 
       for ( j = 0; j < width; j++) 
         for ( k= 0; k < numcmpts; k++)
-          *data16++ = 
-            (uint16_t)(jas_image_readcmptsample(jasImage, k, j ,i ));
+          *data16++ = (uint16_t)(jas_image_readcmptsample(jasImage, k, j ,i ));
     }
   else if (prec <= 32)
     {
@@ -92,8 +89,7 @@ bool gdcm_read_JPEG2000_file (void* raw, char *inputdata, size_t inputlength)
     for ( i = 0; i < height; i++) 
       for ( j = 0; j < width; j++) 
         for ( k= 0; k < numcmpts; k++)
-          *data32++ = 
-            (uint32_t)(jas_image_readcmptsample(jasImage, k, j ,i ));
+          *data32++ = (uint32_t)(jas_image_readcmptsample(jasImage, k, j ,i ));
     }
 
   jas_image_destroy(jasImage);
index 44a8ebb8483aa1b7d0a42c791ff7b24dcacf4bb5..fd05c73a8598181bb97fdfeb06b22dd3b78a5234 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmMpeg.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/05/23 13:28:19 $
-  Version:   $Revision: 1.3 $
+  Date:      $Date: 2005/06/02 12:32:55 $
+  Version:   $Revision: 1.4 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -28,15 +28,15 @@ extern "C" {
 #include "global.h"
 
 /* private prototypes */
-static int  video_sequence _ANSI_ARGS_((int *framenum));
-static int Decode_Bitstream _ANSI_ARGS_((void));
-static int  Headers _ANSI_ARGS_((void));
-static void Initialize_Sequence _ANSI_ARGS_((void));
-static void Initialize_Decoder _ANSI_ARGS_((void));
+static int  video_sequence        _ANSI_ARGS_((int *framenum));
+static int  Decode_Bitstream      _ANSI_ARGS_((void));
+static int  Headers               _ANSI_ARGS_((void));
+static void Initialize_Sequence   _ANSI_ARGS_((void));
+static void Initialize_Decoder    _ANSI_ARGS_((void));
 static void Deinitialize_Sequence _ANSI_ARGS_((void));
-//static void Process_Options _ANSI_ARGS_((int argc, char *argv[]));
+//static void Process_Options       _ANSI_ARGS_((int argc, char *argv[]));
 
-/* IMPLEMENTAION specific rouintes */
+/* IMPLEMENTATION specific routines */
 static void Initialize_Decoder()
 {
   int i;
@@ -58,7 +58,7 @@ static void Initialize_Decoder()
 
 }
 
-/* mostly IMPLEMENTAION specific rouintes */
+/* mostly IMPLEMENTATION specific routines */
 static void Initialize_Sequence()
 {
   int cc, size;
@@ -303,7 +303,7 @@ namespace gdcm
  * @param fp pointer to an already open file descriptor 
  *                      8 significant bits per pixel
  * @param image_buffer to receive uncompressed pixels
- * @param statesuspension Suspension State basically it should be 3 otherwise more complex to handle
+ * @param length length
  * @return 1 on success, 0 on error
  */