diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-08-22 12:32:52 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-08-22 12:32:52 +0100 |
| commit | c70373ba74504ae39453c2a41ce1ab047fd441b4 (patch) | |
| tree | 020b40133c93a797341b7a19c46c787f449cebe1 /src/util.h | |
| parent | dbdef419973ea00817022a4352126925025857dd (diff) | |
Rough support for 3D.
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -22,11 +22,15 @@ */ #include <string> +#include <stdint.h> #include <sigc++/sigc++.h> +#include <openjpeg.h> #include "types.h" namespace libdcp { +class ARGBFrame; + /** Create a UUID. * @return UUID. */ @@ -44,4 +48,7 @@ extern std::string content_kind_to_string (ContentKind kind); extern ContentKind content_kind_from_string (std::string kind); extern bool ends_with (std::string big, std::string little); +extern opj_image_t* decompress_j2k (uint8_t* data, int64_t size); +extern boost::shared_ptr<ARGBFrame> xyz_to_rgb (opj_image_t* xyz_frame); + } |
