diff options
Diffstat (limited to 'src/lib/util.cc')
| -rw-r--r-- | src/lib/util.cc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc index 1ab8c1e65..1478bab2e 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -503,3 +503,20 @@ bool operator!= (Crop const & a, Crop const & b) { return !(a == b); } + +string +colour_lut_index_to_name (int index) +{ + switch (index) { + case 0: + return "sRGB"; + case 1: + return "Rec 709"; + } + + assert (false); + return ""; +} + + + |
