diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-10-22 00:20:53 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-10-22 00:42:22 +0200 |
| commit | 687e46f8770ee946ce149e2b893f3626052b6881 (patch) | |
| tree | 8745f8b05959db85bf08bf5fa6bb42801ea0b2e3 /src/rgb_xyz.h | |
| parent | e171a0bbaf0dedbab261279561888e7259a40df7 (diff) | |
Remove logging of clamped values.
I can't remember seeing this logged for ages and it appears to cost
nearly a second on the rgb_xyz benchmark on AMD Ryzen 7 5700U.
Diffstat (limited to 'src/rgb_xyz.h')
| -rw-r--r-- | src/rgb_xyz.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/rgb_xyz.h b/src/rgb_xyz.h index 22e1396d..c41fdee0 100644 --- a/src/rgb_xyz.h +++ b/src/rgb_xyz.h @@ -107,8 +107,7 @@ extern void rgb_to_xyz ( uint16_t* dst, dcp::Size size, int stride, - ColourConversion const & conversion, - boost::optional<NoteHandler> note = boost::optional<NoteHandler>() + ColourConversion const& conversion ); /** @param rgb RGB data; packed RGB 16:16:16, 48bpp, 16R, 16G, 16B, @@ -121,8 +120,7 @@ extern std::shared_ptr<OpenJPEGImage> rgb_to_xyz ( uint8_t const * rgb, dcp::Size size, int stride, - ColourConversion const & conversion, - boost::optional<NoteHandler> note = boost::optional<NoteHandler> () + ColourConversion const& conversion ); |
