diff options
Diffstat (limited to 'src/rgb_xyz.h')
| -rw-r--r-- | src/rgb_xyz.h | 11 |
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. */ |
