]> code.delx.au - pulseaudio/commit
volume: Add Orc-based optimised volume scaling
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 25 Oct 2010 16:59:08 +0000 (17:59 +0100)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Sat, 5 Mar 2011 09:08:28 +0000 (14:38 +0530)
commit4cd90d9e32ca9a23e3c0f7615974ea0c55ff3e49
tree07d205c5607ab454d55e7ec7b02a1262bccf4946
parent516dd169b493e37c8445cb68831529020272d0d5
volume: Add Orc-based optimised volume scaling

This adds volume scaling for 1- and 2-channel software volume scaling
using Orc. While testing the MMX and SSE backends on a Core2, I see an
~2x performance benefit over the hand-rolled MMX and SSE code. Since I
haven't been able to test on other architectures, the Orc code is only
used when MMX/SSE* is present. This can be changed in the future after
testing on AMD and ARM machines.
src/Makefile.am
src/daemon/main.c
src/pulsecore/cpu-orc.c [new file with mode: 0644]
src/pulsecore/cpu-orc.h [new file with mode: 0644]
src/pulsecore/svolume.orc [new file with mode: 0644]
src/pulsecore/svolume_orc.c [new file with mode: 0644]