diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-11-28 12:26:31 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-12-04 10:30:09 +0000 |
| commit | 87cabfe2ec674f5388e554cbbe79f270648e7142 (patch) | |
| tree | 5a8de7374e3546008445a732415277b7a6121913 /src/util.h | |
| parent | aeaa2d842b3b8422ac341c43652d083cacf3aee7 (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 (); |
