[Sound-open-firmware] [PATCH 1/6] SRC: Files structure change and add Xtensa optimized versions
Lauda, Tomasz
tomasz.lauda at intel.com
Fri Mar 9 11:54:10 CET 2018
Are you sure that FW builds after this patch?
I think there are still some dependencies to src_core.c in Makefile.
Tomek
-----Original Message-----
From: sound-open-firmware-bounces at alsa-project.org [mailto:sound-open-firmware-bounces at alsa-project.org] On Behalf Of Liam Girdwood
Sent: Friday, March 9, 2018 9:31 AM
To: Seppo Ingalsuo <seppo.ingalsuo at linux.intel.com>; sound-open-firmware at alsa-project.org
Subject: Re: [Sound-open-firmware] [PATCH 1/6] SRC: Files structure change and add Xtensa optimized versions
On Thu, 2018-03-08 at 16:22 +0200, Seppo Ingalsuo wrote:
> This patch moves generic common code to src.c/h from src_core.c/h and
> places generic C optimized filter to src_generic.c. The HiFi EP
> version is in src_hifi2ep.c and HiFi3 version is in src_hifi3.c. Use
> of the Xtensa optimized versions require xt-xcc compiler.
>
> The non-used SRC in/out rates query code is removed. The 24 bit
> coefficients were replaced by 32 bit coefficients those are compatible
> with Xtensa fractional integer types.
>
> Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo at linux.intel.com>
> ---
> src/audio/Makefile.am | 4 +-
> src/audio/src.c | 346 ++++++++++++++++++--
> src/audio/{src_core.h => src.h} | 17 +-
> src/audio/src_config.h | 57 +++-
> src/audio/src_core.c | 676 -------------------------------------
> ---
> src/audio/src_generic.c | 435 ++++++++++++++++++++++++++
> src/audio/src_hifi2ep.c | 562 +++++++++++++++++++++++++++++++++
> src/audio/src_hifi3.c | 567 +++++++++++++++++++++++++++++++++
> 8 files changed, 1938 insertions(+), 726 deletions(-) rename
> src/audio/{src_core.h => src.h} (93%) delete mode 100644
> src/audio/src_core.c create mode 100644 src/audio/src_generic.c
> create mode 100644 src/audio/src_hifi2ep.c create mode 100644
> src/audio/src_hifi3.c
Thanks
All applied.
Liam
_______________________________________________
Sound-open-firmware mailing list
Sound-open-firmware at alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/sound-open-firmware
--------------------------------------------------------------------
Intel Technology Poland sp. z o.o.
ul. Slowackiego 173 | 80-298 Gdansk | Sad Rejonowy Gdansk Polnoc | VII Wydzial Gospodarczy Krajowego Rejestru Sadowego - KRS 101882 | NIP 957-07-52-316 | Kapital zakladowy 200.000 PLN.
Ta wiadomosc wraz z zalacznikami jest przeznaczona dla okreslonego adresata i moze zawierac informacje poufne. W razie przypadkowego otrzymania tej wiadomosci, prosimy o powiadomienie nadawcy oraz trwale jej usuniecie; jakiekolwiek
przegladanie lub rozpowszechnianie jest zabronione.
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). If you are not the intended recipient, please contact the sender and delete all copies; any review or distribution by
others is strictly prohibited.
More information about the Sound-open-firmware
mailing list