From 8ccf9e982971a8eca1027ad5c04d837b6ad068dc Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 28 Nov 2015 13:15:37 +0000 Subject: Add compress_j2k method and simple benchmark. --- src/data.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/data.h') 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 data; @@ -45,3 +50,5 @@ public: }; } + +#endif -- cgit v1.2.3