summaryrefslogtreecommitdiff
path: root/src/rgb_xyz.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-12 22:37:08 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-12 22:37:08 +0100
commit749011eb81eeb8f0fbe74055c005b61cc8b1fb9a (patch)
treefa637fdbbae050dc840396bce9d6c00cb219d485 /src/rgb_xyz.h
parent414c44166031003b29d1b0b2fd2c9748a63260b4 (diff)
Support rgb -> xyz encoding.
Diffstat (limited to 'src/rgb_xyz.h')
-rw-r--r--src/rgb_xyz.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/rgb_xyz.h b/src/rgb_xyz.h
index 123e055a..d85e5a1f 100644
--- a/src/rgb_xyz.h
+++ b/src/rgb_xyz.h
@@ -23,10 +23,15 @@ namespace libdcp {
class ARGBFrame;
class XYZFrame;
-class GammaLUT;
+class LUT;
+class Image;
extern boost::shared_ptr<ARGBFrame> xyz_to_rgb (
- boost::shared_ptr<const XYZFrame>, boost::shared_ptr<const GammaLUT>, boost::shared_ptr<const GammaLUT>
+ boost::shared_ptr<const XYZFrame>, boost::shared_ptr<const LUT>, boost::shared_ptr<const LUT>
);
+extern boost::shared_ptr<XYZFrame> rgb_to_xyz (
+ boost::shared_ptr<const Image>, boost::shared_ptr<const LUT>, boost::shared_ptr<const LUT>, float const colour_matrix[3][3]
+ );
+
}