diff options
| -rw-r--r-- | src/util.cc | 2 | ||||
| -rw-r--r-- | src/util.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/util.cc b/src/util.cc index 56bd1a7b..0ac3adc1 100644 --- a/src/util.cc +++ b/src/util.cc @@ -212,7 +212,7 @@ libdcp::xyz_to_rgb (opj_image_t* xyz_frame, shared_ptr<const GammaLUT> lut_in, s float colour_matrix[3][3]; - switch (exp.lut_type) { + switch (exp.matrix) { case Experimental::FRAUNHOFER: colour_matrix[0][0] = 3.24096989631653; colour_matrix[0][1] = -1.5373831987381; @@ -63,9 +63,9 @@ extern opj_image_t* decompress_j2k (uint8_t* data, int64_t size, int reduce); struct Experimental { - enum { + enum MatrixType { FRAUNHOFER, - } lut_type; + } matrix; double linear_rgb_shift; double linear_rgb_min; |
