diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-11-28 13:22:04 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-11-28 13:22:04 +0000 |
| commit | ae6860a1e10c0dc62db16fd47aacd8c19a79c754 (patch) | |
| tree | 073d80ead8ecc9d44235b3793b7230ee973887f5 /src/util.h | |
| parent | 8ccf9e982971a8eca1027ad5c04d837b6ad068dc (diff) | |
Add nice decompress_j2k wrapper; small fixes to bench.
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -55,6 +55,7 @@ extern std::string content_kind_to_string (ContentKind kind); extern ContentKind content_kind_from_string (std::string kind); extern bool empty_or_white_space (std::string s); 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<OpenJPEGImage>, int bandwith, int frames_per_second, bool threed, bool fourk); extern bool ids_equal (std::string a, std::string b); |
