[Bug 773073] audioconvert: endian conversion optimization
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Oct 20 17:37:39 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=773073
--- Comment #7 from Petr Kulhavy <brain at jikos.cz> ---
(In reply to Sebastian Dröge (slomo) from comment #5)
> You might be able to get something more optimal if you unroll the loop. 4 *
> 24 bits are 3 * 32 bits, so the pattern of operations repeats every 4
> samples if you handle them as if they were 32 bit integers. Worth
> experimenting with that.
Thanks, I was thinking of that as well. Have it already more or less on paper.
Just the gcc assembly analysing takes time... ;-)
> > 2) The base transform class still allocates buffers for audioconvert, which
> > is no longer needed. How can I tell it the conversion can be done in place
> > and no output buffer is needed?
>
> You need to enable in place transformation for that:
> gst_base_transform_set_in_place().
Thanks for the hint!
--
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