Add variousn new bits to CertificateChain.
[libdcp.git] / src / rgb_xyz.h
index 87959cb38eff1705996c5909fc0f8619e4871320..ee354d5346712b6ff10aa9a4939bd92671084c56 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2013 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2013-2014 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
 */
 
 #include <boost/shared_ptr.hpp>
+#include <stdint.h>
 
-namespace libdcp {
+namespace dcp {
 
 class ARGBFrame;       
 class XYZFrame;
-class LUT;
+class GammaLUT;
 class Image;
        
-extern boost::shared_ptr<ARGBFrame> xyz_to_rgb (
-       boost::shared_ptr<const XYZFrame>, boost::shared_ptr<const LUT>, boost::shared_ptr<const LUT>
+extern boost::shared_ptr<ARGBFrame> xyz_to_rgba (
+       boost::shared_ptr<const XYZFrame>, boost::shared_ptr<const GammaLUT>, boost::shared_ptr<const GammaLUT>
        );
 
+extern void xyz_to_rgb (
+       boost::shared_ptr<const XYZFrame>, boost::shared_ptr<const GammaLUT>, boost::shared_ptr<const GammaLUT>, uint8_t* buffer
+       );
+       
 extern boost::shared_ptr<XYZFrame> rgb_to_xyz (
-       boost::shared_ptr<const Image>, boost::shared_ptr<const LUT>, boost::shared_ptr<const LUT>, double const colour_matrix[3][3]
+       boost::shared_ptr<const Image>, boost::shared_ptr<const GammaLUT>, boost::shared_ptr<const GammaLUT>, double const colour_matrix[3][3]
        );
        
 }