Cleanup: move some methods from util to maths_util.
[dcpomatic.git] / src / lib / util.cc
index 106a565413a965e838688b7d83af58fe8a6a6335..1984ed4766e58473285ae0d41d2fba85d4d51de7 100644 (file)
@@ -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)
 {