[Bug 772872] audioconvert: superfluous quantization when converting S24LE to S24LE causing extra CPU load

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Oct 13 16:20:11 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=772872

--- Comment #6 from Petr Kulhavy <brain at jikos.cz> ---
(In reply to Sebastian Dröge (slomo) from comment #5)
> So for "same format" we should never ever do any conversion.
> 
> For endianness-change-only, we should have a fast-path that does not first
> blow up the samples to 32/64 bits and then does quantization again just to
> swap the bytes.

Exactly, that's what I would expect. Plus the endian conversion should use the
__builtin_bswap() functions or similar to take the advantage of the hardware
(not sure if the there are instructions for 24-bit conversion though).

I will investigate more and propose a patch.

-- 
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