summaryrefslogtreecommitdiff
path: root/src/rgb_xyz.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-01-17 17:11:32 +0000
committerCarl Hetherington <cth@carlh.net>2014-01-17 17:11:32 +0000
commit41fc6e366ad3de85704c35961beaf539ab9ceb8b (patch)
tree22c68206025af06f3915650d5feece76e57cbfc0 /src/rgb_xyz.cc
parent394abae7986abf4438184a712f16dfbe3c2734da (diff)
namespace libdcp -> dcp.
Diffstat (limited to 'src/rgb_xyz.cc')
-rw-r--r--src/rgb_xyz.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rgb_xyz.cc b/src/rgb_xyz.cc
index dea2106c..7d30d32e 100644
--- a/src/rgb_xyz.cc
+++ b/src/rgb_xyz.cc
@@ -27,7 +27,7 @@
using std::min;
using std::max;
using boost::shared_ptr;
-using namespace libdcp;
+using namespace dcp;
#define DCI_COEFFICIENT (48.0 / 52.37)
@@ -36,7 +36,7 @@ using namespace libdcp;
* @return RGB image.
*/
shared_ptr<ARGBFrame>
-libdcp::xyz_to_rgb (shared_ptr<const XYZFrame> xyz_frame, shared_ptr<const LUT> lut_in, shared_ptr<const LUT> lut_out)
+dcp::xyz_to_rgb (shared_ptr<const XYZFrame> xyz_frame, shared_ptr<const LUT> lut_in, shared_ptr<const LUT> lut_out)
{
int const max_colour = pow (2, lut_out->bit_depth()) - 1;
@@ -99,8 +99,8 @@ libdcp::xyz_to_rgb (shared_ptr<const XYZFrame> xyz_frame, shared_ptr<const LUT>
return argb_frame;
}
-shared_ptr<libdcp::XYZFrame>
-libdcp::rgb_to_xyz (shared_ptr<const Image> rgb, shared_ptr<const LUT> lut_in, shared_ptr<const LUT> lut_out, double const colour_matrix[3][3])
+shared_ptr<dcp::XYZFrame>
+dcp::rgb_to_xyz (shared_ptr<const Image> rgb, shared_ptr<const LUT> lut_in, shared_ptr<const LUT> lut_out, double const colour_matrix[3][3])
{
assert (lut_in->bit_depth() == 12);
assert (lut_out->bit_depth() == 16);