gstreamer/gst/audioconvert
Petr Kulhavy ca7e31f80d audioconvert: optimize mask calculation
find_suitable_mask() had complexity O(n^2) on the number of bits.
For common case like 2-channel audio the mask was calculated in about 4k loop
cycles.

Optimize both n_bits_set() and find_suitable_mask() to O(n) where n is the
number of bits set in the mask.

https://bugzilla.gnome.org/show_bug.cgi?id=772864
2016-11-01 20:02:14 +02:00
..
.gitignore gst/audioconvert/gstaudioconvert.c: create channel conversion matrix when linking 2005-02-13 17:39:22 +00:00
gstaudioconvert.c audioconvert: optimize mask calculation 2016-11-01 20:02:14 +02:00
gstaudioconvert.h audio-converter: move audio converter to audio libs 2015-11-06 17:53:22 +01:00
Makefile.am audio-converter: move audio converter to audio libs 2015-11-06 17:53:22 +01:00
meson.build Add support for Meson as alternative/parallel build system 2016-08-20 11:09:51 +01:00
plugin.c audioconvert: fix build 2015-11-06 18:12:28 +00:00
plugin.h Fix FSF address 2012-11-03 23:05:09 +00:00