Skip to content

Commit e2d6d11

Browse files
committed
audio: src: move all coefficients to DRAM
src coefficients take a lot of space, keep them in DRAM to only copy used sets in SRAM. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
1 parent fa5d722 commit e2d6d11

File tree

161 files changed

+163
-159
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

161 files changed

+163
-159
lines changed

src/audio/src/coef/src_ipc4_int32_10_21_2500_5000.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#include <stdint.h>
1010

11-
static const int32_t src_int32_10_21_2500_5000_fir[480] = {
11+
__cold_data static const int32_t src_int32_10_21_2500_5000_fir[480] = {
1212
176197,
1313
283398,
1414
-489527,

src/audio/src/coef/src_ipc4_int32_10_21_3455_5000.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#include <stdint.h>
1010

11-
static const int32_t src_int32_10_21_3455_5000_fir[640] = {
11+
__cold_data static const int32_t src_int32_10_21_3455_5000_fir[640] = {
1212
110400,
1313
517669,
1414
162088,

src/audio/src/coef/src_ipc4_int32_10_21_4535_5000.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#include <stdint.h>
1010

11-
static const int32_t src_int32_10_21_4535_5000_fir[2320] = {
11+
__cold_data static const int32_t src_int32_10_21_4535_5000_fir[2320] = {
1212
26554,
1313
22041,
1414
-35569,

src/audio/src/coef/src_ipc4_int32_10_9_4535_5000.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#include <stdint.h>
1010

11-
static const int32_t src_int32_10_9_4535_5000_fir[1080] = {
11+
__cold_data static const int32_t src_int32_10_9_4535_5000_fir[1080] = {
1212
-35695,
1313
60551,
1414
-91611,

src/audio/src/coef/src_ipc4_int32_16_21_4319_5000.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#include <stdint.h>
1010

11-
static const int32_t src_int32_16_21_4319_5000_fir[1472] = {
11+
__cold_data static const int32_t src_int32_16_21_4319_5000_fir[1472] = {
1212
69743,
1313
-28255,
1414
-123867,

src/audio/src/coef/src_ipc4_int32_16_21_4535_5000.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#include <stdint.h>
1010

11-
static const int32_t src_int32_16_21_4535_5000_fir[2048] = {
11+
__cold_data static const int32_t src_int32_16_21_4535_5000_fir[2048] = {
1212
66387,
1313
-68365,
1414
-7975,

src/audio/src/coef/src_ipc4_int32_16_7_4082_5000.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#include <stdint.h>
1010

11-
static const int32_t src_int32_16_7_4082_5000_fir[896] = {
11+
__cold_data static const int32_t src_int32_16_7_4082_5000_fir[896] = {
1212
-71000,
1313
181977,
1414
-339747,

src/audio/src/coef/src_ipc4_int32_1_2_2268_5000.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
88
#include <stdint.h>
99

10-
static const int32_t src_int32_1_2_2268_5000_fir[36] = {
10+
__cold_data static const int32_t src_int32_1_2_2268_5000_fir[36] = {
1111
1065827,
1212
-37924,
1313
-4976218,

src/audio/src/coef/src_ipc4_int32_1_2_2500_5000.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#include <stdint.h>
1010

11-
static const int32_t src_int32_1_2_2500_5000_fir[40] = {
11+
__cold_data static const int32_t src_int32_1_2_2500_5000_fir[40] = {
1212
-879692,
1313
460291,
1414
4237437,

src/audio/src/coef/src_ipc4_int32_1_2_2721_5000.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#include <stdint.h>
1010

11-
static const int32_t src_int32_1_2_2721_5000_fir[44] = {
11+
__cold_data static const int32_t src_int32_1_2_2721_5000_fir[44] = {
1212
776925,
1313
-535235,
1414
-3522824,

0 commit comments

Comments
 (0)