Tests pass again.
[dcpomatic.git] / src / lib / image.h
index bb4a32319e0643f4047637a9fc9c3752484a7f20..69f3a883722b3f10a4c8e609ee4bf35834b8a01e 100644 (file)
@@ -111,7 +111,7 @@ private:
 class SimpleImage : public Image
 {
 public:
-       SimpleImage (AVPixelFormat, Size, boost::function<int (int)> rounder);
+       SimpleImage (AVPixelFormat, Size, boost::function<int (int, int const *)> rounder);
        ~SimpleImage ();
 
        uint8_t ** data () const;
@@ -131,6 +131,7 @@ class AlignedImage : public SimpleImage
 {
 public:
        AlignedImage (AVPixelFormat, Size);
+       AlignedImage (boost::shared_ptr<Image>);
 };
 
 class CompactImage : public SimpleImage
@@ -138,15 +139,6 @@ class CompactImage : public SimpleImage
 public:
        CompactImage (AVPixelFormat, Size);
        CompactImage (boost::shared_ptr<Image>);
-
-       AVPicture const * picture () const {
-               return &_picture;
-       }
-
-private:
-       void setup_picture ();
-       
-       AVPicture _picture;
 };
 
 #endif