From 30325d24d107dbf133da39f7c96d1510fd1c9449 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Fri, 15 Aug 2025 12:42:40 +0200 Subject: Bump to codec2 version 1.2.0 --- codebooknewamp1.c | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'codebooknewamp1.c') diff --git a/codebooknewamp1.c b/codebooknewamp1.c index 6de33ee..4705acb 100644 --- a/codebooknewamp1.c +++ b/codebooknewamp1.c @@ -7,8 +7,12 @@ #include "defines.h" - /* /home/david/codec2-dev/src/codebook/train_120_1.txt */ + /* /Users/erdgeist/Coding/codec2/src/codebook/train_120_1.txt */ +#ifdef __EMBEDDED__ static const float codes0[] = { +#else +static float codes0[] = { +#endif 6.7484, 7.6125, 6.0332, 5.2789, 1.5239, 2.2353, 2.0748, 0.5289, 0.8748, 2.5432, -2.2863, -3.191, -0.0434, -1.9857, -3.3605, 0.7069, -5.9493, -0.5672, -0.6798, -18.0977, 4.0503, 3.9086, 2.9225, 2.3773, 0.658, -0.4363, -0.0644, 2.4063, 1.3428, 2.4542, 0.5275, 0.982, -1.3277, 0.6811, 0.0273, -0.1838, -0.0222, -0.6478, -2.2405, -17.4152, 13.3284, 12.1212, 10.6531, 9.8214, 11.0388, 15.812, 19.711, 16.5488, 16.1068, 15.8771, 7.2553, 4.2486, -6.0036, -12.5476, -20.1299, -28.2803, -25.3971, -21.7907, -11.5143, -26.859, @@ -522,8 +526,12 @@ static const float codes0[] = { 18.9039, 18.0327, 13.6297, 9.7561, 7.4319, 5.3744, 2.9646, 1.7415, 0.6716, 0.6859, 2.7446, 0.5342, -4.3187, -6.1877, -6.9311, -9.8734, -11.9041, -9.1281, -8.9591, -25.169, 6.4513, 6.7843, 9.4438, 12.9549, 16.4801, 14.9093, 8.2954, 1.6877, -2.5193, -4.4922, -6.7348, -6.9853, -4.6783, 0.7181, 1.0483, -5.1128, -1.1161, -7.5305, -12.398, -27.2058 }; - /* /home/david/codec2-dev/src/codebook/train_120_2.txt */ + /* /Users/erdgeist/Coding/codec2/src/codebook/train_120_2.txt */ +#ifdef __EMBEDDED__ static const float codes1[] = { +#else +static float codes1[] = { +#endif -1.2668, -1.2477, -0.0681, 3.8419, -0.0693, -1.7919, -1.5943, 0.8402, 0.155, -3.1526, -3.0204, 0.7337, -0.2603, 1.659, 0.023, 5.5893, -2.4959, 1.9604, -0.6348, 0.7999, 2.6673, 1.4923, 1.1408, -0.7478, -1.0755, -1.3421, -0.4884, 0.2535, 0.2951, 1.5088, 1.9447, -2.662, 2.3751, 1.5298, 4.1357, -6.563, -2.1766, -2.7535, -0.7706, 1.2362, -0.6415, -0.4348, -1.2178, -0.987, -1.1057, -2.1421, -2.3594, -0.4977, -4.1484, -4.712, 5.5425, 3.0695, 3.661, 2.9729, 2.4379, -1.6136, -1.3052, 2.1342, 1.9164, -0.5692, @@ -1039,14 +1047,14 @@ static const float codes1[] = { }; const struct lsp_codebook newamp1vq_cb[] = { - /* /home/david/codec2-dev/src/codebook/train_120_1.txt */ + /* /Users/erdgeist/Coding/codec2/src/codebook/train_120_1.txt */ { 20, 9, 512, codes0 }, - /* /home/david/codec2-dev/src/codebook/train_120_2.txt */ + /* /Users/erdgeist/Coding/codec2/src/codebook/train_120_2.txt */ { 20, 9, -- cgit v1.2.3