Spot repeated frames from single-image sources and optimise encoding.
[dcpomatic.git] / src / lib / image.h
index 23b88dd7601066c022bb457f116b8c252c7be256..e1f8d0ddd4c1d7597b17c78ce8449479e3e9f44a 100644 (file)
@@ -75,8 +75,10 @@ public:
                return _pixel_format;
        }
 
+       std::string digest () const;
+
 private:
-       friend class pixel_formats_test;
+       friend struct pixel_formats_test;
        
        void allocate ();
        void swap (Image &);
@@ -92,5 +94,6 @@ private:
 };
 
 extern PositionImage merge (std::list<PositionImage> images);
+extern bool operator== (Image const & a, Image const & b);
 
 #endif