From 00125c40d40e124abfca89aa678cd260815adae9 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 20 Oct 2014 22:38:51 +0100 Subject: Fix comment; image must be little-endian (assuming we are on little-endian CPUs...). --- src/rgb_xyz.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 xyz_frame, shared_ptr 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::rgb_to_xyz (shared_ptr rgb, shared_ptr lut_in, shared_ptr lut_out, double const colour_matrix[3][3]) -- cgit v1.2.3