Get Signer to take a PEM string rather than a filename.
[libdcp.git] / src / rgb_xyz.h
index 28e09230abe1a912ad03e6f2d4927794a507ccc8..ee354d5346712b6ff10aa9a4939bd92671084c56 100644 (file)
@@ -18,6 +18,7 @@
 */
 
 #include <boost/shared_ptr.hpp>
+#include <stdint.h>
 
 namespace dcp {
 
@@ -26,10 +27,14 @@ class XYZFrame;
 class GammaLUT;
 class Image;
        
-extern boost::shared_ptr<ARGBFrame> xyz_to_rgb (
+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 GammaLUT>, boost::shared_ptr<const GammaLUT>, double const colour_matrix[3][3]
        );