Express colour conversions as chromaticities and adjust so that
[libdcp.git] / src / colour_matrix.h
index 13bbc821691af3d9df83cac1ad9839e2e9c46d55..fd89ed3ac8fd7ae8686b972e36086d3441371e48 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
 
 */
 
-namespace libdcp {
+namespace dcp {
 
 namespace colour_matrix {
 
-extern float const xyz_to_rgb[3][3];
-extern float const srgb_to_xyz[3][3];
-extern float const rec709_to_xyz[3][3];
+extern double const xyz_to_rgb[3][3];
+extern double const rgb_to_xyz[3][3];
 
 }