diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-07-10 09:40:56 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-07-10 09:40:56 +0100 |
| commit | 53a18f3564b6dcd431e44b01ab2a505be135d2b7 (patch) | |
| tree | 633b1afa240e71a5a329503be8fc6092d7ec3a0a /src/lib/j2k_image_proxy.h | |
| parent | 63f506966cc4e9c459b3bcb430a11481f9d3a24a (diff) | |
Basics of direct write of J2K data without encode/decode.
Diffstat (limited to 'src/lib/j2k_image_proxy.h')
| -rw-r--r-- | src/lib/j2k_image_proxy.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/j2k_image_proxy.h b/src/lib/j2k_image_proxy.h index 1c2831802..d7b5c83fc 100644 --- a/src/lib/j2k_image_proxy.h +++ b/src/lib/j2k_image_proxy.h @@ -20,6 +20,8 @@ #include <dcp/util.h> #include "image_proxy.h" +class EncodedData; + class J2KImageProxy : public ImageProxy { public: @@ -31,6 +33,11 @@ public: void add_metadata (xmlpp::Node *) const; void send_binary (boost::shared_ptr<Socket>) const; + boost::shared_ptr<EncodedData> j2k () const; + dcp::Size size () const { + return _size; + } + private: boost::shared_ptr<const dcp::MonoPictureFrame> _mono; boost::shared_ptr<const dcp::StereoPictureFrame> _stereo; |
