[Bug 773073] audioconvert: endian conversion optimization

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Oct 21 21:39:49 UTC 2016


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

Petr Kulhavy <brain at jikos.cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #338099|needs-work                  |none
             status|                            |
 Attachment #338099|0                           |1
        is obsolete|                            |

--- Comment #18 from Petr Kulhavy <brain at jikos.cz> ---
Created attachment 338215
  --> https://bugzilla.gnome.org/attachment.cgi?id=338215&action=edit
Patch for endian conversion fast-path - version 2

Here is a modified version of the endian conversion patch. It contains:

* 64-bit support
* assembly code removed
* added "clever algorithm" for 24-bits, which processes 3x 32-bit in one cycle.
Due to worse performance with -O3 I've put it into #if 0 section
* using GST_AUDIO_INFO_BPS(info)

I'm too unfamiliar with ORC to do the the ORC implementations. They need to
write dedicated conversion functions for 24 bits, which I don't know how to
write.

The next thing, which I believe would actually bringing more performance gain,
is to allow endian (and later also signed) conversion to run in place. I will
do this in a separate 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