Get Signer to take a PEM string rather than a filename.
[libdcp.git] / src / rgb_xyz.h
index 6b0f18426bdc3729cc2e82ba198030eeb3b7019e..ee354d5346712b6ff10aa9a4939bd92671084c56 100644 (file)
 */
 
 #include <boost/shared_ptr.hpp>
+#include <stdint.h>
 
 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]
        );
        
 }