[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:06:55 UTC 2016


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

--- Comment #4 from Petr Kulhavy <brain at jikos.cz> ---
(In reply to Nicolas Dufresne (stormer) from comment #1)
> So you are saying that the data is still passed through the converter even
> though the format is the same ? I would have expected passthrough to be
> enabled, the rest is not relevant, since it should not have happened.

Yes that's what I mean and it's not a typo :-)
One would expect no conversion and no extra CPU at all, 
but the data is passed through conversion even if in-format==out-format.

Here is a bit more from my investigation, all using the same test pipeline
described above, just changing the input and output format string:

* S16LE -> S16LE: 21% CPU
* S24LE -> S24LE: 25% CPU
* S32LE -> S32LE: 21% CPU
* no conversion (i.e. remove the audioconvert and the second format
description): 19% CPU

And for comparison BE->LE conversion: in all three cases 27% CPU.
That is IMHO also too much and I will come to that once I understand more
what's going on there ...

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