diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-11-30 00:05:34 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-12-04 21:14:06 +0000 |
| commit | 6c19b21e12f73ce63edd406ea617ff25bcc9bfea (patch) | |
| tree | a671b7fd9913abef6eda535ed2551328a078cbcc /src/lib/j2k_image_proxy.h | |
| parent | b1991796d6a4cbed8f8e1378bedbf7ecbf9647a2 (diff) | |
Use libdcp's compress_j2k; move Data into libdcp.
Diffstat (limited to 'src/lib/j2k_image_proxy.h')
| -rw-r--r-- | src/lib/j2k_image_proxy.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/lib/j2k_image_proxy.h b/src/lib/j2k_image_proxy.h index 1d34e7f84..9fc96a543 100644 --- a/src/lib/j2k_image_proxy.h +++ b/src/lib/j2k_image_proxy.h @@ -18,16 +18,14 @@ */ #include "image_proxy.h" -#include "data.h" #include <dcp/util.h> namespace dcp { class MonoPictureFrame; class StereoPictureFrame; + class Data; } -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; |
