summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-01-07 15:17:17 +0000
committerCarl Hetherington <cth@carlh.net>2015-01-07 15:17:17 +0000
commit7bce4d3ec7fd345e58b870b3c1039fd4daf6c436 (patch)
tree5d7dde64010fe9b4900d6c1b7f4f31beb9896102 /src
parentb9559c74878aba5cada36e8807ff2dd66f406859 (diff)
Remove unused variable.
Diffstat (limited to 'src')
-rw-r--r--src/stereo_picture_frame.cc4
-rw-r--r--src/stereo_picture_frame.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/src/stereo_picture_frame.cc b/src/stereo_picture_frame.cc
index c510641d..e0ed6905 100644
--- a/src/stereo_picture_frame.cc
+++ b/src/stereo_picture_frame.cc
@@ -67,8 +67,6 @@ StereoPictureFrame::~StereoPictureFrame ()
* @param reduce a factor by which to reduce the resolution
* of the image, expressed as a power of two (pass 0 for no
* reduction).
- * @param srgb_gamma Reciprocal of gamma to use when doing the
- * output gamma correction (after conversion from XYZ to RGB).
*
* @return An ARGB representation of one of the eyes (left or right)
* of this frame. This is ARGB in the Cairo sense, so that each
@@ -77,7 +75,7 @@ StereoPictureFrame::~StereoPictureFrame ()
*
*/
shared_ptr<ARGBFrame>
-StereoPictureFrame::argb_frame (Eye eye, int reduce, float srgb_gamma) const
+StereoPictureFrame::argb_frame (Eye eye, int reduce) const
{
shared_ptr<XYZFrame> xyz_frame;
switch (eye) {
diff --git a/src/stereo_picture_frame.h b/src/stereo_picture_frame.h
index e8ef689d..7c4d6767 100644
--- a/src/stereo_picture_frame.h
+++ b/src/stereo_picture_frame.h
@@ -43,7 +43,7 @@ public:
StereoPictureFrame ();
~StereoPictureFrame ();
- boost::shared_ptr<ARGBFrame> argb_frame (Eye eye, int reduce = 0, float srgb_gamma = 2.4) const;
+ boost::shared_ptr<ARGBFrame> argb_frame (Eye eye, int reduce = 0) const;
void rgb_frame (Eye eye, uint16_t* buffer) const;
uint8_t const * left_j2k_data () const;
uint8_t* left_j2k_data ();