[FFmpeg-cvslog] avfilter/afir_template: Remove unnecessary emms_c()

Andreas Rheinhardt git at videolan.org
Mon Sep 4 12:19:02 EEST 2023


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Thu Aug 31 21:12:26 2023 +0200| [af1bf96138919ede327adbed7760ef178a6a0616] | committer: Andreas Rheinhardt

avfilter/afir_template: Remove unnecessary emms_c()

The floating point dsp code does not use MMX registers
since 2718a3be1f8867fd4f6cb3f452d6917838b1ed88.

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

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

 libavfilter/afir_template.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libavfilter/afir_template.c b/libavfilter/afir_template.c
index 099fda2520..9a11ec2fa6 100644
--- a/libavfilter/afir_template.c
+++ b/libavfilter/afir_template.c
@@ -318,7 +318,6 @@ static int fn(fir_quantum)(AVFilterContext *ctx, AVFrame *out, int ch, int ioffs
 #else
             s->fdsp->vector_dmul_scalar(src + input_offset, in, dry_gain, FFALIGN(nb_samples, 8));
 #endif
-            emms_c();
         } else {
             ftype *src2 = src + input_offset;
             for (int n = 0; n < nb_samples; n++)
@@ -385,7 +384,6 @@ static int fn(fir_quantum)(AVFilterContext *ctx, AVFrame *out, int ch, int ioffs
 #else
         s->fdsp->vector_dmul_scalar(ptr, ptr, wet_gain, FFALIGN(nb_samples, 8));
 #endif
-        emms_c();
     } else {
         for (int n = 0; n < nb_samples; n++)
             ptr[n] *= wet_gain;



More information about the ffmpeg-cvslog mailing list