From 0432e1772412d42036124a213663105eb52fb02a Mon Sep 17 00:00:00 2001 From: gaillaro Date: Wed, 6 Apr 2005 17:30:14 +0000 Subject: - suppression de const sur getParm - ajout d'une option facultative de luminosité sur la ligne de commande pour test_video4linux - qq modifs sur liveView --- 2005/i/robert/src/image/image_reader.hh | 2 +- 2005/i/robert/src/image/raw_reader.cc | 2 +- 2005/i/robert/src/image/raw_reader.hh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to '2005/i/robert/src/image') diff --git a/2005/i/robert/src/image/image_reader.hh b/2005/i/robert/src/image/image_reader.hh index fd6d308..81020bd 100644 --- a/2005/i/robert/src/image/image_reader.hh +++ b/2005/i/robert/src/image/image_reader.hh @@ -34,7 +34,7 @@ class ImageReader virtual ~ImageReader (void) { } /// Récupère les paramètres de l'image. virtual void getParam (int &width, int &height, - Image::PixelFormat &pixelFormat) const = 0; + Image::PixelFormat &pixelFormat) = 0; /// Lit une image, lance une exception en cas d'erreur. virtual void read (uint8_t *buf, unsigned size) = 0; }; diff --git a/2005/i/robert/src/image/raw_reader.cc b/2005/i/robert/src/image/raw_reader.cc index e77df08..f3e87b6 100644 --- a/2005/i/robert/src/image/raw_reader.cc +++ b/2005/i/robert/src/image/raw_reader.cc @@ -38,7 +38,7 @@ RawReader::RawReader (DataInput &data, int width, int height, /// Récupère les paramètres de l'image. void RawReader::getParam (int &width, int &height, - Image::PixelFormat &pixelFormat) const + Image::PixelFormat &pixelFormat) { width = width_; height = height_; diff --git a/2005/i/robert/src/image/raw_reader.hh b/2005/i/robert/src/image/raw_reader.hh index e62452d..b5ecd78 100644 --- a/2005/i/robert/src/image/raw_reader.hh +++ b/2005/i/robert/src/image/raw_reader.hh @@ -41,7 +41,7 @@ class RawReader : public ImageReader Image::PixelFormat pixelFormat); /// Récupère les paramètres de l'image. void getParam (int &width, int &height, - Image::PixelFormat &pixelFormat) const; + Image::PixelFormat &pixelFormat); /// Lit une image, lance une exception en cas d'erreur. void read (uint8_t *buf, unsigned size); }; -- cgit v1.2.3