diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-12-20 14:14:07 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-08 00:35:29 +0100 |
| commit | d39880eef211a296fa8ef4712cdef5945d08527c (patch) | |
| tree | 45dce8f3e1fd599ca76677e31eee2a71c9a4fbc1 /src/rgb_xyz.h | |
| parent | 75faebaf1d74e2b52360905e94e9f5bf31c34124 (diff) | |
std::shared_ptr
Diffstat (limited to 'src/rgb_xyz.h')
| -rw-r--r-- | src/rgb_xyz.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rgb_xyz.h b/src/rgb_xyz.h index 652f5522..60df612c 100644 --- a/src/rgb_xyz.h +++ b/src/rgb_xyz.h @@ -32,7 +32,7 @@ */ #include "types.h" -#include <boost/shared_ptr.hpp> +#include <memory> #include <boost/optional.hpp> #include <stdint.h> @@ -43,21 +43,21 @@ class Image; class ColourConversion; extern void xyz_to_rgba ( - boost::shared_ptr<const OpenJPEGImage>, + std::shared_ptr<const OpenJPEGImage>, ColourConversion const & conversion, uint8_t* rgba, int stride ); extern void xyz_to_rgb ( - boost::shared_ptr<const OpenJPEGImage>, + std::shared_ptr<const OpenJPEGImage>, ColourConversion const & conversion, uint8_t* rgb, int stride, boost::optional<NoteHandler> note = boost::optional<NoteHandler> () ); -extern boost::shared_ptr<OpenJPEGImage> rgb_to_xyz ( +extern std::shared_ptr<OpenJPEGImage> rgb_to_xyz ( uint8_t const * rgb, dcp::Size size, int stride, |
