diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-11-13 00:52:34 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-11-25 20:26:47 +0100 |
| commit | 7b717b5ae1c82e2d878f950549e0c1f482dbb072 (patch) | |
| tree | 91c030229c9d5b0b8e68a2705867cdb574c660f3 /src/rgb_xyz.h | |
| parent | 503f3362ce116f752fe22e3810367147dbe57581 (diff) | |
Add rgb_to_xyz with xyz buffer and stride.fastvideo
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. */ |
