Move luminance to Interop/SMPTE metadata and remove the ISDCF metadata dialogue.
[dcpomatic.git] / src / lib / image_decoder.h
index 9b8cf73bbba6461a5da786d312338b35c25144de..d575f9021f3e019add9753ac05c3e1b0c703222b 100644 (file)
@@ -27,17 +27,18 @@ class ImageProxy;
 class ImageDecoder : public Decoder
 {
 public:
-       ImageDecoder (boost::shared_ptr<const ImageContent> c, boost::shared_ptr<Log> log);
+       ImageDecoder (std::shared_ptr<const Film> film, std::shared_ptr<const ImageContent> c);
 
-       boost::shared_ptr<const ImageContent> content () {
+       std::shared_ptr<const ImageContent> content () {
                return _image_content;
        }
 
+       bool pass ();
+       void seek (dcpomatic::ContentTime, bool);
+
 private:
-       bool pass (Decoder::PassReason, bool);
-       void seek (ContentTime, bool);
 
-       boost::shared_ptr<const ImageContent> _image_content;
-       boost::shared_ptr<ImageProxy> _image;
-       Frame _video_position;
+       std::shared_ptr<const ImageContent> _image_content;
+       std::shared_ptr<ImageProxy> _image;
+       Frame _frame_video_position;
 };