aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-07-31 21:58:44 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-08-05 19:02:16 +0200
commit763c501432267cc93a2812fdfcf21c50be03f720 (patch)
treecb1964e8c14b88aea85f844a17c965ae771fd94e /libavcodec
parent7bad2a61d8923ba2a55f4e1f3a5f8cb9b325af64 (diff)
downloadffmpeg-763c501432267cc93a2812fdfcf21c50be03f720.tar.gz
avcodec/fft-internal: Remove unused macros
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/fft-internal.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/fft-internal.h b/libavcodec/fft-internal.h
index 3bd5a1123d..cd809578ce 100644
--- a/libavcodec/fft-internal.h
+++ b/libavcodec/fft-internal.h
@@ -36,8 +36,6 @@
#else /* FFT_FLOAT */
-#define SCALE_FLOAT(a, bits) lrint((a) * (double)(1 << (bits)))
-
#if FFT_FIXED_32
#define CMUL(dre, dim, are, aim, bre, bim) do { \
@@ -50,8 +48,6 @@
(dim) = (int)(((accu) + 0x40000000) >> 31); \
} while (0)
-#define FIX15(a) av_clip(SCALE_FLOAT(a, 31), -2147483647, 2147483647)
-
#endif /* FFT_FIXED_32 */
#endif /* FFT_FLOAT */