diff mbox series

[FFmpeg-devel,02/10] avcodec/fft-internal: Remove unused macros

Message ID AM7PR03MB66602FC5C1CE06562CDF4D8A8FEF9@AM7PR03MB6660.eurprd03.prod.outlook.com
State Accepted
Commit 763c501432267cc93a2812fdfcf21c50be03f720
Headers show
Series [FFmpeg-devel,01/10] avcodec/mips/constants: Include intfloat.h in constants.h
Related show

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Andreas Rheinhardt Aug. 2, 2021, 3:39 p.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/fft-internal.h | 4 ----
 1 file changed, 4 deletions(-)
diff mbox series

Patch

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 */