Timo Wischer
bb99e09b99
memops: Provide function for float to S32 conversion
Due to inlining and enabled optimization the compiler will not create
machine instructions for the if-clauses and left shift for
sample_move_dS_s32s() and sample_move_dS_s32().
Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
6 years ago
Timo Wischer
b4ea23df6a
memops: Align S24LE and S32LE to float conversion
Due to the optimization of the compiler this commit does not introduce any
differences in the machine instructions.
Tested with GCC version 6.2.0 on ARM64 and x86_64.
Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
6 years ago
Timo Wischer
244fc27e29
memops: Provide function for S32 to float conversion
Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
6 years ago
Timo Wischer
4455fe020c
memops: Align float to S24LE and S32LE conversion
Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
6 years ago
Timo Wischer
a82f3f2fb4
memops: Remove not used conversion macros
Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
6 years ago
Timo Wischer
e753254313
memops: Use right-aligned S24LE to float conversion
ALSA expects right-aligned samples (0x00******) as mentioned in the
source code for SND_PCM_FORMAT_S24_LE:
Signed 24 bit Little Endian using low three bytes in 32-bit word
See http://git.alsa-project.org/?p=alsa-
lib.git;a=blob;f=include/pcm.h;h=5b0782315585de1d5ab82c9f2036b62c168f5a48;hb=HEAD#l140
Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
6 years ago
Timo Wischer
831163e516
memops: Use right-aligned float to S24LE conversion
ALSA expects right-aligned samples (0x00******) as mentioned in the
source code for SND_PCM_FORMAT_S24_LE:
Signed 24 bit Little Endian using low three bytes in 32-bit word
See http://git.alsa-project.org/?p=alsa-
lib.git;a=blob;f=include/pcm.h;h=5b0782315585de1d5ab82c9f2036b62c168f5a48;hb=HEAD#l140
Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
6 years ago
twischer-adit
04bdd8a635
arm64: Enable simd implementations ( #398 )
GCC defines __ARM_NEON__ for asimd on ARMv7 and __ARM_NEON for simd on
ARMv8. Therefore also check for __ARM_NEON.
Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
6 years ago
Hunter Allen
31d4ae97f2
Fixed a compiler warning in the memops.c file. ( #267 )
8 years ago
Andreas Müller
77bb8be12e
Add ARM-NEON acceleration for all non-dithering sample conversion functions
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
8 years ago
Andreas Müller
0279a2d65a
fix copy & paste bug on dither rambdom generator ( #246 )
a leading 1 was missing [1]
[1] http://www.musicdsp.org/showone.php?id=59
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
8 years ago
Adrian Knoth
d3c8e2d8d7
Fix FTBFS with clang++
Forwarded from http://bugs.debian.org/757820
10 years ago
Valentin David
967e913896
Fix sample_move_d24_sS when using SSE4.1
11 years ago
sletz
fb17e32bd3
Gabriel Beddingfield patch (r4541) reverted.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4553 0c269be4-1314-0410-8aa9-9f06e86f4224
13 years ago
sletz
7ac5f1ce02
Gabriel Beddingfield patch for ALSA driver: error when source is non-native byte-order float.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4541 0c269be4-1314-0410-8aa9-9f06e86f4224
13 years ago
sletz
224c41eb59
rebase from trunk 3638:3684
git-svn-id: http://subversion.jackaudio.org/jack/jack2/branches/libjacknet@3685 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
sletz
fca7791b0e
Tim Bechmann SSE 4.1 memops.c optimization patch.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3646 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
sletz
5d29fcff36
rebase from trunk 3613:3638
git-svn-id: http://subversion.jackaudio.org/jack/jack2/branches/libjacknet@3639 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
sletz
00e07fd3ba
Big endian bug fix in memops.c ( http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=11_be24bit.patch;att=1;bug=486308 )
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3636 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
sletz
187a3aedfa
rebase from trunk 3563:3613
git-svn-id: http://subversion.jackaudio.org/jack/jack2/branches/libjacknet@3614 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
sletz
22ee2f67e9
Another Tim Bechmann memops.c optimization patch.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3574 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
sletz
304060be4a
Add missing #endif.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3573 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
sletz
ea637a5223
Tim Bechmann memops.c optimization patch.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3572 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
sletz
b63e6a8feb
rebase from trunk 3401:3420
git-svn-id: http://subversion.jackaudio.org/jack/jack2/branches/libjacknet@3421 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
sletz
8badda0aa9
Tim Blechmann patch : sample order bug in SSE code.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3416 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
sletz
32987ca1d2
Merge Solaris branch back on trunk.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3306 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
sletz
8ebf5c800c
For ALSA driver, synchronize with latest jack1 memops functions.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3213 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
sletz
f19b74f904
Header cleanup, add --clients and --ports options in configure.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2957 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
sletz
2ad999fee6
Florian Faber patch for 32 bit float (LE only) support to jack's alsa driver.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2738 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
nedko
b5bd3afb28
Add conditional includes for config.h, for use with waf
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2423 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
sletz
40d1ad3315
Synchronize ALSA backend with jack one
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1276 0c269be4-1314-0410-8aa9-9f06e86f4224
18 years ago
sletz
73e2d7a6d3
First import
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1195 0c269be4-1314-0410-8aa9-9f06e86f4224
18 years ago