Fix comment; image must be little-endian (assuming we are on little-endian CPUs...).
authorCarl Hetherington <cth@carlh.net>
Mon, 20 Oct 2014 21:38:51 +0000 (22:38 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 20 Oct 2014 21:38:51 +0000 (22:38 +0100)
src/rgb_xyz.cc

index 53e566c9f14bc46ed603593055493d4ff8aaa9c2..0400ad8854e63a7b55f22927a9ea7e83697c947c 100644 (file)
@@ -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])