Allow content parts to not be preset in XML.
[dcpomatic.git] / src / lib / player_video.h
index 01b1c74f53e29e4878673759f2f73d3fb78031c1..8bd1c7be30d4b2b40ca61103afdd423154fd009e 100644 (file)
@@ -54,7 +54,10 @@ public:
 
        void set_subtitle (PositionImage);
 
-       boost::shared_ptr<Image> image (dcp::NoteHandler note) const;
+       boost::shared_ptr<Image> image (dcp::NoteHandler note, boost::function<AVPixelFormat (AVPixelFormat)> pixel_format, bool aligned, bool fast) const;
+
+       static AVPixelFormat always_rgb (AVPixelFormat);
+       static AVPixelFormat keep_xyz_or_rgb (AVPixelFormat);
 
        void add_metadata (xmlpp::Node* node) const;
        void send_binary (boost::shared_ptr<Socket> socket) const;