gstreamer/gst-libs/gst
Petr Kulhavy 010b9547d3 audio-converter: optimize endian conversion
Optimize LE<->BE conversion by adding a dedicated fast path instead of
using the generic converter. Implement transform_ip function in order to do the
endian swap in place.

This saves buffer allocation for the intermediate format, can be done in place
and also performs the conversion in one step instead of unpack-convert-pack.

For all bit widths the naive algorithm is implemented, which provides the best
performance when compiled with -O3. ORC was considered but eventually removed
as it requires a dedicated function for in-place conversion (due to the
"restrict" parameters).

A more complex algorithm for the 24-bit conversion with unrolled loop and
32-bit processing is implemented in the #if 0 section. It performs better if
compiled with -O2. With -O3 however the naive algorithm performs better.

https://bugzilla.gnome.org/show_bug.cgi?id=773073
2016-11-28 17:24:17 +02:00
..
allocators gstfdmemory: log with GST_INFO instead of GST_ERROR on permission denied 2016-11-21 21:22:47 +00:00
app appsink: fix g-i warnings and add since markers 2016-11-15 18:38:48 +00:00
audio audio-converter: optimize endian conversion 2016-11-28 17:24:17 +02:00
fft meson: Generate girs 2016-11-09 18:06:19 -03:00
pbutils discoverer: Extract video information from caps manually without GstVideoInfo 2016-11-28 10:12:49 +02:00
riff riff-media: Check if caps are NULL before using them for the first time, not afterwards 2016-11-26 13:54:41 +02:00
rtp rtpbuffer: Fix ensure_buffers() if whole packet is in one GstMemory 2016-11-25 13:15:24 +02:00
rtsp rtspdefs: Assert on the excepted MD5 digest string length 2016-11-23 18:26:29 +02:00
sdp mikey: Generate the correct SRTP policy 2016-11-23 17:44:29 +01:00
tag tag: fix some warnings in mklicensestables 2016-11-23 10:20:04 +02:00
video video-info: Add unit test for overflow checks 2016-11-24 15:40:22 +02:00
gettext.h Fix FSF address 2012-11-03 23:05:09 +00:00
glib-compat-private.h Fix FSF address 2012-11-03 23:05:09 +00:00
gst-i18n-app.h tools: add simple command-line gst-play utility for testing purposes 2013-08-16 15:45:23 +01:00
gst-i18n-plugin.h Fix FSF address 2012-11-03 23:05:09 +00:00
Makefile.am rtp: build audio library before rtp 2016-02-16 17:42:44 +02:00
meson.build rtsp: Include GstSdp-1.0.gir when generating the gir 2016-11-10 17:43:38 -03:00