projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
A bit of tidying up; don't build player ever for now; add -c option to makedcp to...
[dcpomatic.git]
/
src
/
lib
/
util.cc
diff --git
a/src/lib/util.cc
b/src/lib/util.cc
index 1ab8c1e65b53fd82946a5868d9d5ddc8f84d532f..1478bab2e52dca65bab8631e59f3cd3cae6a1c9b 100644
(file)
--- 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 "";
+}
+
+
+