summaryrefslogtreecommitdiff
path: root/src/rgb_xyz.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-12 21:00:30 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-12 21:00:30 +0100
commit414c44166031003b29d1b0b2fd2c9748a63260b4 (patch)
treef9d955142f6c982ce1f6db0b71d0a4c10bdbfea5 /src/rgb_xyz.h
parentf28303e1f00075841ac00fe4bb18ca37cbf1a7af (diff)
Move XYZ/RGB function to its own source file.
Diffstat (limited to 'src/rgb_xyz.h')
-rw-r--r--src/rgb_xyz.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/rgb_xyz.h b/src/rgb_xyz.h
new file mode 100644
index 00000000..123e055a
--- /dev/null
+++ b/src/rgb_xyz.h
@@ -0,0 +1,32 @@
+/*
+ Copyright (C) 2013 Carl Hetherington <cth@carlh.net>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+*/
+
+#include <boost/shared_ptr.hpp>
+
+namespace libdcp {
+
+class ARGBFrame;
+class XYZFrame;
+class GammaLUT;
+
+extern boost::shared_ptr<ARGBFrame> xyz_to_rgb (
+ boost::shared_ptr<const XYZFrame>, boost::shared_ptr<const GammaLUT>, boost::shared_ptr<const GammaLUT>
+ );
+
+}