summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-08-22 12:32:52 +0100
committerCarl Hetherington <cth@carlh.net>2012-08-22 12:32:52 +0100
commitc70373ba74504ae39453c2a41ce1ab047fd441b4 (patch)
tree020b40133c93a797341b7a19c46c787f449cebe1 /src/util.h
parentdbdef419973ea00817022a4352126925025857dd (diff)
Rough support for 3D.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 3bbcbabb..75115272 100644
--- a/src/util.h
+++ b/src/util.h
@@ -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);
+
}