libdcp
|
Conversion between RGB and XYZ. More...
#include "colour_conversion.h"
#include "compose.hpp"
#include "dcp_assert.h"
#include "openjpeg_image.h"
#include "piecewise_lut.h"
#include "rgb_xyz.h"
#include "transfer_function.h"
#include <cmath>
Go to the source code of this file.
Functions | |
template<class T > | |
void | rgb_to_xyz_internal (uint8_t const *rgb, T *&xyz_x, T *&xyz_y, T *&xyz_z, dcp::Size size, int stride, ColourConversion const &conversion) |
Variables | |
static constexpr auto | DCI_COEFFICIENT = 48.0 / 52.37 |
Conversion between RGB and XYZ.
Definition in file rgb_xyz.cc.