Skip to content

Commit

Permalink
audio: src: move src header file to source folder
Browse files Browse the repository at this point in the history
previously, these headers are located in include directory.
Now, move it to src/audio/src/ directory, since these headers
are only used by src module.

Signed-off-by: Baofeng Tian <[email protected]>
  • Loading branch information
btian1 committed Sep 6, 2023
1 parent 498a166 commit 8531759
Show file tree
Hide file tree
Showing 168 changed files with 291 additions and 284 deletions.
20 changes: 10 additions & 10 deletions src/audio/src/src.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
#include <sof/audio/audio_stream.h>
#include <sof/audio/ipc-config.h>
#include <sof/audio/module_adapter/module/generic.h>
#include <sof/audio/src/src.h>
#include <sof/audio/src/src_config.h>
#include "src_config.h"
#include <sof/audio/sink_api.h>
#include <sof/audio/source_api.h>
#include <sof/audio/sink_source_utils.h>
Expand All @@ -40,20 +39,21 @@
#include <stdint.h>
#include <limits.h>

#include "src.h"
#include "src_uuid.h"

#if SRC_SHORT || CONFIG_COMP_SRC_TINY
#include <sof/audio/coefficients/src/src_tiny_int16_define.h>
#include <sof/audio/coefficients/src/src_tiny_int16_table.h>
#include "src/src_tiny_int16_define.h"
#include "src/src_tiny_int16_table.h"
#elif CONFIG_COMP_SRC_SMALL
#include <sof/audio/coefficients/src/src_small_int32_define.h>
#include <sof/audio/coefficients/src/src_small_int32_table.h>
#include "src/src_small_int32_define.h"
#include "src/src_small_int32_table.h"
#elif CONFIG_COMP_SRC_STD
#include <sof/audio/coefficients/src/src_std_int32_define.h>
#include <sof/audio/coefficients/src/src_std_int32_table.h>
#include "src/src_std_int32_define.h"
#include "src/src_std_int32_table.h"
#elif CONFIG_COMP_SRC_IPC4_FULL_MATRIX
#include <sof/audio/coefficients/src/src_ipc4_int32_define.h>
#include <sof/audio/coefficients/src/src_ipc4_int32_table.h>
#include "src/src_ipc4_int32_define.h"
#include "src/src_ipc4_int32_table.h"
#else
#error "No valid configuration selected for SRC"
#endif
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_10_21_2500_5000_fir[480] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_10_21_3455_5000_fir[640] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_10_21_4535_5000_fir[2320] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_10_9_4535_5000_fir[1080] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_16_21_4319_5000_fir[1472] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_16_21_4535_5000_fir[2048] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_16_7_4082_5000_fir[896] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_1_2_2268_5000_fir[36] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_1_2_2500_5000_fir[40] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_1_2_2721_5000_fir[44] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_1_2_3401_5000_fir[60] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_1_2_3887_5000_fir[84] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_1_2_4535_5000_fir[192] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_1_3_2268_5000_fir[52] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_1_3_4535_5000_fir[260] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_1_4_1512_5000_fir[52] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_1_4_2268_5000_fir[60] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_1_4_4535_5000_fir[332] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_1_6_1134_5000_fir[68] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_20_21_1250_5000_fir[320] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_20_21_2500_5000_fir[560] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_20_21_3125_5000_fir[640] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_20_21_4167_5000_fir[1200] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_20_21_4535_5000_fir[2080] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_20_7_2976_5000_fir[560] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_21_10_2500_5000_fir[504] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_21_10_3455_5000_fir[756] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_21_10_4535_5000_fir[2520] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_21_16_4319_5000_fir[1596] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_21_16_4535_5000_fir[2436] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_21_20_1250_5000_fir[420] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_21_20_2500_5000_fir[504] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_21_20_3125_5000_fir[672] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_21_20_4167_5000_fir[1260] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_21_20_4535_5000_fir[2268] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_21_2_3239_5000_fir[672] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_21_32_4535_5000_fir[3612] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_21_40_2381_5000_fir[924] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_21_40_3968_5000_fir[1680] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <sof/audio/src/src.h>
#include "../src.h"
#include <stdint.h>

const int32_t src_int32_21_4_1080_5000_fir[336] = {
Expand Down
Loading

0 comments on commit 8531759

Please sign in to comment.