summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-10 13:20:43 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-10 13:20:43 +0100
commit91928a8616feb212f216bff068408da81ad8590f (patch)
treea02c9a025b0877a8dd69fed36407097b423a0fb0 /src
parent8771c1f7b00ab0fb5c252adaa437d753155b7c18 (diff)
Fix comment.
Diffstat (limited to 'src')
-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 791d6c7c..703694da 100644
--- a/src/rgb_xyz.cc
+++ b/src/rgb_xyz.cc
@@ -153,7 +153,7 @@ dcp::xyz_to_rgb (
double const * lut_in = conversion.in()->lut (12, true);
double const * lut_out = conversion.out()->lut (16, false);
boost::numeric::ublas::matrix<double> const matrix = conversion.xyz_to_rgb ();
-
+
for (int y = 0; y < xyz_image->size().height; ++y) {
uint16_t* rgb_line = reinterpret_cast<uint16_t*> (rgb + y * stride);
for (int x = 0; x < xyz_image->size().width; ++x) {
@@ -218,7 +218,7 @@ dcp::xyz_to_rgb (
* with the 2-byte value for each R/G/B component stored as
* little-endian; i.e. AV_PIX_FMT_RGB48LE.
* @param size of RGB image in pixels.
- * @param stride of RGB data in bytes.
+ * @param stride of RGB data in pixels.
*/
shared_ptr<dcp::XYZImage>
dcp::rgb_to_xyz (