mirror of https://github.com/thesofproject/sof.git
src: rename src.c to src_common.c
Renaming src.c, as this filename will have a different purpose. File src_common.c will contain common functions for all src types. Signed-off-by: Tobiasz Dryjanski <tobiaszx.dryjanski@intel.com>
This commit is contained in:
parent
c4c37e040f
commit
285ec51914
|
@ -1,6 +1,6 @@
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
add_local_sources(sof src_generic.c src_hifi2ep.c src_hifi3.c src_hifi4.c src.c)
|
add_local_sources(sof src_generic.c src_hifi2ep.c src_hifi3.c src_hifi4.c src_common.c)
|
||||||
|
|
||||||
if(CONFIG_IPC_MAJOR_3)
|
if(CONFIG_IPC_MAJOR_3)
|
||||||
add_local_sources(sof src_ipc3.c)
|
add_local_sources(sof src_ipc3.c)
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
#include "src.h"
|
#include "src_common.h"
|
||||||
#include "src_config.h"
|
#include "src_config.h"
|
||||||
|
|
||||||
#if SRC_SHORT || CONFIG_COMP_SRC_TINY
|
#if SRC_SHORT || CONFIG_COMP_SRC_TINY
|
|
@ -16,7 +16,7 @@
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "src.h"
|
#include "src_common.h"
|
||||||
|
|
||||||
#if SRC_SHORT /* 16 bit coefficients version */
|
#if SRC_SHORT /* 16 bit coefficients version */
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
#if SRC_HIFIEP
|
#if SRC_HIFIEP
|
||||||
|
|
||||||
#include "src.h"
|
#include "src_common.h"
|
||||||
|
|
||||||
#include <xtensa/config/defs.h>
|
#include <xtensa/config/defs.h>
|
||||||
#include <xtensa/tie/xt_hifi2.h>
|
#include <xtensa/tie/xt_hifi2.h>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
#if SRC_HIFI3
|
#if SRC_HIFI3
|
||||||
|
|
||||||
#include "src.h"
|
#include "src_common.h"
|
||||||
|
|
||||||
#include <xtensa/config/defs.h>
|
#include <xtensa/config/defs.h>
|
||||||
#include <xtensa/tie/xt_hifi3.h>
|
#include <xtensa/tie/xt_hifi3.h>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
#if SRC_HIFI4
|
#if SRC_HIFI4
|
||||||
|
|
||||||
#include "src.h"
|
#include "src_common.h"
|
||||||
|
|
||||||
#include <sof/math/numbers.h>
|
#include <sof/math/numbers.h>
|
||||||
#include <xtensa/config/defs.h>
|
#include <xtensa/config/defs.h>
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
#include "src.h"
|
#include "src_common.h"
|
||||||
#include "src_config.h"
|
#include "src_config.h"
|
||||||
|
|
||||||
SOF_DEFINE_REG_UUID(src);
|
SOF_DEFINE_REG_UUID(src);
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
#include "src.h"
|
#include "src_common.h"
|
||||||
#include "src_config.h"
|
#include "src_config.h"
|
||||||
|
|
||||||
SOF_DEFINE_REG_UUID(src4);
|
SOF_DEFINE_REG_UUID(src4);
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
#include <rtos/init.h>
|
#include <rtos/init.h>
|
||||||
|
|
||||||
#include "src.h"
|
#include "src_common.h"
|
||||||
#include "src_config.h"
|
#include "src_config.h"
|
||||||
|
|
||||||
#include "coef/src_lite_int32_define.h"
|
#include "coef/src_lite_int32_define.h"
|
||||||
|
|
|
@ -678,7 +678,7 @@ zephyr_library_sources_ifdef(CONFIG_COMP_SRC
|
||||||
${SOF_AUDIO_PATH}/src/src_generic.c
|
${SOF_AUDIO_PATH}/src/src_generic.c
|
||||||
${SOF_AUDIO_PATH}/src/src_hifi3.c
|
${SOF_AUDIO_PATH}/src/src_hifi3.c
|
||||||
${SOF_AUDIO_PATH}/src/src_hifi4.c
|
${SOF_AUDIO_PATH}/src/src_hifi4.c
|
||||||
${SOF_AUDIO_PATH}/src/src.c
|
${SOF_AUDIO_PATH}/src/src_common.c
|
||||||
${SOF_AUDIO_PATH}/src/src_${ipc_suffix}.c
|
${SOF_AUDIO_PATH}/src/src_${ipc_suffix}.c
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue