History

avfilter/af_acrossover: use fdsp for inverter

Paul B Mahol committed 5 years ago

Commit 6100a011 parent 263b98b1 file · +3 −3Browse files

Unified · Split

libavfilter/af_acrossover.c+3−3
@@ -367,9 +367,9 @@ static int filter_channels_## name(AVFilterContext *ctx, void *arg, int jobnr, i · 366 unmodified lines
367 for (int band = 0; band < ctx->nb_outputs && s->first_order; band++) { \367 for (int band = 0; band < ctx->nb_outputs && s->first_order; band++) { \
368 if (band & 1) { \368 if (band & 1) { \
369 type *dst = (type *)frames[band]->extended_data[ch]; \369 type *dst = (type *)frames[band]->extended_data[ch]; \
370 \370 s->fdsp->vector_## ff ##mul_scalar(dst, dst, -one, \
371 for (int n = 0; n < nb_samples; n++) \371 FFALIGN(nb_samples, sizeof(type))); \
372 dst[n] *= -one; \372 emms_c(); \
373 } \373 } \
374 } \374 } \
375 } \375 } \

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t