diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-11-28 12:26:31 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-12-04 21:12:45 +0000 |
| commit | 6c4db88d264a29033bf4724e5aba9b939e044b4b (patch) | |
| tree | 378ca444931b37943d1fc7d2cbbeb338e604d912 /src/util.h | |
| parent | 689d56339857b0a82156641f28392b8d2f11beea (diff) | |
Port to openjpeg version 2.1.
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -56,7 +56,7 @@ 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 Data compress_j2k (boost::shared_ptr<const OpenJPEGImage>, int bandwith, int frames_per_second, bool threed, bool fourk); extern bool ids_equal (std::string a, std::string b); extern void init (); |
