Various alignment adjustments.
[dcpomatic.git] / src / lib / image_proxy.h
index cf1fb9a2dc6035ccfe65e5e3caf0215d8bd0cce1..8817845d997d8d77643814328609489a42b26e79 100644 (file)
@@ -91,6 +91,7 @@ public:
         *  can be used as an optimisation.
         */
        virtual Result image (
+               bool aligned,
                boost::optional<dcp::Size> size = boost::optional<dcp::Size> ()
                ) const = 0;
 
@@ -102,7 +103,7 @@ public:
         *  This method may be called in a different thread to image().
         *  @return log2 of any scaling down that will be applied to the image.
         */
-       virtual int prepare (boost::optional<dcp::Size> = boost::optional<dcp::Size>()) const { return 0; }
+       virtual int prepare (bool, boost::optional<dcp::Size> = boost::optional<dcp::Size>()) const { return 0; }
        virtual size_t memory_used () const = 0;
 };