summaryrefslogtreecommitdiff
path: root/src/colour.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-12-01 22:44:38 +0100
committerCarl Hetherington <cth@carlh.net>2022-12-03 10:12:52 +0100
commit032e484a267da1262803297a96f23420f01a65c8 (patch)
tree7d196ce81955dbd70e6324f2b09744c557defb33 /src/colour.h
parent08fa1aa2bc718635c3ae0f991800c6c6cfd62a2b (diff)
Remove DCP subtitle support.v1.6.41
This was only a thin wrapper around libdcp, used by videocon but not by DCP-o-matic. It seems very unlikely that anybody else will want it, and the dependency of libsub on libdcp causes hassle that will be gladly avoided.
Diffstat (limited to 'src/colour.h')
-rw-r--r--src/colour.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/colour.h b/src/colour.h
index f3a4964..65660a5 100644
--- a/src/colour.h
+++ b/src/colour.h
@@ -24,7 +24,6 @@
#ifndef LIBSUB_COLOUR_H
#define LIBSUB_COLOUR_H
-#include <dcp/types.h>
#include <string>
#include <cmath>
@@ -57,10 +56,6 @@ public:
float g;
/** blue component (from 0 to 1) */
float b;
-
- dcp::Colour dcp() const {
- return dcp::Colour(lrintf(r * 255), lrintf(g * 255), lrintf(b * 255));
- }
};
bool