summaryrefslogtreecommitdiff
path: root/src/rgb_xyz.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-08 22:42:44 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-08 22:42:44 +0100
commit7c386ee3f400d80f043bc0b271a0184e35a08169 (patch)
tree893dab410e68cf1fdfd3e709364b92a44942e92a /src/rgb_xyz.cc
parent5d8222829b5d14327ae6b63eb31e9fef0f9b4bdb (diff)
Rename xyz_to_rgb to xyz_to_rgba.
Diffstat (limited to 'src/rgb_xyz.cc')
-rw-r--r--src/rgb_xyz.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rgb_xyz.cc b/src/rgb_xyz.cc
index 72ee38c1..42f48cde 100644
--- a/src/rgb_xyz.cc
+++ b/src/rgb_xyz.cc
@@ -32,14 +32,14 @@ using namespace dcp;
#define DCI_COEFFICIENT (48.0 / 52.37)
-/** Convert an openjpeg XYZ image to RGB.
+/** Convert an openjpeg XYZ image to RGBA.
* @param xyz_frame Frame in XYZ.
* @param lut_in Input Gamma LUT to use.
* @param lut_out Output Gamma LUT to use.
* @return RGB image.
*/
shared_ptr<ARGBFrame>
-dcp::xyz_to_rgb (
+dcp::xyz_to_rgba (
boost::shared_ptr<const XYZFrame> xyz_frame,
boost::shared_ptr<const GammaLUT> lut_in,
boost::shared_ptr<const GammaLUT> lut_out