From 7bce4d3ec7fd345e58b870b3c1039fd4daf6c436 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 7 Jan 2015 15:17:17 +0000 Subject: Remove unused variable. --- src/stereo_picture_frame.cc | 4 +--- src/stereo_picture_frame.h | 2 +- 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 -StereoPictureFrame::argb_frame (Eye eye, int reduce, float srgb_gamma) const +StereoPictureFrame::argb_frame (Eye eye, int reduce) const { shared_ptr 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 argb_frame (Eye eye, int reduce = 0, float srgb_gamma = 2.4) const; + boost::shared_ptr 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 (); -- cgit v1.2.3