diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-10-20 22:38:51 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-10-20 22:38:51 +0100 |
| commit | 00125c40d40e124abfca89aa678cd260815adae9 (patch) | |
| tree | 1be8f29d00bd408621007632f6a4ee1906daf3f3 /src | |
| parent | d5accd6d6fd6c3c368fda4ce26b45f468e12e266 (diff) | |
Fix comment; image must be little-endian (assuming we are on little-endian CPUs...).
Diffstat (limited to 'src')
| -rw-r--r-- | src/rgb_xyz.cc | 4 |
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]) |
