summaryrefslogtreecommitdiff
path: root/src/lib/image.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-11-14 20:04:15 +0000
committerCarl Hetherington <cth@carlh.net>2012-11-14 20:04:15 +0000
commit05c37b9bb09f7bfa4c2ec8ea6b3fa4a83d0fec20 (patch)
treefa7a3e408c2eb66b070864694b6af7e0787e508f /src/lib/image.h
parent5161626c3c28ba528511a8b211286a5e81a0f02a (diff)
Tests pass again.
Diffstat (limited to 'src/lib/image.h')
-rw-r--r--src/lib/image.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/lib/image.h b/src/lib/image.h
index bb4a32319..69f3a8837 100644
--- a/src/lib/image.h
+++ b/src/lib/image.h
@@ -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