diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-11-28 13:15:37 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-11-28 13:15:37 +0000 |
| commit | 8ccf9e982971a8eca1027ad5c04d837b6ad068dc (patch) | |
| tree | f1f4785df95a266a7d1a511729e379913096f57a /src/data.h | |
| parent | 257b936e9ed24043cfc1ed6e7e762858250bc388 (diff) | |
Add compress_j2k method and simple benchmark.
Diffstat (limited to 'src/data.h')
| -rw-r--r-- | src/data.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |
