summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-10-20 22:38:51 +0100
committerCarl Hetherington <cth@carlh.net>2014-10-20 22:38:51 +0100
commit00125c40d40e124abfca89aa678cd260815adae9 (patch)
tree1be8f29d00bd408621007632f6a4ee1906daf3f3
parentd5accd6d6fd6c3c368fda4ce26b45f468e12e266 (diff)
Fix comment; image must be little-endian (assuming we are on little-endian CPUs...).
-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 53e566c9..0400ad88 100644
--- a/src/rgb_xyz.cc
+++ b/src/rgb_xyz.cc
@@ -99,8 +99,8 @@ libdcp::xyz_to_rgb (shared_ptr<const XYZFrame> xyz_frame, shared_ptr<const LUT>
return argb_frame;
}
-/** Image must be packed RGB 16:16:16, 48bpp, 16R, 16G, 16B, with the 2-byte value for each R/G/B component stored as big-endian;
- * i.e. AV_PIX_FMT_RGB48BE.
+/** Image must be packed RGB 16:16:16, 48bpp, 16R, 16G, 16B, with the 2-byte value for each R/G/B component stored as little-endian;
+ * i.e. AV_PIX_FMT_RGB48LE.
*/
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])