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

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Mon Aug 2 18:39:07 EEST 2021


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavcodec/fft-internal.h | 4 ----
 1 file changed, 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 */
-- 
2.30.2



More information about the ffmpeg-devel mailing list