summaryrefslogtreecommitdiff
path: root/src/data.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-11-28 13:15:37 +0000
committerCarl Hetherington <cth@carlh.net>2015-11-28 13:15:37 +0000
commit8ccf9e982971a8eca1027ad5c04d837b6ad068dc (patch)
treef1f4785df95a266a7d1a511729e379913096f57a /src/data.h
parent257b936e9ed24043cfc1ed6e7e762858250bc388 (diff)
Add compress_j2k method and simple benchmark.
Diffstat (limited to 'src/data.h')
-rw-r--r--src/data.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/data.h b/src/data.h
index 0b746052..12949fe4 100644
--- a/src/data.h
+++ b/src/data.h
@@ -17,6 +17,9 @@
*/
+#ifndef LIBDCP_DATA_H
+#define LIBDCP_DATA_H
+
/** @file src/data.h
* @brief Data class.
*/
@@ -38,6 +41,8 @@ public:
, size (size_)
{}
+ Data (uint8_t const * data, boost::uintmax_t size_);
+
Data (boost::filesystem::path file);
boost::shared_array<uint8_t> data;
@@ -45,3 +50,5 @@ public:
};
}
+
+#endif