summaryrefslogtreecommitdiff
path: root/src/lib/util.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-08-03 00:00:39 +0100
committerCarl Hetherington <cth@carlh.net>2012-08-03 00:00:39 +0100
commit894f567beaabb43cf96651e61c29d04f3e02ae50 (patch)
treedb7fa032270d88fabfe0e4819e48ab2e68a93150 /src/lib/util.cc
parentbd540e569b65e4949aac80b988bfa421a0be90e6 (diff)
A bit of tidying up; don't build player ever for now; add -c option to makedcp to output configuration information.
Diffstat (limited to 'src/lib/util.cc')
-rw-r--r--src/lib/util.cc17
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 "";
+}
+
+
+