[FFmpeg-cvslog] avcodec/fft-internal: Remove unused macros

Andreas Rheinhardt git at videolan.org
Thu Aug 5 21:41:00 EEST 2021


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sat Jul 31 21:58:44 2021 +0200| [763c501432267cc93a2812fdfcf21c50be03f720] | committer: Andreas Rheinhardt

avcodec/fft-internal: Remove unused macros

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=763c501432267cc93a2812fdfcf21c50be03f720
---

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



More information about the ffmpeg-cvslog mailing list