diff options
Diffstat (limited to 'src/rgb_xyz.h')
| -rw-r--r-- | src/rgb_xyz.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/rgb_xyz.h b/src/rgb_xyz.h index 4dd25b28..53568350 100644 --- a/src/rgb_xyz.h +++ b/src/rgb_xyz.h @@ -17,7 +17,9 @@ */ +#include "types.h" #include <boost/shared_ptr.hpp> +#include <boost/optional.hpp> #include <stdint.h> namespace dcp { @@ -28,7 +30,12 @@ class Image; class ColourConversion; extern boost::shared_ptr<ARGBFrame> xyz_to_rgba (boost::shared_ptr<const XYZFrame>, ColourConversion const & conversion); -extern void xyz_to_rgb (boost::shared_ptr<const XYZFrame>, ColourConversion const & conversion, uint16_t* buffer); +extern void xyz_to_rgb ( + boost::shared_ptr<const XYZFrame>, + ColourConversion const & conversion, + uint16_t* buffer, + boost::optional<NoteHandler> note = boost::optional<NoteHandler> () + ); extern boost::shared_ptr<XYZFrame> rgb_to_xyz (boost::shared_ptr<const Image>, ColourConversion const & conversion); extern boost::shared_ptr<XYZFrame> xyz_to_xyz (boost::shared_ptr<const Image>); |
