diff options
Diffstat (limited to 'src/rgb_xyz.cc')
| -rw-r--r-- | src/rgb_xyz.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/rgb_xyz.cc b/src/rgb_xyz.cc index b8acc9b0..de6a40db 100644 --- a/src/rgb_xyz.cc +++ b/src/rgb_xyz.cc @@ -80,8 +80,8 @@ dcp::xyz_to_rgba ( int* xyz_y = xyz_image->data (1); int* xyz_z = xyz_image->data (2); - auto lut_in = conversion.out()->lut (12, false); - auto lut_out = conversion.in()->lut (16, true); + auto lut_in = conversion.out()->lut(0, 1, 12, false); + auto lut_out = conversion.in()->lut(0, 1, 16, true); boost::numeric::ublas::matrix<double> const matrix = conversion.xyz_to_rgb (); double fast_matrix[9] = { @@ -157,8 +157,8 @@ dcp::xyz_to_rgb ( int* xyz_y = xyz_image->data (1); int* xyz_z = xyz_image->data (2); - auto lut_in = conversion.out()->lut (12, false); - auto lut_out = conversion.in()->lut (16, true); + auto lut_in = conversion.out()->lut(0, 1, 12, false); + auto lut_out = conversion.in()->lut(0, 1, 16, true); auto const matrix = conversion.xyz_to_rgb (); double fast_matrix[9] = { @@ -276,8 +276,8 @@ dcp::rgb_to_xyz ( double x, y, z; } d; - auto lut_in = conversion.in()->lut (12, false); - auto lut_out = conversion.out()->lut (16, true); + auto lut_in = conversion.in()->lut(0, 1, 12, false); + auto lut_out = conversion.out()->lut(0, 1, 16, true); /* This is is the product of the RGB to XYZ matrix, the Bradford transform and the DCI companding */ double fast_matrix[9]; |
