X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmJPEGFragment.cxx;h=709d4a54c07727acc22b035c0f3bbb17dad6bf3d;hb=de3b7ba046faa2c6728c25d54d22eafe6a24040d;hp=fa8f86d6ca75e83b0e9717bc69cc6032ac489daa;hpb=d1c68c2c2ae9fadf927053150f7fbc625a7c7366;p=gdcm.git diff --git a/src/gdcmJPEGFragment.cxx b/src/gdcmJPEGFragment.cxx index fa8f86d6..709d4a54 100644 --- a/src/gdcmJPEGFragment.cxx +++ b/src/gdcmJPEGFragment.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmJPEGFragment.cxx,v $ Language: C++ - Date: $Date: 2005/02/01 10:29:55 $ - Version: $Revision: 1.13 $ + Date: $Date: 2005/11/28 17:24:21 $ + Version: $Revision: 1.17 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -24,11 +24,11 @@ namespace gdcm //------------------------------------------------------------------------- // For JPEG 2000, body in file gdcmJpeg2000.cxx // Not yet made -bool gdcm_read_JPEG2000_file (std::ifstream* fp, void* image_buffer); +bool gdcm_read_JPEG2000_file (std::ifstream *fp, void *image_buffer); // For JPEG-LS, body in file gdcmJpegLS.cxx // Not yet made -bool gdcm_read_JPEGLS_file (std::ifstream* fp, void* image_buffer); +bool gdcm_read_JPEGLS_file (std::ifstream *fp, void *image_buffer); //------------------------------------------------------------------------- // Constructor / Destructor @@ -55,7 +55,7 @@ JPEGFragment::JPEGFragment() */ void JPEGFragment::DecompressJPEGFramesFromFile(std::ifstream *fp, uint8_t *buffer, int nBits, - int & statesuspension) + int &statesuspension) { // First thing need to reset file to proper position: fp->seekg( Offset, std::ios::beg); @@ -99,7 +99,7 @@ void JPEGFragment::DecompressJPEGFramesFromFile(std::ifstream *fp, * @param os Stream to print to. * @param indent Indentation string to be prepended during printing. */ -void JPEGFragment::Print( std::ostream &os, std::string indent ) +void JPEGFragment::Print( std::ostream &os, std::string const &indent ) { os << indent << "JPEG fragment: offset : " << Offset