mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-22 23:33:07 +00:00
avfilter/afir_template: Remove unnecessary emms_c()
The floating point dsp code does not use MMX registers
since 2718a3be1f
.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
63bd0f4ce8
commit
af1bf96138
@ -318,7 +318,6 @@ static int fn(fir_quantum)(AVFilterContext *ctx, AVFrame *out, int ch, int ioffs
|
|||||||
#else
|
#else
|
||||||
s->fdsp->vector_dmul_scalar(src + input_offset, in, dry_gain, FFALIGN(nb_samples, 8));
|
s->fdsp->vector_dmul_scalar(src + input_offset, in, dry_gain, FFALIGN(nb_samples, 8));
|
||||||
#endif
|
#endif
|
||||||
emms_c();
|
|
||||||
} else {
|
} else {
|
||||||
ftype *src2 = src + input_offset;
|
ftype *src2 = src + input_offset;
|
||||||
for (int n = 0; n < nb_samples; n++)
|
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
|
#else
|
||||||
s->fdsp->vector_dmul_scalar(ptr, ptr, wet_gain, FFALIGN(nb_samples, 8));
|
s->fdsp->vector_dmul_scalar(ptr, ptr, wet_gain, FFALIGN(nb_samples, 8));
|
||||||
#endif
|
#endif
|
||||||
emms_c();
|
|
||||||
} else {
|
} else {
|
||||||
for (int n = 0; n < nb_samples; n++)
|
for (int n = 0; n < nb_samples; n++)
|
||||||
ptr[n] *= wet_gain;
|
ptr[n] *= wet_gain;
|
||||||
|
Loading…
Reference in New Issue
Block a user