mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
ca7e31f80d
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 |
||
---|---|---|
.. | ||
.gitignore | ||
gstaudioconvert.c | ||
gstaudioconvert.h | ||
Makefile.am | ||
meson.build | ||
plugin.c | ||
plugin.h |