summaryrefslogtreecommitdiff
path: root/src/rgb_xyz.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rgb_xyz.h')
-rw-r--r--src/rgb_xyz.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/rgb_xyz.h b/src/rgb_xyz.h
index 4a920efb..5f2da9a4 100644
--- a/src/rgb_xyz.h
+++ b/src/rgb_xyz.h
@@ -107,6 +107,17 @@ extern std::shared_ptr<OpenJPEGImage> rgb_to_xyz (
);
+extern void rgb_to_xyz (
+ uint8_t const * rgb,
+ dcp::Size size,
+ int rgb_stride,
+ uint16_t* xyz,
+ int xyz_stride,
+ ColourConversion const & conversion,
+ boost::optional<NoteHandler> note = boost::optional<NoteHandler> ()
+ );
+
+
/** @param conversion Colour conversion.
* @param matrix Filled in with the product of the RGB to XYZ matrix, the Bradford transform and the DCI companding.
*/