summaryrefslogtreecommitdiff
path: root/src/lib/util.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-01-24 22:26:59 +0100
committerCarl Hetherington <cth@carlh.net>2022-01-25 19:44:56 +0100
commit07befde2cbbad4d979631727fc35399164d0aa1c (patch)
treefbc537ff6789d8aabe71e69b4055daf302527cd1 /src/lib/util.cc
parentdadde92543ee5039d2dc869c698fcde7ffac5f4b (diff)
Cleanup: move some methods from util to maths_util.
Diffstat (limited to 'src/lib/util.cc')
-rw-r--r--src/lib/util.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc
index 106a56541..1984ed476 100644
--- a/src/lib/util.cc
+++ b/src/lib/util.cc
@@ -1141,20 +1141,6 @@ copy_in_bits (boost::filesystem::path from, boost::filesystem::path to, std::fun
}
-double
-db_to_linear (double db)
-{
- return pow(10, db / 20);
-}
-
-
-double
-linear_to_db (double linear)
-{
- return 20 * log10(linear);
-}
-
-
dcp::Size
scale_for_display (dcp::Size s, dcp::Size display_container, dcp::Size film_container, PixelQuanta quanta)
{