diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-11-23 16:41:21 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-11-23 16:41:21 +0000 |
| commit | bc2b4bb709683de594f08c4db0228c11f14bbf66 (patch) | |
| tree | 140baa3254579b3960b54a77dc03dc7876ca1b67 /src | |
| parent | a869c520e4c75ee16cc9c07b96bd4886aae39f8a (diff) | |
| parent | 960fa45a5852452418188d55adfd6172a8a77a4a (diff) | |
Merge branch '1.0' of git.carlh.net:git/libdcp into 1.0
Diffstat (limited to 'src')
| -rw-r--r-- | src/rgb_xyz.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rgb_xyz.cc b/src/rgb_xyz.cc index 23c99897..78083a7d 100644 --- a/src/rgb_xyz.cc +++ b/src/rgb_xyz.cc @@ -305,9 +305,9 @@ dcp::rgb_to_xyz ( d.z = min (65535.0, d.z); /* Out gamma LUT */ - *xyz_x++ = lut_out[lrint(d.x)] * 4095; - *xyz_y++ = lut_out[lrint(d.y)] * 4095; - *xyz_z++ = lut_out[lrint(d.z)] * 4095; + *xyz_x++ = lrint (lut_out[lrint(d.x)] * 4095); + *xyz_y++ = lrint (lut_out[lrint(d.y)] * 4095); + *xyz_z++ = lrint (lut_out[lrint(d.z)] * 4095); } } |
