Remove unused variable.
authorCarl Hetherington <cth@carlh.net>
Wed, 7 Jan 2015 15:17:17 +0000 (15:17 +0000)
committerCarl Hetherington <cth@carlh.net>
Wed, 7 Jan 2015 15:17:17 +0000 (15:17 +0000)
src/stereo_picture_frame.cc
src/stereo_picture_frame.h

index c510641d6207466c91740c75d59fe565a8b87830..e0ed6905473afcd37eb36e417c583ffb93f9024d 100644 (file)
@@ -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) {
index e8ef689d26e1e041fa70ec7542a0682ff3d3fcf9..7c4d676732033293d6263c0d1b73864ec1c6b1ee 100644 (file)
@@ -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 ();