Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
[dcpomatic.git] / src / lib / j2k_image_proxy.h
index 1d34e7f84e1a218ebc40b052e78a1b6b1cb1feb6..efb744c0a1b53f68d4cbcc29fce340ac88535008 100644 (file)
 */
 
 #include "image_proxy.h"
-#include "data.h"
 #include <dcp/util.h>
+#include <dcp/data.h>
 
 namespace dcp {
        class MonoPictureFrame;
        class StereoPictureFrame;
 }
 
-class Data;
-
 class J2KImageProxy : public ImageProxy
 {
 public:
@@ -43,7 +41,7 @@ public:
        bool same (boost::shared_ptr<const ImageProxy>) const;
        AVPixelFormat pixel_format () const;
 
-       Data j2k () const {
+       dcp::Data j2k () const {
                return _data;
        }
 
@@ -55,10 +53,10 @@ private:
        friend struct client_server_test_j2k;
 
        /* For tests */
-       J2KImageProxy (Data data, dcp::Size size);
+       J2KImageProxy (dcp::Data data, dcp::Size size);
        void ensure_j2k () const;
 
-       Data _data;
+       dcp::Data _data;
        dcp::Size _size;
        boost::optional<dcp::Eye> _eye;
        mutable boost::shared_ptr<dcp::OpenJPEGImage> _j2k;