]> Creatis software - gdcm.git/blobdiff - src/gdcmRLEFramesInfo.cxx
COMP: How the f* did it ever work before...
[gdcm.git] / src / gdcmRLEFramesInfo.cxx
index 26797b4dc686c2cdef757e4d7f2fe83b0d8aba60..2c184116f5f6909ef38d62de1afd6008cc3ba207 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmRLEFramesInfo.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/02/02 10:02:18 $
-  Version:   $Revision: 1.13 $
+  Date:      $Date: 2005/02/11 17:01:46 $
+  Version:   $Revision: 1.15 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -65,7 +65,8 @@ RLEFrame *RLEFramesInfo::GetNextFrame()
  * @param raw raw
  * @param xSize x Size
  * @param ySize y Size
- * @param BitsAllocated Bits allocated
+ * @param zSize z Size
+ * @param bitsAllocated Bits allocated
  * @return    Boolean
  */
 bool RLEFramesInfo::DecompressRLEFile( std::ifstream *fp , uint8_t *raw, 
@@ -94,7 +95,7 @@ bool RLEFramesInfo::DecompressRLEFile( std::ifstream *fp , uint8_t *raw,
  * \brief  We assume Raw contains the decoded RLE pixels but as
  *         8 bits per pixel. We convert those pixels to 16 bits
  *         per pixel.
- * @param raw raw
+ * @param raw raw 
  * @param xSize x Size
  * @param ySize y Size
  * @param numberOfFrames number of frames 
@@ -128,8 +129,6 @@ bool RLEFramesInfo::ConvertRLE16BitsFromRLE8Bits(uint8_t *raw, int xSize,
    }
    delete[] copyRaw;
 
-   /// \todo check that operator new [] didn't fail, and sometimes return false
-
    return true;
 }