diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-04-15 12:56:42 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-04-15 12:56:42 +0100 |
| commit | 32b4a5cb0a353c5882591e5f7a93a3b013da4061 (patch) | |
| tree | 7dfca2a98312e8857dc63da0eca893cadad633de | |
| parent | 097bd1acc473501062e488c323478bd9143b5716 (diff) | |
Tweak name.thomas-experimental
| -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; |
