[FFmpeg-devel] [PATCH 05/13] avfilter/afir_template: Remove unnecessary emms_c()
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Fri Sep 1 01:22:27 EEST 2023
The floating point dsp code does not use MMX registers
since 2718a3be1f8867fd4f6cb3f452d6917838b1ed88.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
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;
--
2.34.1
More information about the ffmpeg-devel
mailing list