diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-11-23 01:48:55 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-11-23 12:47:36 +0000 |
| commit | 80fafad9c11e0cd8cf9d6ce17deb83be6f680f2d (patch) | |
| tree | ad1b5f69d9863a86ecbf2c46ae0b7916ce60be09 /src/lib/j2k_image_proxy.cc | |
| parent | 2f51e117cbaf36b9e0ccb02c338b316fc8e26b9a (diff) | |
First cut at J2K import.
Diffstat (limited to 'src/lib/j2k_image_proxy.cc')
| -rw-r--r-- | src/lib/j2k_image_proxy.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/j2k_image_proxy.cc b/src/lib/j2k_image_proxy.cc index 1fe854cd1..9312a7763 100644 --- a/src/lib/j2k_image_proxy.cc +++ b/src/lib/j2k_image_proxy.cc @@ -31,6 +31,14 @@ using std::string; using boost::shared_ptr; +/** Construct a J2KImageProxy from a JPEG2000 file */ +J2KImageProxy::J2KImageProxy (boost::filesystem::path path, dcp::Size size) + : _mono (new dcp::MonoPictureFrame (path)) + , _size (size) +{ + +} + J2KImageProxy::J2KImageProxy (shared_ptr<const dcp::MonoPictureFrame> frame, dcp::Size size) : _mono (frame) , _size (size) |
