61 Commits

Author SHA1 Message Date
Christopher Snowhill
b5504dda99
Implement sinc kaiser NEON function (#13452) 2022-01-08 04:21:51 +01:00
twinaphex
6d1c0e96a3 Simplify sinc NEON code 2021-09-04 00:35:45 +02:00
Autechre
9a5f4602cc
Add intrinsic NEON versions for float_to_s16/s16_to_float (#12933)
* Add intrinsic NEON versions for float_to_s16/s16_to_float courtesy
of davidgfnet

* Define -DDONT_WANT_ARM_OPTIMIZATIONS for resampler sinc - this should
default to intrinsic versions

* Default to ARM NEON intrinsic codepath and make the ASM codepaths
optional by defining HAVE_ARM_NEON_ASM_OPTIMIZATIONS

* (Pkg/apple/Android) Take out ASM files being compiled in
2021-09-04 00:25:21 +02:00
twinaphex
9a97eb47ad Fix typos 2021-08-21 19:11:21 +02:00
twinaphex
ca26e50050 (sinc) Add non-ASM ARM NEON intrinsics codepath for Sinc resampler 2021-08-21 18:52:20 +02:00
twinaphex
b620325714 Rename HAVE_ARM_NEON_OPTIMIZATIOn to HAVE_ARM_NEON_ASM_OPTIMIZATIONS,
rename DONT_WANT_ARM_OPTIMIZATIONS to DONT_WANT_ARM_NEON_OPTIMIZATIONS
2021-08-21 18:00:59 +02:00
twinaphex
6223ba47fd Bring back these tiny optimizations from foobar2k 2021-08-15 22:54:21 +02:00
twinaphex
1906a741c2 Rollback sinc resampler changes - themaister wasn't sure if these were
actual optimizations
2021-08-15 22:45:59 +02:00
twinaphex
3f00d2f041 (Resampler) Cleanups 2021-06-22 01:14:32 +02:00
twinaphex
7492f5d60c Revert "Add HAVE_GRIFFIN fallback for now"
This reverts commit dc50ff584ed38c2fc8a2de6e0fc9eb7b31f6da73.
2021-06-11 12:05:59 +02:00
twinaphex
bd9c35d379 Revert "Rollback changes for now until we can get this compiling on MSVC 2005 on"
This reverts commit 08481e2a6885e738f2df0553534ddb3d51c63394.
2021-06-11 12:05:48 +02:00
twinaphex
08481e2a68 Rollback changes for now until we can get this compiling on MSVC 2005 on
the commandline (it builds with the VS solution file but not CLI)
2021-06-09 16:39:43 +02:00
twinaphex
dc50ff584e Add HAVE_GRIFFIN fallback for now 2021-06-09 16:33:32 +02:00
Autechre
74d85e3269
Backport optimizations from foobar2K 2021-06-09 06:05:14 +02:00
twinaphex
c01df07f3d Fix ARM NEON detection 2021-02-16 23:02:06 +01:00
twinaphex
a2a58147e7 Update libretro-common 2020-10-31 06:22:10 +01:00
twinaphex
0ad9175d77 (sinc resampler) We don't need to keep fetching these variables
within this inner loop
2020-10-03 21:20:32 +02:00
twinaphex
f48dc0ff5b Reorder structs, alignment 2020-08-15 20:38:31 +02:00
twinaphex
023fd4f330 Alignment changes 2020-08-14 18:19:57 +02:00
twinaphex
69756ebd93 Add HAVE_NEAREST_RESAMPLER ifdef 2020-06-30 21:45:05 +02:00
twinaphex
1ae20ea17c Style nits - turn macro names into upper-case - some while style nits 2020-06-26 20:00:19 +02:00
twinaphex
fa50695b89 Cleanups 2020-06-26 19:25:53 +02:00
twinaphex
dce610747b Update audio resampler 2020-02-07 07:53:23 +01:00
twinaphex
5ff4ee96e4 (Resampler) More buildfixes 2020-02-03 03:33:50 +01:00
twinaphex
e1603c0f44 (Resampler) Cleanups 2020-02-03 01:59:24 +01:00
twinaphex
076fddd9d9 (Resampler) Turn this void 2020-02-03 00:16:16 +01:00
twinaphex
cd9ca691ca (libretro-common) Update copyright 2020-01-31 15:43:42 +01:00
twinaphex
261f1b72d4 Remove separate null_resampler.c file and move it into audio_resampler.c 2020-01-07 23:03:23 +01:00
twinaphex
d88e37a2f1 (Audio resampler/Sinc) Don't do kaiser window check inside hot loop 2020-01-03 22:12:11 +01:00
twinaphex
836fb17d0d (libretro-common) Update libretro-common 2019-10-17 01:48:41 +02:00
twinaphex
660d0c8de9 Remove mutexes - should hopefully fix dolphin/reicast threaded
again
2019-02-12 03:55:08 +01:00
Themaister
5e7513ad60 Sinc: memset the resampler buffer.
No idea how this survived asan and valgrind over these years ...
2019-02-05 23:35:39 +01:00
orbea
28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
Brad Parker
90db5e7e27 Implement in-menu sound effects 2019-01-27 11:22:16 -05:00
twinaphex
a6941fb4ed Initial work done on VS2017 solution for Android 2018-08-14 16:02:31 +02:00
twinaphex
768ebbfdb5 Merge commit 'ce9ce1d35387ef8144e53bf071396fa075bfb6c5' as 'libretro-common' 2018-05-12 17:56:34 +02:00
twinaphex
0548349991 Remove libretro-common 2018-05-12 17:56:14 +02:00
twinaphex
be7eb4de1c Update libretro-common 2018-04-16 08:57:17 +02:00
twinaphex
f10b60f14f Don't use NEON codepaths for iOS - ever since arm64 this has become
problematic
2018-01-24 07:40:09 +01:00
twinaphex
634da308aa Cleanups 2018-01-24 05:40:53 +01:00
Alcaro
7fd4d5013d C89 2017-12-31 23:46:11 +01:00
twinaphex
b9248cf3af Start preparing runtime toggleable resampler quality settings 2017-12-31 20:55:26 +01:00
twinaphex
0dd2f075fe Refactor sinc resampler so that we can set resampler quality
at runtime
2017-12-31 20:40:04 +01:00
twinaphex
3090e85064 Refactor sinc_resampler.c 2017-12-31 18:23:27 +01:00
gblues
6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex
7cf1793801 Silence some static code analysis warnings 2017-10-11 21:46:18 +02:00
twinaphex
b610d034ae (sinc_resampler.c) Cut down on ifdef party 2017-06-07 03:09:23 +02:00
twinaphex
34b5d0025b Get rid of implicit declaration warnings 2017-06-07 03:02:50 +02:00
aliaspider
47d0cb053e fix resampler_sinc_process_c. 2017-05-20 23:12:56 +01:00
twinaphex
4ed3e750d4 sinc_resampler - cleanups - set process function pointer
dynamically
2017-05-20 14:46:53 +02:00