40 #include "piecewise_lut.h"
42 #include <boost/optional.hpp>
51 class ColourConversion;
70 std::shared_ptr<const OpenJPEGImage>,
71 ColourConversion
const & conversion,
87 std::shared_ptr<const OpenJPEGImage>,
91 boost::optional<NoteHandler> note = boost::optional<NoteHandler> ()
95 extern PiecewiseLUT2 make_inverse_gamma_lut(std::shared_ptr<const TransferFunction> fn);
119 extern std::shared_ptr<OpenJPEGImage>
rgb_to_xyz (
A representation of all the parameters involved the colourspace conversion of a YUV image to XYZ (via...
Namespace for everything in libdcp.
void combined_rgb_to_xyz(ColourConversion const &conversion, double *matrix)
void xyz_to_rgb(std::shared_ptr< const OpenJPEGImage >, ColourConversion const &conversion, uint8_t *rgb, int stride, boost::optional< NoteHandler > note=boost::optional< NoteHandler >())
void rgb_to_xyz(uint8_t const *rgb, uint16_t *dst, dcp::Size size, int stride, ColourConversion const &conversion)
void xyz_to_rgba(std::shared_ptr< const OpenJPEGImage >, ColourConversion const &conversion, uint8_t *rgba, int stride)
The integer, two-dimensional size of something.