summaryrefslogtreecommitdiff
path: root/src/j2k.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/j2k.cc')
-rw-r--r--src/j2k.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/j2k.cc b/src/j2k.cc
index 4c29abfc..15f360c5 100644
--- a/src/j2k.cc
+++ b/src/j2k.cc
@@ -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)
{