Niklas Carlsson
7785f61677
audioconvert: align low-/highpass calculations
...
The current biquad calculations are based on RBJ's cookbook [1],
except for low-/highpass. Since the filter configuration is also
based on using the definition of Q, it makes sense to also align
the remaining calculations to use the same filter cookbook instead
of using resonance which doesn't result in the same coefficients
as when using Q.
[1] = https://www.w3.org/TR/audio-eq-cookbook/
2024-12-20 11:03:43 +01:00
Wim Taymans
0a0b1d594b
audioconvert: use the same biquad as filter-chain
2024-11-27 16:47:53 +01:00
Wim Taymans
ad84c45c0c
audioconvert: optimize lr4 handling
...
Make an SSE optimized LR4 function and one that handles 2 LR4s in
parallel.
2024-10-15 12:20:04 +02:00
Wim Taymans
1ae4374ccf
Fix compilation with -Werror=float-conversion
...
Better make the conversions explicit so that we don't get any surprises.
Fixes #4065
2024-06-18 12:17:56 +02:00
Wim Taymans
419517fd55
audioconvert: build C versions with -Ofast and -ffast-math
...
Move resampler implementations to a -c version.
Compile some of the functions with other flags to make them more
optimized.
2022-07-14 10:07:07 +02:00
Peter Hutterer
5cf3c28fa4
config.h is a local header, not a system one
...
Change the #include accordingly, that's what we use in the rest of the tree
too.
2021-06-10 09:04:16 +10:00
Peter Hutterer
da339c286f
meson.build: drop HAVE_CONFIG_H
...
This is an autotools leftover, with meson we're always guaranteed to have
the config.h file.
2021-06-10 09:04:16 +10:00
Wim Taymans
14e8073d18
audioconvert: add LFE filter
...
Use a lowpass filter to generate LFE from the stereo channels.
2021-03-17 11:28:40 +01:00