diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-11-07 15:57:12 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-11-07 15:57:12 +0000 |
| commit | 77d3d8217a55e100a45fb65d489875c6a9b1b620 (patch) | |
| tree | 7daac66e4a99e73028529139409d4f9ff2eb58b7 /src/j2k.cc | |
| parent | 4e15f606b7c268727b34603dabd1f2dbe368fbef (diff) | |
Add copy constructor for OpenJPEGImage.
Diffstat (limited to 'src/j2k.cc')
| -rw-r--r-- | src/j2k.cc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -257,6 +257,9 @@ error_callback (char const * msg, void *) throw MiscError (msg); } +/** @xyz Picture to compress. Parts of xyz's data WILL BE OVERWRITTEN by libopenjpeg so xyz cannot be re-used + * after this call; see opj_j2k_encode where if l_reuse_data is false it will set l_tilec->data = l_img_comp->data. + */ Data dcp::compress_j2k (shared_ptr<const OpenJPEGImage> xyz, int bandwidth, int frames_per_second, bool threed, bool fourk) { |
