Skip to content

Commit e8afa16

Browse files
singalsulrgirdwo
authored andcommitted
SRC: Files structure change and add Xtensa optimized versions
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@linux.intel.com>
1 parent 728f1ff commit e8afa16

File tree

8 files changed

+1938
-726
lines changed

8 files changed

+1938
-726
lines changed

src/audio/Makefile.am

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1006,7 +1006,9 @@ libaudio_a_SOURCES = \
10061006
fir.c \
10071007
tone.c \
10081008
src.c \
1009-
src_core.c \
1009+
src_generic.c \
1010+
src_hifi2ep.c \
1011+
src_hifi3.c \
10101012
mixer.c \
10111013
mux.c \
10121014
volume.c \

0 commit comments

Comments
 (0)