summaryrefslogtreecommitdiff
path: root/src/j2k.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-10-30 00:50:57 +0100
committerCarl Hetherington <cth@carlh.net>2020-11-02 00:12:56 +0100
commitda15bff6e278d351301c9c50a4c96737ae4b5545 (patch)
tree86057f3d8cbca41130fe170791ef341e18bc6283 /src/j2k.h
parentec82ce2d44d5ba492a3dfa6e740ff21549d438e1 (diff)
Rename Data -> ArrayData.
Diffstat (limited to 'src/j2k.h')
-rw-r--r--src/j2k.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/j2k.h b/src/j2k.h
index 9ca5147b..fcaa28e2 100644
--- a/src/j2k.h
+++ b/src/j2k.h
@@ -31,7 +31,8 @@
files in the program, then also delete it here.
*/
-#include "data.h"
+
+#include "array_data.h"
#include <boost/shared_ptr.hpp>
#include <stdint.h>
@@ -40,7 +41,7 @@ namespace dcp {
class OpenJPEGImage;
extern boost::shared_ptr<OpenJPEGImage> decompress_j2k (uint8_t* data, int64_t size, int reduce);
-extern boost::shared_ptr<OpenJPEGImage> decompress_j2k (Data data, int reduce);
-extern Data compress_j2k (boost::shared_ptr<const OpenJPEGImage>, int bandwith, int frames_per_second, bool threed, bool fourk, std::string comment = "libdcp");
+extern boost::shared_ptr<OpenJPEGImage> decompress_j2k (ArrayData data, int reduce);
+extern ArrayData compress_j2k (boost::shared_ptr<const OpenJPEGImage>, int bandwith, int frames_per_second, bool threed, bool fourk, std::string comment = "libdcp");
}