summaryrefslogtreecommitdiff
path: root/src/lib/image.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-06-16 14:53:35 +0100
committerCarl Hetherington <cth@carlh.net>2013-06-16 14:53:35 +0100
commit4699463e19b2a153d64aeb0e00c62be1157bfc1b (patch)
tree971d505d0b5a8253a24eb95854effb5e34893c8c /src/lib/image.h
parent12074b64d64c1fe76a9cf07a46683b7db96fc56e (diff)
Some work on cropping in the film viewer; also prevent player from always scaling up to DCP resolution.
Diffstat (limited to 'src/lib/image.h')
-rw-r--r--src/lib/image.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/image.h b/src/lib/image.h
index f9bda7460..5407ce66e 100644
--- a/src/lib/image.h
+++ b/src/lib/image.h
@@ -69,6 +69,7 @@ public:
virtual bool aligned () const = 0;
int components () const;
+ int line_factor (int) const;
int lines (int) const;
boost::shared_ptr<Image> scale_and_convert_to_rgb (libdcp::Size, Scaler const *, bool) const;
@@ -109,7 +110,7 @@ public:
SimpleImage (AVPixelFormat, libdcp::Size, bool);
SimpleImage (AVFrame *);
SimpleImage (SimpleImage const &);
- SimpleImage (boost::shared_ptr<const Image>);
+ SimpleImage (boost::shared_ptr<const Image>, bool);
SimpleImage& operator= (SimpleImage const &);
~SimpleImage ();