[Sound-open-firmware] [PATCH 3/6] SRC: Updated 16 bit coefficients
Seppo Ingalsuo
seppo.ingalsuo at linux.intel.com
Thu Mar 8 15:22:19 CET 2018
Update due to need for subfilter lengths those are multiple of four.
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo at linux.intel.com>
---
.../src/src_tiny_int16_1_2_3281_5000.h | 66 +++
.../src/src_tiny_int16_1_3_1641_5000.h | 54 +++
.../src/src_tiny_int16_1_3_3281_5000.h | 94 ++++
.../src/src_tiny_int16_20_21_3015_5000.h | 486 ++++++++++++++++++++
.../src/src_tiny_int16_21_20_3015_5000.h | 510 +++++++++++++++++++++
.../src/src_tiny_int16_2_1_3281_5000.h | 70 +++
.../src/src_tiny_int16_2_3_3281_5000.h | 94 ++++
.../src/src_tiny_int16_3_1_1641_5000.h | 54 +++
.../src/src_tiny_int16_3_1_3281_5000.h | 102 +++++
.../src/src_tiny_int16_3_2_3281_5000.h | 102 +++++
.../src/src_tiny_int16_7_8_3281_5000.h | 230 ++++++++++
.../src/src_tiny_int16_8_7_3281_5000.h | 230 ++++++++++
.../audio/coefficients/src/src_tiny_int16_define.h | 4 +-
.../audio/coefficients/src/src_tiny_int16_table.h | 48 +-
14 files changed, 2118 insertions(+), 26 deletions(-)
create mode 100644 src/include/reef/audio/coefficients/src/src_tiny_int16_1_2_3281_5000.h
create mode 100644 src/include/reef/audio/coefficients/src/src_tiny_int16_1_3_1641_5000.h
create mode 100644 src/include/reef/audio/coefficients/src/src_tiny_int16_1_3_3281_5000.h
create mode 100644 src/include/reef/audio/coefficients/src/src_tiny_int16_20_21_3015_5000.h
create mode 100644 src/include/reef/audio/coefficients/src/src_tiny_int16_21_20_3015_5000.h
create mode 100644 src/include/reef/audio/coefficients/src/src_tiny_int16_2_1_3281_5000.h
create mode 100644 src/include/reef/audio/coefficients/src/src_tiny_int16_2_3_3281_5000.h
create mode 100644 src/include/reef/audio/coefficients/src/src_tiny_int16_3_1_1641_5000.h
create mode 100644 src/include/reef/audio/coefficients/src/src_tiny_int16_3_1_3281_5000.h
create mode 100644 src/include/reef/audio/coefficients/src/src_tiny_int16_3_2_3281_5000.h
create mode 100644 src/include/reef/audio/coefficients/src/src_tiny_int16_7_8_3281_5000.h
create mode 100644 src/include/reef/audio/coefficients/src/src_tiny_int16_8_7_3281_5000.h
diff --git a/src/include/reef/audio/coefficients/src/src_tiny_int16_1_2_3281_5000.h b/src/include/reef/audio/coefficients/src/src_tiny_int16_1_2_3281_5000.h
new file mode 100644
index 0000000..2f50660
--- /dev/null
+++ b/src/include/reef/audio/coefficients/src/src_tiny_int16_1_2_3281_5000.h
@@ -0,0 +1,66 @@
+const int16_t src_int16_1_2_3281_5000_fir[60] = {
+ 2,
+ -8,
+ -16,
+ 5,
+ 41,
+ 21,
+ -64,
+ -85,
+ 52,
+ 181,
+ 39,
+ -261,
+ -236,
+ 240,
+ 510,
+ -21,
+ -755,
+ -457,
+ 784,
+ 1154,
+ -371,
+ -1884,
+ -688,
+ 2301,
+ 2564,
+ -1849,
+ -5621,
+ -837,
+ 12830,
+ 25184,
+ 25184,
+ 12830,
+ -837,
+ -5621,
+ -1849,
+ 2564,
+ 2301,
+ -688,
+ -1884,
+ -371,
+ 1154,
+ 784,
+ -457,
+ -755,
+ -21,
+ 510,
+ 240,
+ -236,
+ -261,
+ 39,
+ 181,
+ 52,
+ -85,
+ -64,
+ 21,
+ 41,
+ 5,
+ -16,
+ -8,
+ 2
+
+};
+struct src_stage src_int16_1_2_3281_5000 = {
+ 1, 0, 1, 60, 60, 2, 1, 0, 1,
+ src_int16_1_2_3281_5000_fir};
diff --git a/src/include/reef/audio/coefficients/src/src_tiny_int16_1_3_1641_5000.h b/src/include/reef/audio/coefficients/src/src_tiny_int16_1_3_1641_5000.h
new file mode 100644
index 0000000..78cc850
--- /dev/null
+++ b/src/include/reef/audio/coefficients/src/src_tiny_int16_1_3_1641_5000.h
@@ -0,0 +1,54 @@
+const int16_t src_int16_1_3_1641_5000_fir[48] = {
+ -7,
+ 5,
+ 42,
+ 95,
+ 118,
+ 51,
+ -136,
+ -393,
+ -563,
+ -445,
+ 79,
+ 900,
+ 1632,
+ 1723,
+ 750,
+ -1249,
+ -3563,
+ -4921,
+ -3944,
+ 215,
+ 7318,
+ 15901,
+ 23660,
+ 28268,
+ 28268,
+ 23660,
+ 15901,
+ 7318,
+ 215,
+ -3944,
+ -4921,
+ -3563,
+ -1249,
+ 750,
+ 1723,
+ 1632,
+ 900,
+ 79,
+ -445,
+ -563,
+ -393,
+ -136,
+ 51,
+ 118,
+ 95,
+ 42,
+ 5,
+ -7
+
+};
+struct src_stage src_int16_1_3_1641_5000 = {
+ 1, 0, 1, 48, 48, 3, 1, 0, 2,
+ src_int16_1_3_1641_5000_fir};
diff --git a/src/include/reef/audio/coefficients/src/src_tiny_int16_1_3_3281_5000.h b/src/include/reef/audio/coefficients/src/src_tiny_int16_1_3_3281_5000.h
new file mode 100644
index 0000000..2b1b5cf
--- /dev/null
+++ b/src/include/reef/audio/coefficients/src/src_tiny_int16_1_3_3281_5000.h
@@ -0,0 +1,94 @@
+const int16_t src_int16_1_3_3281_5000_fir[88] = {
+ -1,
+ -6,
+ -9,
+ -5,
+ 7,
+ 21,
+ 23,
+ 4,
+ -31,
+ -56,
+ -42,
+ 16,
+ 86,
+ 111,
+ 49,
+ -78,
+ -185,
+ -173,
+ -12,
+ 212,
+ 330,
+ 212,
+ -115,
+ -443,
+ -503,
+ -172,
+ 389,
+ 788,
+ 659,
+ -36,
+ -890,
+ -1259,
+ -713,
+ 568,
+ 1770,
+ 1900,
+ 498,
+ -1849,
+ -3604,
+ -3045,
+ 682,
+ 6863,
+ 13333,
+ 17459,
+ 17459,
+ 13333,
+ 6863,
+ 682,
+ -3045,
+ -3604,
+ -1849,
+ 498,
+ 1900,
+ 1770,
+ 568,
+ -713,
+ -1259,
+ -890,
+ -36,
+ 659,
+ 788,
+ 389,
+ -172,
+ -503,
+ -443,
+ -115,
+ 212,
+ 330,
+ 212,
+ -12,
+ -173,
+ -185,
+ -78,
+ 49,
+ 111,
+ 86,
+ 16,
+ -42,
+ -56,
+ -31,
+ 4,
+ 23,
+ 21,
+ 7,
+ -5,
+ -9,
+ -6,
+ -1
+
+};
+struct src_stage src_int16_1_3_3281_5000 = {
+ 1, 0, 1, 88, 88, 3, 1, 0, 1,
+ src_int16_1_3_3281_5000_fir};
diff --git a/src/include/reef/audio/coefficients/src/src_tiny_int16_20_21_3015_5000.h b/src/include/reef/audio/coefficients/src/src_tiny_int16_20_21_3015_5000.h
new file mode 100644
index 0000000..641148c
--- /dev/null
+++ b/src/include/reef/audio/coefficients/src/src_tiny_int16_20_21_3015_5000.h
@@ -0,0 +1,486 @@
+const int16_t src_int16_20_21_3015_5000_fir[480] = {
+ 1,
+ 12,
+ -59,
+ 112,
+ -53,
+ -247,
+ 719,
+ -937,
+ 246,
+ 1768,
+ -4802,
+ 7954,
+ 24354,
+ 6745,
+ -4683,
+ 1969,
+ 34,
+ -832,
+ 713,
+ -280,
+ -23,
+ 100,
+ -58,
+ 13,
+ 2,
+ 10,
+ -60,
+ 124,
+ -84,
+ -208,
+ 716,
+ -1033,
+ 463,
+ 1531,
+ -4859,
+ 9182,
+ 24241,
+ 5563,
+ -4508,
+ 2135,
+ -168,
+ -720,
+ 695,
+ -308,
+ 5,
+ 87,
+ -56,
+ 14,
+ 3,
+ 7,
+ -59,
+ 135,
+ -115,
+ -162,
+ 703,
+ -1119,
+ 683,
+ 1260,
+ -4849,
+ 10421,
+ 24015,
+ 4418,
+ -4280,
+ 2263,
+ -360,
+ -603,
+ 669,
+ -330,
+ 32,
+ 73,
+ -52,
+ 15,
+ 4,
+ 5,
+ -57,
+ 144,
+ -147,
+ -114,
+ 678,
+ -1192,
+ 904,
+ 958,
+ -4769,
+ 11661,
+ 23678,
+ 3317,
+ -4007,
+ 2354,
+ -538,
+ -483,
+ 635,
+ -347,
+ 57,
+ 60,
+ -50,
+ 15,
+ 5,
+ 2,
+ -55,
+ 151,
+ -178,
+ -61,
+ 643,
+ -1251,
+ 1122,
+ 628,
+ -4615,
+ 12891,
+ 23234,
+ 2267,
+ -3694,
+ 2409,
+ -701,
+ -361,
+ 593,
+ -357,
+ 79,
+ 46,
+ -47,
+ 15,
+ 6,
+ -2,
+ -51,
+ 157,
+ -209,
+ -4,
+ 596,
+ -1295,
+ 1333,
+ 271,
+ -4383,
+ 14104,
+ 22686,
+ 1274,
+ -3348,
+ 2428,
+ -847,
+ -240,
+ 546,
+ -362,
+ 99,
+ 33,
+ -42,
+ 15,
+ 8,
+ -6,
+ -46,
+ 161,
+ -238,
+ 56,
+ 539,
+ -1322,
+ 1535,
+ -108,
+ -4072,
+ 15289,
+ 22039,
+ 344,
+ -2974,
+ 2413,
+ -975,
+ -121,
+ 493,
+ -361,
+ 116,
+ 20,
+ -38,
+ 15,
+ 9,
+ -10,
+ -39,
+ 162,
+ -265,
+ 119,
+ 471,
+ -1332,
+ 1725,
+ -504,
+ -3682,
+ 16436,
+ 21299,
+ -517,
+ -2580,
+ 2366,
+ -1085,
+ -6,
+ 435,
+ -356,
+ 131,
+ 8,
+ -33,
+ 14,
+ 10,
+ -14,
+ -32,
+ 161,
+ -290,
+ 183,
+ 392,
+ -1322,
+ 1897,
+ -914,
+ -3208,
+ 17537,
+ 20471,
+ -1306,
+ -2171,
+ 2288,
+ -1174,
+ 103,
+ 375,
+ -346,
+ 142,
+ -3,
+ -28,
+ 13,
+ 11,
+ -19,
+ -24,
+ 159,
+ -312,
+ 247,
+ 305,
+ -1293,
+ 2051,
+ -1332,
+ -2653,
+ 18582,
+ 19563,
+ -2019,
+ -1752,
+ 2182,
+ -1244,
+ 208,
+ 312,
+ -331,
+ 151,
+ -14,
+ -23,
+ 12,
+ 12,
+ -23,
+ -14,
+ 151,
+ -331,
+ 312,
+ 208,
+ -1244,
+ 2182,
+ -1752,
+ -2019,
+ 19563,
+ 18582,
+ -2653,
+ -1332,
+ 2051,
+ -1293,
+ 305,
+ 247,
+ -312,
+ 159,
+ -24,
+ -19,
+ 11,
+ 13,
+ -28,
+ -3,
+ 142,
+ -346,
+ 375,
+ 103,
+ -1174,
+ 2288,
+ -2171,
+ -1306,
+ 20471,
+ 17537,
+ -3208,
+ -914,
+ 1897,
+ -1322,
+ 392,
+ 183,
+ -290,
+ 161,
+ -32,
+ -14,
+ 10,
+ 14,
+ -33,
+ 8,
+ 131,
+ -356,
+ 435,
+ -6,
+ -1085,
+ 2366,
+ -2580,
+ -517,
+ 21299,
+ 16436,
+ -3682,
+ -504,
+ 1725,
+ -1332,
+ 471,
+ 119,
+ -265,
+ 162,
+ -39,
+ -10,
+ 9,
+ 15,
+ -38,
+ 20,
+ 116,
+ -361,
+ 493,
+ -121,
+ -975,
+ 2413,
+ -2974,
+ 344,
+ 22039,
+ 15289,
+ -4072,
+ -108,
+ 1535,
+ -1322,
+ 539,
+ 56,
+ -238,
+ 161,
+ -46,
+ -6,
+ 8,
+ 15,
+ -42,
+ 33,
+ 99,
+ -362,
+ 546,
+ -240,
+ -847,
+ 2428,
+ -3348,
+ 1274,
+ 22686,
+ 14104,
+ -4383,
+ 271,
+ 1333,
+ -1295,
+ 596,
+ -4,
+ -209,
+ 157,
+ -51,
+ -2,
+ 6,
+ 15,
+ -47,
+ 46,
+ 79,
+ -357,
+ 593,
+ -361,
+ -701,
+ 2409,
+ -3694,
+ 2267,
+ 23234,
+ 12891,
+ -4615,
+ 628,
+ 1122,
+ -1251,
+ 643,
+ -61,
+ -178,
+ 151,
+ -55,
+ 2,
+ 5,
+ 15,
+ -50,
+ 60,
+ 57,
+ -347,
+ 635,
+ -483,
+ -538,
+ 2354,
+ -4007,
+ 3317,
+ 23678,
+ 11661,
+ -4769,
+ 958,
+ 904,
+ -1192,
+ 678,
+ -114,
+ -147,
+ 144,
+ -57,
+ 5,
+ 4,
+ 15,
+ -52,
+ 73,
+ 32,
+ -330,
+ 669,
+ -603,
+ -360,
+ 2263,
+ -4280,
+ 4418,
+ 24015,
+ 10421,
+ -4849,
+ 1260,
+ 683,
+ -1119,
+ 703,
+ -162,
+ -115,
+ 135,
+ -59,
+ 7,
+ 3,
+ 14,
+ -56,
+ 87,
+ 5,
+ -308,
+ 695,
+ -720,
+ -168,
+ 2135,
+ -4508,
+ 5563,
+ 24241,
+ 9182,
+ -4859,
+ 1531,
+ 463,
+ -1033,
+ 716,
+ -208,
+ -84,
+ 124,
+ -60,
+ 10,
+ 2,
+ 13,
+ -58,
+ 100,
+ -23,
+ -280,
+ 713,
+ -832,
+ 34,
+ 1969,
+ -4683,
+ 6745,
+ 24354,
+ 7954,
+ -4802,
+ 1768,
+ 246,
+ -937,
+ 719,
+ -247,
+ -53,
+ 112,
+ -59,
+ 12,
+ 1
+
+};
+struct src_stage src_int16_20_21_3015_5000 = {
+ 1, 1, 20, 24, 480, 21, 20, 0, 0,
+ src_int16_20_21_3015_5000_fir};
diff --git a/src/include/reef/audio/coefficients/src/src_tiny_int16_21_20_3015_5000.h b/src/include/reef/audio/coefficients/src/src_tiny_int16_21_20_3015_5000.h
new file mode 100644
index 0000000..fe2a56f
--- /dev/null
+++ b/src/include/reef/audio/coefficients/src/src_tiny_int16_21_20_3015_5000.h
@@ -0,0 +1,510 @@
+const int16_t src_int16_21_20_3015_5000_fir[504] = {
+ -4,
+ 22,
+ -36,
+ -5,
+ 166,
+ -433,
+ 628,
+ -403,
+ -586,
+ 2425,
+ -4775,
+ 7097,
+ 25571,
+ 5855,
+ -4536,
+ 2524,
+ -765,
+ -268,
+ 568,
+ -428,
+ 181,
+ -19,
+ -29,
+ 20,
+ -6,
+ 24,
+ -44,
+ 11,
+ 147,
+ -433,
+ 681,
+ -538,
+ -392,
+ 2286,
+ -4959,
+ 8367,
+ 25452,
+ 4651,
+ -4247,
+ 2585,
+ -925,
+ -136,
+ 502,
+ -416,
+ 193,
+ -33,
+ -22,
+ 18,
+ -5,
+ 25,
+ -50,
+ 27,
+ 124,
+ -426,
+ 728,
+ -671,
+ -183,
+ 2106,
+ -5082,
+ 9658,
+ 25216,
+ 3493,
+ -3918,
+ 2607,
+ -1066,
+ -7,
+ 433,
+ -399,
+ 202,
+ -45,
+ -17,
+ 16,
+ -5,
+ 26,
+ -57,
+ 44,
+ 99,
+ -413,
+ 765,
+ -800,
+ 37,
+ 1890,
+ -5141,
+ 10959,
+ 24863,
+ 2387,
+ -3553,
+ 2593,
+ -1187,
+ 117,
+ 361,
+ -378,
+ 207,
+ -55,
+ -9,
+ 14,
+ -4,
+ 27,
+ -64,
+ 62,
+ 71,
+ -392,
+ 794,
+ -923,
+ 267,
+ 1636,
+ -5129,
+ 12260,
+ 24398,
+ 1342,
+ -3158,
+ 2544,
+ -1286,
+ 234,
+ 287,
+ -352,
+ 209,
+ -64,
+ -3,
+ 12,
+ -4,
+ 28,
+ -69,
+ 80,
+ 40,
+ -366,
+ 812,
+ -1039,
+ 502,
+ 1346,
+ -5042,
+ 13552,
+ 23825,
+ 363,
+ -2740,
+ 2462,
+ -1364,
+ 343,
+ 212,
+ -323,
+ 208,
+ -72,
+ 3,
+ 9,
+ -4,
+ 28,
+ -75,
+ 98,
+ 7,
+ -332,
+ 819,
+ -1144,
+ 741,
+ 1023,
+ -4876,
+ 14825,
+ 23146,
+ -545,
+ -2308,
+ 2350,
+ -1419,
+ 442,
+ 138,
+ -290,
+ 204,
+ -79,
+ 8,
+ 6,
+ -3,
+ 27,
+ -79,
+ 116,
+ -29,
+ -291,
+ 815,
+ -1237,
+ 979,
+ 669,
+ -4630,
+ 16068,
+ 22369,
+ -1377,
+ -1863,
+ 2211,
+ -1452,
+ 531,
+ 66,
+ -255,
+ 197,
+ -82,
+ 12,
+ 5,
+ -2,
+ 26,
+ -82,
+ 132,
+ -67,
+ -245,
+ 798,
+ -1317,
+ 1214,
+ 289,
+ -4300,
+ 17271,
+ 21502,
+ -2129,
+ -1417,
+ 2047,
+ -1464,
+ 608,
+ -5,
+ -218,
+ 188,
+ -85,
+ 16,
+ 4,
+ -1,
+ 24,
+ -85,
+ 148,
+ -104,
+ -192,
+ 769,
+ -1381,
+ 1442,
+ -115,
+ -3884,
+ 18426,
+ 20550,
+ -2799,
+ -973,
+ 1863,
+ -1456,
+ 674,
+ -72,
+ -181,
+ 176,
+ -86,
+ 19,
+ 2,
+ 1,
+ 23,
+ -86,
+ 163,
+ -142,
+ -134,
+ 728,
+ -1428,
+ 1659,
+ -537,
+ -3385,
+ 19522,
+ 19522,
+ -3385,
+ -537,
+ 1659,
+ -1428,
+ 728,
+ -134,
+ -142,
+ 163,
+ -86,
+ 23,
+ 1,
+ 2,
+ 19,
+ -86,
+ 176,
+ -181,
+ -72,
+ 674,
+ -1456,
+ 1863,
+ -973,
+ -2799,
+ 20550,
+ 18426,
+ -3884,
+ -115,
+ 1442,
+ -1381,
+ 769,
+ -192,
+ -104,
+ 148,
+ -85,
+ 24,
+ -1,
+ 4,
+ 16,
+ -85,
+ 188,
+ -218,
+ -5,
+ 608,
+ -1464,
+ 2047,
+ -1417,
+ -2129,
+ 21502,
+ 17270,
+ -4300,
+ 289,
+ 1214,
+ -1317,
+ 798,
+ -245,
+ -67,
+ 132,
+ -82,
+ 26,
+ -2,
+ 5,
+ 12,
+ -82,
+ 197,
+ -255,
+ 66,
+ 531,
+ -1452,
+ 2211,
+ -1863,
+ -1377,
+ 22369,
+ 16068,
+ -4630,
+ 668,
+ 979,
+ -1237,
+ 815,
+ -291,
+ -29,
+ 116,
+ -79,
+ 27,
+ -3,
+ 6,
+ 8,
+ -79,
+ 204,
+ -290,
+ 138,
+ 442,
+ -1419,
+ 2350,
+ -2307,
+ -545,
+ 23146,
+ 14825,
+ -4876,
+ 1023,
+ 741,
+ -1144,
+ 819,
+ -332,
+ 7,
+ 98,
+ -75,
+ 28,
+ -4,
+ 9,
+ 3,
+ -72,
+ 208,
+ -323,
+ 212,
+ 343,
+ -1364,
+ 2462,
+ -2740,
+ 363,
+ 23825,
+ 13552,
+ -5042,
+ 1346,
+ 502,
+ -1039,
+ 812,
+ -366,
+ 40,
+ 80,
+ -69,
+ 28,
+ -4,
+ 12,
+ -3,
+ -64,
+ 209,
+ -352,
+ 287,
+ 234,
+ -1286,
+ 2544,
+ -3158,
+ 1342,
+ 24398,
+ 12260,
+ -5129,
+ 1636,
+ 267,
+ -923,
+ 794,
+ -392,
+ 71,
+ 62,
+ -64,
+ 27,
+ -4,
+ 14,
+ -9,
+ -55,
+ 207,
+ -378,
+ 361,
+ 117,
+ -1187,
+ 2593,
+ -3553,
+ 2387,
+ 24863,
+ 10959,
+ -5141,
+ 1890,
+ 37,
+ -800,
+ 765,
+ -413,
+ 99,
+ 44,
+ -57,
+ 26,
+ -5,
+ 16,
+ -17,
+ -45,
+ 202,
+ -399,
+ 433,
+ -7,
+ -1066,
+ 2607,
+ -3918,
+ 3493,
+ 25215,
+ 9658,
+ -5084,
+ 2106,
+ -183,
+ -671,
+ 728,
+ -426,
+ 124,
+ 27,
+ -50,
+ 25,
+ -5,
+ 18,
+ -22,
+ -33,
+ 193,
+ -416,
+ 502,
+ -136,
+ -925,
+ 2585,
+ -4248,
+ 4651,
+ 25452,
+ 8367,
+ -4959,
+ 2286,
+ -392,
+ -538,
+ 681,
+ -433,
+ 147,
+ 11,
+ -44,
+ 24,
+ -6,
+ 20,
+ -29,
+ -19,
+ 181,
+ -428,
+ 568,
+ -268,
+ -765,
+ 2524,
+ -4536,
+ 5855,
+ 25571,
+ 7097,
+ -4775,
+ 2425,
+ -586,
+ -403,
+ 628,
+ -433,
+ 166,
+ -5,
+ -36,
+ 22,
+ -4
+
+};
+struct src_stage src_int16_21_20_3015_5000 = {
+ 19, 20, 21, 24, 504, 20, 21, 0, 0,
+ src_int16_21_20_3015_5000_fir};
diff --git a/src/include/reef/audio/coefficients/src/src_tiny_int16_2_1_3281_5000.h b/src/include/reef/audio/coefficients/src/src_tiny_int16_2_1_3281_5000.h
new file mode 100644
index 0000000..5ebc376
--- /dev/null
+++ b/src/include/reef/audio/coefficients/src/src_tiny_int16_2_1_3281_5000.h
@@ -0,0 +1,70 @@
+const int16_t src_int16_2_1_3281_5000_fir[64] = {
+ 1,
+ 8,
+ -31,
+ 67,
+ -92,
+ 67,
+ 49,
+ -278,
+ 576,
+ -825,
+ 834,
+ -387,
+ -706,
+ 2599,
+ -5651,
+ 12843,
+ 25187,
+ -839,
+ -1866,
+ 2345,
+ -1948,
+ 1215,
+ -494,
+ -23,
+ 276,
+ -314,
+ 230,
+ -118,
+ 33,
+ 9,
+ -16,
+ 9,
+ 9,
+ -16,
+ 9,
+ 33,
+ -118,
+ 230,
+ -314,
+ 276,
+ -23,
+ -494,
+ 1215,
+ -1948,
+ 2345,
+ -1866,
+ -839,
+ 25187,
+ 12843,
+ -5651,
+ 2599,
+ -706,
+ -387,
+ 834,
+ -825,
+ 576,
+ -278,
+ 49,
+ 67,
+ -92,
+ 67,
+ -31,
+ 8,
+ 1
+
+};
+struct src_stage src_int16_2_1_3281_5000 = {
+ 0, 1, 2, 32, 64, 1, 2, 0, 0,
+ src_int16_2_1_3281_5000_fir};
diff --git a/src/include/reef/audio/coefficients/src/src_tiny_int16_2_3_3281_5000.h b/src/include/reef/audio/coefficients/src/src_tiny_int16_2_3_3281_5000.h
new file mode 100644
index 0000000..3b09530
--- /dev/null
+++ b/src/include/reef/audio/coefficients/src/src_tiny_int16_2_3_3281_5000.h
@@ -0,0 +1,94 @@
+const int16_t src_int16_2_3_3281_5000_fir[88] = {
+ -1,
+ -8,
+ 7,
+ 24,
+ -30,
+ -42,
+ 86,
+ 49,
+ -185,
+ -11,
+ 330,
+ -115,
+ -503,
+ 389,
+ 659,
+ -890,
+ -713,
+ 1770,
+ 498,
+ -3604,
+ 682,
+ 13333,
+ 17459,
+ 6863,
+ -3045,
+ -1848,
+ 1900,
+ 568,
+ -1259,
+ -36,
+ 788,
+ -172,
+ -443,
+ 212,
+ 212,
+ -173,
+ -78,
+ 110,
+ 16,
+ -55,
+ 5,
+ 21,
+ -5,
+ -5,
+ -5,
+ -5,
+ 21,
+ 5,
+ -55,
+ 16,
+ 110,
+ -78,
+ -173,
+ 212,
+ 212,
+ -443,
+ -172,
+ 788,
+ -36,
+ -1259,
+ 568,
+ 1900,
+ -1849,
+ -3045,
+ 6862,
+ 17459,
+ 13333,
+ 682,
+ -3603,
+ 498,
+ 1770,
+ -713,
+ -890,
+ 659,
+ 389,
+ -503,
+ -115,
+ 330,
+ -12,
+ -185,
+ 49,
+ 86,
+ -42,
+ -30,
+ 24,
+ 7,
+ -8,
+ -1
+
+};
+struct src_stage src_int16_2_3_3281_5000 = {
+ 1, 1, 2, 44, 88, 3, 2, 0, 0,
+ src_int16_2_3_3281_5000_fir};
diff --git a/src/include/reef/audio/coefficients/src/src_tiny_int16_3_1_1641_5000.h b/src/include/reef/audio/coefficients/src/src_tiny_int16_3_1_1641_5000.h
new file mode 100644
index 0000000..f0b58a4
--- /dev/null
+++ b/src/include/reef/audio/coefficients/src/src_tiny_int16_3_1_1641_5000.h
@@ -0,0 +1,54 @@
+const int16_t src_int16_3_1_1641_5000_fir[48] = {
+ -5,
+ 72,
+ -102,
+ -333,
+ 1223,
+ -937,
+ -2957,
+ 11926,
+ 21201,
+ 5489,
+ -3691,
+ 562,
+ 675,
+ -422,
+ 39,
+ 32,
+ 4,
+ 89,
+ -294,
+ 59,
+ 1292,
+ -2672,
+ 162,
+ 17745,
+ 17745,
+ 162,
+ -2672,
+ 1292,
+ 59,
+ -294,
+ 89,
+ 4,
+ 32,
+ 39,
+ -422,
+ 675,
+ 562,
+ -3691,
+ 5489,
+ 21201,
+ 11926,
+ -2957,
+ -937,
+ 1223,
+ -333,
+ -102,
+ 72,
+ -5
+
+};
+struct src_stage src_int16_3_1_1641_5000 = {
+ 0, 1, 3, 16, 48, 1, 3, 0, 0,
+ src_int16_3_1_1641_5000_fir};
diff --git a/src/include/reef/audio/coefficients/src/src_tiny_int16_3_1_3281_5000.h b/src/include/reef/audio/coefficients/src/src_tiny_int16_3_1_3281_5000.h
new file mode 100644
index 0000000..93971b2
--- /dev/null
+++ b/src/include/reef/audio/coefficients/src/src_tiny_int16_3_1_3281_5000.h
@@ -0,0 +1,102 @@
+const int16_t src_int16_3_1_3281_5000_fir[96] = {
+ 0,
+ 11,
+ -33,
+ 63,
+ -76,
+ 35,
+ 98,
+ -324,
+ 587,
+ -752,
+ 637,
+ -58,
+ -1109,
+ 2907,
+ -5450,
+ 10312,
+ 26192,
+ 1027,
+ -2805,
+ 2722,
+ -1972,
+ 1057,
+ -285,
+ -198,
+ 384,
+ -355,
+ 228,
+ -97,
+ 12,
+ 23,
+ -22,
+ 12,
+ 6,
+ -2,
+ -18,
+ 66,
+ -132,
+ 183,
+ -154,
+ -20,
+ 371,
+ -844,
+ 1277,
+ -1405,
+ 879,
+ 759,
+ -4593,
+ 20013,
+ 20013,
+ -4593,
+ 759,
+ 879,
+ -1405,
+ 1277,
+ -844,
+ 371,
+ -20,
+ -154,
+ 183,
+ -132,
+ 66,
+ -18,
+ -2,
+ 6,
+ 12,
+ -22,
+ 23,
+ 12,
+ -97,
+ 228,
+ -355,
+ 384,
+ -198,
+ -285,
+ 1057,
+ -1972,
+ 2722,
+ -2805,
+ 1027,
+ 26192,
+ 10312,
+ -5450,
+ 2907,
+ -1109,
+ -58,
+ 637,
+ -752,
+ 587,
+ -324,
+ 98,
+ 35,
+ -76,
+ 63,
+ -33,
+ 11,
+ 0
+
+};
+struct src_stage src_int16_3_1_3281_5000 = {
+ 0, 1, 3, 32, 96, 1, 3, 0, 0,
+ src_int16_3_1_3281_5000_fir};
diff --git a/src/include/reef/audio/coefficients/src/src_tiny_int16_3_2_3281_5000.h b/src/include/reef/audio/coefficients/src/src_tiny_int16_3_2_3281_5000.h
new file mode 100644
index 0000000..fc75ee8
--- /dev/null
+++ b/src/include/reef/audio/coefficients/src/src_tiny_int16_3_2_3281_5000.h
@@ -0,0 +1,102 @@
+const int16_t src_int16_3_2_3281_5000_fir[96] = {
+ 0,
+ 11,
+ -33,
+ 63,
+ -76,
+ 34,
+ 98,
+ -325,
+ 587,
+ -753,
+ 638,
+ -57,
+ -1109,
+ 2906,
+ -5450,
+ 10312,
+ 26192,
+ 1027,
+ -2805,
+ 2722,
+ -1972,
+ 1057,
+ -284,
+ -198,
+ 384,
+ -356,
+ 229,
+ -98,
+ 11,
+ 22,
+ -22,
+ 11,
+ 4,
+ -2,
+ -19,
+ 66,
+ -133,
+ 184,
+ -155,
+ -21,
+ 371,
+ -844,
+ 1277,
+ -1404,
+ 879,
+ 758,
+ -4593,
+ 20013,
+ 20013,
+ -4593,
+ 758,
+ 879,
+ -1404,
+ 1277,
+ -844,
+ 371,
+ -21,
+ -155,
+ 184,
+ -133,
+ 66,
+ -19,
+ -2,
+ 4,
+ 11,
+ -22,
+ 22,
+ 11,
+ -98,
+ 229,
+ -356,
+ 384,
+ -198,
+ -284,
+ 1057,
+ -1972,
+ 2722,
+ -2805,
+ 1027,
+ 26192,
+ 10312,
+ -5450,
+ 2906,
+ -1109,
+ -57,
+ 638,
+ -753,
+ 587,
+ -325,
+ 98,
+ 34,
+ -76,
+ 63,
+ -33,
+ 11,
+ 0
+
+};
+struct src_stage src_int16_3_2_3281_5000 = {
+ 1, 2, 3, 32, 96, 2, 3, 0, 0,
+ src_int16_3_2_3281_5000_fir};
diff --git a/src/include/reef/audio/coefficients/src/src_tiny_int16_7_8_3281_5000.h b/src/include/reef/audio/coefficients/src/src_tiny_int16_7_8_3281_5000.h
new file mode 100644
index 0000000..d926a4b
--- /dev/null
+++ b/src/include/reef/audio/coefficients/src/src_tiny_int16_7_8_3281_5000.h
@@ -0,0 +1,230 @@
+const int16_t src_int16_7_8_3281_5000_fir[224] = {
+ -4,
+ 12,
+ -1,
+ -51,
+ 110,
+ -85,
+ -107,
+ 390,
+ -480,
+ 69,
+ 811,
+ -1551,
+ 1176,
+ 1010,
+ -4828,
+ 9624,
+ 23409,
+ 6367,
+ -4772,
+ 1812,
+ 504,
+ -1348,
+ 972,
+ -183,
+ -334,
+ 385,
+ -172,
+ -28,
+ 91,
+ -56,
+ 10,
+ 6,
+ -6,
+ 17,
+ -12,
+ -38,
+ 120,
+ -141,
+ -22,
+ 351,
+ -587,
+ 338,
+ 546,
+ -1604,
+ 1790,
+ -4,
+ -4346,
+ 12905,
+ 22595,
+ 3311,
+ -4261,
+ 2348,
+ -155,
+ -1029,
+ 1021,
+ -393,
+ -169,
+ 342,
+ -212,
+ 24,
+ 65,
+ -55,
+ 18,
+ 2,
+ -4,
+ 20,
+ -26,
+ -18,
+ 117,
+ -186,
+ 75,
+ 269,
+ -639,
+ 596,
+ 195,
+ -1485,
+ 2273,
+ -1151,
+ -3277,
+ 16019,
+ 21018,
+ 610,
+ -3405,
+ 2595,
+ -737,
+ -635,
+ 963,
+ -545,
+ -2,
+ 270,
+ -226,
+ 68,
+ 36,
+ -48,
+ 21,
+ -2,
+ -4,
+ 22,
+ -39,
+ 7,
+ 99,
+ -217,
+ 176,
+ 149,
+ -628,
+ 814,
+ -212,
+ -1191,
+ 2559,
+ -2325,
+ -1613,
+ 18780,
+ 18780,
+ -1613,
+ -2325,
+ 2559,
+ -1191,
+ -212,
+ 814,
+ -628,
+ 149,
+ 176,
+ -216,
+ 99,
+ 7,
+ -39,
+ 22,
+ -4,
+ -2,
+ 21,
+ -48,
+ 36,
+ 68,
+ -226,
+ 269,
+ -2,
+ -545,
+ 963,
+ -635,
+ -737,
+ 2595,
+ -3404,
+ 610,
+ 21018,
+ 16019,
+ -3277,
+ -1151,
+ 2273,
+ -1485,
+ 195,
+ 596,
+ -639,
+ 270,
+ 75,
+ -186,
+ 117,
+ -18,
+ -26,
+ 20,
+ -4,
+ 2,
+ 18,
+ -55,
+ 65,
+ 24,
+ -212,
+ 342,
+ -169,
+ -393,
+ 1021,
+ -1029,
+ -155,
+ 2348,
+ -4260,
+ 3311,
+ 22595,
+ 12905,
+ -4346,
+ -5,
+ 1790,
+ -1604,
+ 546,
+ 338,
+ -587,
+ 351,
+ -22,
+ -141,
+ 120,
+ -38,
+ -12,
+ 17,
+ -6,
+ 6,
+ 10,
+ -56,
+ 91,
+ -28,
+ -173,
+ 385,
+ -334,
+ -183,
+ 972,
+ -1348,
+ 504,
+ 1812,
+ -4771,
+ 6367,
+ 23409,
+ 9625,
+ -4828,
+ 1010,
+ 1176,
+ -1551,
+ 811,
+ 69,
+ -480,
+ 390,
+ -107,
+ -85,
+ 110,
+ -51,
+ -1,
+ 12,
+ -4
+
+};
+struct src_stage src_int16_7_8_3281_5000 = {
+ 1, 1, 7, 32, 224, 8, 7, 0, 0,
+ src_int16_7_8_3281_5000_fir};
diff --git a/src/include/reef/audio/coefficients/src/src_tiny_int16_8_7_3281_5000.h b/src/include/reef/audio/coefficients/src/src_tiny_int16_8_7_3281_5000.h
new file mode 100644
index 0000000..baf6bcf
--- /dev/null
+++ b/src/include/reef/audio/coefficients/src/src_tiny_int16_8_7_3281_5000.h
@@ -0,0 +1,230 @@
+const int16_t src_int16_8_7_3281_5000_fir[224] = {
+ -5,
+ 19,
+ -29,
+ 8,
+ 78,
+ -242,
+ 440,
+ -548,
+ 386,
+ 223,
+ -1361,
+ 2965,
+ -4869,
+ 7277,
+ 26753,
+ 3784,
+ -3890,
+ 2924,
+ -1697,
+ 624,
+ 78,
+ -382,
+ 391,
+ -259,
+ 114,
+ -21,
+ -14,
+ 14,
+ -6,
+ 23,
+ -44,
+ 41,
+ 28,
+ -196,
+ 445,
+ -671,
+ 681,
+ -242,
+ -842,
+ 2683,
+ -5453,
+ 11000,
+ 25822,
+ 697,
+ -2657,
+ 2598,
+ -1834,
+ 927,
+ -209,
+ -193,
+ 307,
+ -247,
+ 134,
+ -43,
+ 0,
+ 8,
+ -5,
+ 25,
+ -56,
+ 74,
+ -32,
+ -122,
+ 401,
+ -732,
+ 930,
+ -725,
+ -177,
+ 2070,
+ -5518,
+ 14749,
+ 24021,
+ -1844,
+ -1316,
+ 2046,
+ -1773,
+ 1111,
+ -449,
+ -3,
+ 201,
+ -212,
+ 137,
+ -58,
+ 11,
+ 3,
+ -4,
+ 24,
+ -63,
+ 104,
+ -97,
+ -25,
+ 308,
+ -718,
+ 1101,
+ -1176,
+ 575,
+ 1154,
+ -4967,
+ 18308,
+ 21463,
+ -3745,
+ -6,
+ 1344,
+ -1541,
+ 1167,
+ -623,
+ 170,
+ 86,
+ -160,
+ 126,
+ -65,
+ 19,
+ 0,
+ 0,
+ 19,
+ -64,
+ 126,
+ -160,
+ 86,
+ 170,
+ -623,
+ 1167,
+ -1541,
+ 1344,
+ -6,
+ -3745,
+ 21463,
+ 18308,
+ -4967,
+ 1154,
+ 575,
+ -1176,
+ 1101,
+ -718,
+ 308,
+ -25,
+ -97,
+ 104,
+ -63,
+ 24,
+ -4,
+ 3,
+ 11,
+ -58,
+ 137,
+ -212,
+ 201,
+ -3,
+ -449,
+ 1111,
+ -1773,
+ 2046,
+ -1316,
+ -1844,
+ 24021,
+ 14749,
+ -5518,
+ 2070,
+ -178,
+ -725,
+ 930,
+ -732,
+ 401,
+ -122,
+ -32,
+ 74,
+ -56,
+ 25,
+ -5,
+ 8,
+ 0,
+ -43,
+ 134,
+ -247,
+ 307,
+ -193,
+ -209,
+ 927,
+ -1834,
+ 2598,
+ -2657,
+ 697,
+ 25822,
+ 11000,
+ -5453,
+ 2683,
+ -842,
+ -242,
+ 681,
+ -671,
+ 445,
+ -196,
+ 28,
+ 41,
+ -44,
+ 23,
+ -6,
+ 14,
+ -14,
+ -21,
+ 114,
+ -259,
+ 391,
+ -382,
+ 78,
+ 624,
+ -1697,
+ 2924,
+ -3890,
+ 3784,
+ 26753,
+ 7277,
+ -4869,
+ 2965,
+ -1361,
+ 223,
+ 386,
+ -548,
+ 440,
+ -242,
+ 78,
+ 8,
+ -29,
+ 19,
+ -5
+
+};
+struct src_stage src_int16_8_7_3281_5000 = {
+ 6, 7, 8, 28, 224, 7, 8, 0, 0,
+ src_int16_8_7_3281_5000_fir};
diff --git a/src/include/reef/audio/coefficients/src/src_tiny_int16_define.h b/src/include/reef/audio/coefficients/src/src_tiny_int16_define.h
index 5231cb9..dd8d4e3 100644
--- a/src/include/reef/audio/coefficients/src/src_tiny_int16_define.h
+++ b/src/include/reef/audio/coefficients/src/src_tiny_int16_define.h
@@ -1,5 +1,5 @@
/* SRC constants */
-#define MAX_FIR_DELAY_SIZE 415
+#define MAX_FIR_DELAY_SIZE 424
#define MAX_OUT_DELAY_SIZE 401
#define MAX_BLK_IN 21
#define MAX_BLK_OUT 21
@@ -8,4 +8,4 @@
#define STAGE1_TIMES_MAX 21
#define STAGE2_TIMES_MAX 21
#define STAGE_BUF_SIZE 168
-#define NUM_ALL_COEFFICIENTS 1320
+#define NUM_ALL_COEFFICIENTS 2020
diff --git a/src/include/reef/audio/coefficients/src/src_tiny_int16_table.h b/src/include/reef/audio/coefficients/src/src_tiny_int16_table.h
index 0d4f9d0..052867d 100644
--- a/src/include/reef/audio/coefficients/src/src_tiny_int16_table.h
+++ b/src/include/reef/audio/coefficients/src/src_tiny_int16_table.h
@@ -1,16 +1,16 @@
/* SRC conversions */
-#include <reef/audio/coefficients/src/src_tiny_int16_1_2_3750_5100.h>
-#include <reef/audio/coefficients/src/src_tiny_int16_1_3_1875_5100.h>
-#include <reef/audio/coefficients/src/src_tiny_int16_1_3_3750_5100.h>
-#include <reef/audio/coefficients/src/src_tiny_int16_2_1_3750_5100.h>
-#include <reef/audio/coefficients/src/src_tiny_int16_2_3_3750_5100.h>
-#include <reef/audio/coefficients/src/src_tiny_int16_3_1_1875_5100.h>
-#include <reef/audio/coefficients/src/src_tiny_int16_3_1_3750_5100.h>
-#include <reef/audio/coefficients/src/src_tiny_int16_3_2_3750_5100.h>
-#include <reef/audio/coefficients/src/src_tiny_int16_7_8_3750_5100.h>
-#include <reef/audio/coefficients/src/src_tiny_int16_8_7_3750_5100.h>
-#include <reef/audio/coefficients/src/src_tiny_int16_20_21_3445_5100.h>
-#include <reef/audio/coefficients/src/src_tiny_int16_21_20_3445_5100.h>
+#include <reef/audio/coefficients/src/src_tiny_int16_1_2_3281_5000.h>
+#include <reef/audio/coefficients/src/src_tiny_int16_1_3_1641_5000.h>
+#include <reef/audio/coefficients/src/src_tiny_int16_1_3_3281_5000.h>
+#include <reef/audio/coefficients/src/src_tiny_int16_2_1_3281_5000.h>
+#include <reef/audio/coefficients/src/src_tiny_int16_2_3_3281_5000.h>
+#include <reef/audio/coefficients/src/src_tiny_int16_3_1_1641_5000.h>
+#include <reef/audio/coefficients/src/src_tiny_int16_3_1_3281_5000.h>
+#include <reef/audio/coefficients/src/src_tiny_int16_3_2_3281_5000.h>
+#include <reef/audio/coefficients/src/src_tiny_int16_7_8_3281_5000.h>
+#include <reef/audio/coefficients/src/src_tiny_int16_8_7_3281_5000.h>
+#include <reef/audio/coefficients/src/src_tiny_int16_20_21_3015_5000.h>
+#include <reef/audio/coefficients/src/src_tiny_int16_21_20_3015_5000.h>
/* SRC table */
int16_t fir_one = 16384;
@@ -21,33 +21,33 @@ int src_out_fs[6] = { 8000, 16000, 24000, 32000, 44100, 48000};
struct src_stage *src_table1[6][6] = {
{ &src_int16_1_1_0_0, &src_int16_0_0_0_0,
&src_int16_0_0_0_0, &src_int16_0_0_0_0,
- &src_int16_0_0_0_0, &src_int16_1_3_1875_5100
+ &src_int16_0_0_0_0, &src_int16_1_3_1641_5000
},
{ &src_int16_0_0_0_0, &src_int16_1_1_0_0,
&src_int16_0_0_0_0, &src_int16_0_0_0_0,
- &src_int16_0_0_0_0, &src_int16_1_3_3750_5100
+ &src_int16_0_0_0_0, &src_int16_1_3_3281_5000
},
{ &src_int16_0_0_0_0, &src_int16_0_0_0_0,
&src_int16_1_1_0_0, &src_int16_0_0_0_0,
- &src_int16_0_0_0_0, &src_int16_1_2_3750_5100
+ &src_int16_0_0_0_0, &src_int16_1_2_3281_5000
},
{ &src_int16_0_0_0_0, &src_int16_0_0_0_0,
&src_int16_0_0_0_0, &src_int16_1_1_0_0,
- &src_int16_0_0_0_0, &src_int16_2_3_3750_5100
+ &src_int16_0_0_0_0, &src_int16_2_3_3281_5000
},
{ &src_int16_0_0_0_0, &src_int16_0_0_0_0,
&src_int16_0_0_0_0, &src_int16_0_0_0_0,
- &src_int16_1_1_0_0, &src_int16_21_20_3445_5100
+ &src_int16_1_1_0_0, &src_int16_21_20_3015_5000
},
- { &src_int16_2_1_3750_5100, &src_int16_3_1_3750_5100,
- &src_int16_2_1_3750_5100, &src_int16_3_2_3750_5100,
- &src_int16_8_7_3750_5100, &src_int16_1_1_0_0
+ { &src_int16_2_1_3281_5000, &src_int16_3_1_3281_5000,
+ &src_int16_2_1_3281_5000, &src_int16_3_2_3281_5000,
+ &src_int16_8_7_3281_5000, &src_int16_1_1_0_0
}
};
struct src_stage *src_table2[6][6] = {
{ &src_int16_1_1_0_0, &src_int16_0_0_0_0,
&src_int16_0_0_0_0, &src_int16_0_0_0_0,
- &src_int16_0_0_0_0, &src_int16_1_2_3750_5100
+ &src_int16_0_0_0_0, &src_int16_1_2_3281_5000
},
{ &src_int16_0_0_0_0, &src_int16_1_1_0_0,
&src_int16_0_0_0_0, &src_int16_0_0_0_0,
@@ -63,10 +63,10 @@ struct src_stage *src_table2[6][6] = {
},
{ &src_int16_0_0_0_0, &src_int16_0_0_0_0,
&src_int16_0_0_0_0, &src_int16_0_0_0_0,
- &src_int16_1_1_0_0, &src_int16_7_8_3750_5100
+ &src_int16_1_1_0_0, &src_int16_7_8_3281_5000
},
- { &src_int16_3_1_1875_5100, &src_int16_1_1_0_0,
+ { &src_int16_3_1_1641_5000, &src_int16_1_1_0_0,
&src_int16_1_1_0_0, &src_int16_1_1_0_0,
- &src_int16_20_21_3445_5100, &src_int16_1_1_0_0
+ &src_int16_20_21_3015_5000, &src_int16_1_1_0_0
}
};
--
2.14.1
More information about the Sound-open-firmware
mailing list