summaryrefslogtreecommitdiff
path: root/2005/i/robert/src/image
diff options
context:
space:
mode:
authorgaillaro2005-04-06 17:30:14 +0000
committergaillaro2005-04-06 17:30:14 +0000
commit0432e1772412d42036124a213663105eb52fb02a (patch)
treea1da3f73379e27865563cc8a4d407eb1fd3e28f4 /2005/i/robert/src/image
parente055e4400ca30eb6cde9207a1a707504cafbe274 (diff)
- suppression de const sur getParm
- ajout d'une option facultative de luminosité sur la ligne de commande pour test_video4linux - qq modifs sur liveView
Diffstat (limited to '2005/i/robert/src/image')
-rw-r--r--2005/i/robert/src/image/image_reader.hh2
-rw-r--r--2005/i/robert/src/image/raw_reader.cc2
-rw-r--r--2005/i/robert/src/image/raw_reader.hh2
3 files changed, 3 insertions, 3 deletions
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);
};