libdcp
Namespaces | Functions
rgb_xyz.h File Reference

Conversion between RGB and XYZ. More...

#include "types.h"
#include <memory>
#include <boost/optional.hpp>
#include <stdint.h>

Go to the source code of this file.

Namespaces

 dcp
 Namespace for everything in libdcp.
 

Functions

void dcp::xyz_to_rgba (std::shared_ptr< const OpenJPEGImage >, ColourConversion const &conversion, uint8_t *rgba, int stride)
 
void dcp::xyz_to_rgb (std::shared_ptr< const OpenJPEGImage >, ColourConversion const &conversion, uint8_t *rgb, int stride, boost::optional< NoteHandler > note=boost::optional< NoteHandler >())
 
std::shared_ptr< OpenJPEGImage > dcp::rgb_to_xyz (uint8_t const *rgb, dcp::Size size, int stride, ColourConversion const &conversion, boost::optional< NoteHandler > note=boost::optional< NoteHandler >())
 
void dcp::combined_rgb_to_xyz (ColourConversion const &conversion, double *matrix)
 

Detailed Description

Conversion between RGB and XYZ.

Definition in file rgb_xyz.h.