[Bug 636562] SSE misalignment removal in "audioresample"

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Aug 10 08:08:51 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=636562
  GStreamer | gst-plugins-base | 0.10.30

Vincent Penquerc'h <vincent.penquerch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vincent.penquerch at collabora
                   |                            |.co.uk

--- Comment #6 from Vincent Penquerc'h <vincent.penquerch at collabora.co.uk> 2011-08-10 15:08:47 UTC ---
Still no changes in the speex resampler.
Attached is a patch to use the SSE code when running on a SSE machine.
It's SSE specific, but SSE seems to be the only special case for those larger
functions.
The switch is also hidden through macros, which keeps the code tidy and clear,
but which might offend someone's sense of style :P

Rough timings in seconds for decoding some Ogg/Vorbis file and resampling it
twice before going to fakesink:

before: 32.2
after, with SSE functions empty: 6.58
after, with SSE functions enabled: 14.5
after, with SSE functions disabled: 31.2

I don't have a machine without SSE, so I'm not totally sure it's going to work
on one, testing by someone with one would be nice. Also on a different arch,
just in case.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list