Chris Robinson
aef774a7a0
Handle the source offset fraction as an ALsizei
2017-04-08 14:29:08 -07:00
Chris Robinson
0324712540
Put BsincState in a generic union
2017-02-13 11:29:32 -08:00
Chris Robinson
325a49975a
Use ALsizei and ALint for sizes and offsets with resamplers and filters
2017-01-16 08:54:30 -08:00
Chris Robinson
76cd6797b7
Add some more 'restrict' keywords
2016-10-06 01:39:18 -07:00
rdb
b0224485aa
Fix placement of alignas - fixes Mac OS X build
2016-05-03 05:38:36 -04:00
Chris Robinson
b9e192b78a
Implement a band-limited sinc resampler
...
This is essentially a 12-point sinc resampler, unless it's resampling to a rate
higher than the output, at which point it will vary between 12 and 24 points
and do anti-aliasing to avoid/reduce frequencies going over nyquist.
Code provided by Christopher Fitzgerald.
2015-11-05 09:42:08 -08:00
Chris Robinson
90349b384f
Use the correct position in the SSE resamplers for left-over processing
2015-10-25 14:07:58 -07:00
Chris Robinson
c4ba9d21dc
Use the correct array indices for SSE register components
...
SSE uses reverse ordering, such that component 0 is the last in memory.
_mm_load_* and _mm_loadu_*, and the corresponding stores, do not change the
memory ordering.
2015-10-17 09:59:26 -07:00
Chris Robinson
0211831858
Move the FIR4 from SSE2 to SSE3
...
SSE3 can avoid the slow _MM_TRANSPOSE_PS4 call thanks to the inclusion of
horizontal adds.
2015-10-11 06:38:00 -07:00
Chris Robinson
75d8e5989f
Slightly improve the FIR4 SSE resamplers
2015-10-11 05:31:14 -07:00
Chris Robinson
dc10e56bab
Implement a 6-point sinc-lanczos filter
2015-09-29 20:39:12 -07:00
Chris Robinson
ab6622a8d6
Replace the cubic resampler with a 4-point sinc/lanczos filter
2015-09-27 23:57:25 -07:00
Chris Robinson
c48a6196ad
Constify some variables
2014-12-16 09:20:35 -08:00
Chris Robinson
1b7c554068
Multiply samples with the cubic coeffs before transposing
...
This avoids having to transpose the cubic coefficients.
2014-12-15 17:13:31 -08:00
Chris Robinson
a0e7ad493b
Load samples with _mm_loadu_ps in the cubic SSE resamplers
2014-12-15 15:27:31 -08:00
Chris Robinson
177dd95686
Add SSE2 and SSE4.1 cubic resamplers
2014-12-15 13:58:41 -08:00
François Cami
3c13e1e333
Update COPYING to the latest https://www.gnu.org/licenses/old-licenses/lgpl-2.0.txt to fix the FSF' address Fix the FSF' address in the source
2014-08-18 11:34:29 -07:00
Chris Robinson
2ff266ca83
Update a couple sources with the proper author
2014-06-06 07:15:22 -07:00
Chris Robinson
6d1622dc68
Move InitiatePositionArrays to mixer_defs.h
2014-06-06 07:15:22 -07:00
Timothy Arceri
fc0be88c0f
Add SSE2 and SSE4.1 linear resamplers
...
Currently the only way SSE 4.1 is detected is by using __get_cpuid, i.e. with
GCC. Windows' IsProcessorFeaturePresent does not report SSE4.1 capabilities.
2014-06-06 07:15:00 -07:00