Implement alpha_blend for YUV420P and YUV420P10. Improve unit test.
[dcpomatic.git] / src / lib / image.h
index cdad28c20214ff38f71dcce743d19126ac2c36fa..dde42f1bc2add86b228e7d0847a42d50830c0956 100644 (file)
@@ -54,7 +54,8 @@ public:
        bool aligned () const;
 
        int planes () const;
-       int line_factor (int) const;
+       int vertical_factor (int) const;
+       int horizontal_factor (int) const;
        dcp::Size sample_size (int) const;
 
        boost::shared_ptr<Image> scale (dcp::Size out_size, dcp::YUVToRGB yuv_to_rgb, AVPixelFormat out_format, bool aligned, bool fast) const;