GNOME Bugzilla – Bug 705986
audioconvert/audioresample: Add support for non-interleaved audio formats
Last modified: 2018-07-11 13:45:20 UTC
+++ This bug was initially created as a clone of Bug #705977 +++ With the upgrade of libav, support for S16 and planar conversions were removed internally and gst-libav now receives the raw planar F32 samples. For AAC, gst-libav converts the planar F32 samples to interleaved and then audioconvert converts the F32 samples to S16. This is a lot less efficient than the tight single conversion loop that was previously used. We should: - let the audio decoder render planar samples directly into the output buffer - make gst-libav output planar formats - add support for planar formats in audioconvert and possibly other elements that could be used in a typical playbin pipeline
Created attachment 372922 [details] [review] libs: audio-channel-mixer: add support for non-interleaved audio buffers
Created attachment 372923 [details] [review] libs: audio-resampler: add support for consuming non-interleaved input buffers
Created attachment 372924 [details] [review] libs: audio-converter: complete code to support non-interleaved audio buffers
Created attachment 372925 [details] [review] audioconvert: implement support for converting between interleaved and non-interleaved layouts
Created attachment 372926 [details] [review] tests: audioconvert: add support for specifying the layout on tests
Created attachment 372927 [details] [review] tests: audioconvert: add tests for planar audio
Created attachment 372928 [details] [review] audioresample: implement support for non-interleaved buffers
commit 114f0abbd71e47ab40c3ad3dfd6a83655360eea8 Author: George Kiagiadakis <george.kiagiadakis@collabora.com> Date: Wed Feb 7 18:17:07 2018 +0200 audioresample: implement support for non-interleaved buffers https://bugzilla.gnome.org/show_bug.cgi?id=705986 commit d57a572172dc95c6737168d6a24dd9c5a5300683 Author: George Kiagiadakis <george.kiagiadakis@collabora.com> Date: Fri Feb 9 17:07:48 2018 +0200 tests: audioconvert: add tests for planar audio https://bugzilla.gnome.org/show_bug.cgi?id=705986 commit 5c39510905bcd248c9e97815b3d2acaeb3e9418b Author: George Kiagiadakis <george.kiagiadakis@collabora.com> Date: Fri Feb 9 14:29:57 2018 +0200 tests: audioconvert: add support for specifying the layout on tests https://bugzilla.gnome.org/show_bug.cgi?id=705986 commit 0eda002cfdf08870d453e394dae7b10eb7c5461f Author: George Kiagiadakis <george.kiagiadakis@collabora.com> Date: Thu Feb 1 18:08:51 2018 +0200 audioconvert: implement support for converting between interleaved and non-interleaved layouts https://bugzilla.gnome.org/show_bug.cgi?id=705986 commit 060ecd16cddc7b106c831df7ab4448e121aab085 Author: George Kiagiadakis <george.kiagiadakis@collabora.com> Date: Thu Feb 1 17:00:06 2018 +0200 libs: audio-converter: complete code to support non-interleaved audio buffers https://bugzilla.gnome.org/show_bug.cgi?id=705986 commit eefdf32d9683ea2fba81156208064fdb2d7c05f3 Author: George Kiagiadakis <george.kiagiadakis@collabora.com> Date: Thu Feb 1 13:23:53 2018 +0200 libs: audio-resampler: add support for consuming non-interleaved input buffers https://bugzilla.gnome.org/show_bug.cgi?id=705986 commit 108a911610e01dda483a66b667cf1b571fbe0125 Author: George Kiagiadakis <george.kiagiadakis@collabora.com> Date: Wed Jan 31 19:28:57 2018 +0200 libs: audio-channel-mixer: add support for non-interleaved audio buffers https://bugzilla.gnome.org/show_bug.cgi?id=705986