[Bug 773073] audioconvert: endian conversion optimization
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sun Oct 23 10:53:02 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=773073
Petr Kulhavy <brain at jikos.cz> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #338215|needs-work |none
status| |
Attachment #338215|0 |1
is obsolete| |
--- Comment #22 from Petr Kulhavy <brain at jikos.cz> ---
Created attachment 338283
--> https://bugzilla.gnome.org/attachment.cgi?id=338283&action=edit
Patch for endian conversion fast-path - version 3
The third version of the endian fast-path patch.
Modifications:
* implemented transform_ip() method for GstAudioConvert object and
gst_base_transform_set_in_place()
* use G_BYTE_ORDER == G_BIG_ENDIAN
* GST_AUDIO_FORMAT_IS_ENDIAN_CONVERSION is now private
* gst_audio_converter_new now has an additional parameter in_place
Now the endian conversion is done in place and performs far better. No extra
buffers are allocated and in most cases the buffer handling fits into the data
cache. In the remaining cases the CPU usage is 4% lower than without this
patch.
Still without ORC as I need to find out how to generate the
gstaudiopack-dist.c.
--
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