UHSDR/UHSDR-active-devel/mchf-eclipse/drivers/freedv/codebookd.c
2022-11-08 16:13:55 +01:00

434 lines
4.5 KiB
C

/* THIS IS A GENERATED FILE. Edit generate_codebook.c and its input */
/*
* This intermediary file and the files that used to create it are under
* The LGPL. See the file COPYING.
*/
#include "defines.h"
/* /home/danilo/MCHF/my-sw/codec2-dev/src/codebook/dlsp1.txt */
static const float codes0[] = {
25,
50,
75,
100,
125,
150,
175,
200,
225,
250,
275,
300,
325,
350,
375,
400,
425,
450,
475,
500,
525,
550,
575,
600,
625,
650,
675,
700,
725,
750,
775,
800
};
/* /home/danilo/MCHF/my-sw/codec2-dev/src/codebook/dlsp2.txt */
static const float codes1[] = {
25,
50,
75,
100,
125,
150,
175,
200,
225,
250,
275,
300,
325,
350,
375,
400,
425,
450,
475,
500,
525,
550,
575,
600,
625,
650,
675,
700,
725,
750,
775,
800
};
/* /home/danilo/MCHF/my-sw/codec2-dev/src/codebook/dlsp3.txt */
static const float codes2[] = {
25,
50,
75,
100,
125,
150,
175,
200,
225,
250,
275,
300,
325,
350,
375,
400,
425,
450,
475,
500,
525,
550,
575,
600,
625,
650,
675,
700,
725,
750,
775,
800
};
/* /home/danilo/MCHF/my-sw/codec2-dev/src/codebook/dlsp4.txt */
static const float codes3[] = {
25,
50,
75,
100,
125,
150,
175,
200,
250,
300,
350,
400,
450,
500,
550,
600,
650,
700,
750,
800,
850,
900,
950,
1000,
1050,
1100,
1150,
1200,
1250,
1300,
1350,
1400
};
/* /home/danilo/MCHF/my-sw/codec2-dev/src/codebook/dlsp5.txt */
static const float codes4[] = {
25,
50,
75,
100,
125,
150,
175,
200,
250,
300,
350,
400,
450,
500,
550,
600,
650,
700,
750,
800,
850,
900,
950,
1000,
1050,
1100,
1150,
1200,
1250,
1300,
1350,
1400
};
/* /home/danilo/MCHF/my-sw/codec2-dev/src/codebook/dlsp6.txt */
static const float codes5[] = {
25,
50,
75,
100,
125,
150,
175,
200,
250,
300,
350,
400,
450,
500,
550,
600,
650,
700,
750,
800,
850,
900,
950,
1000,
1050,
1100,
1150,
1200,
1250,
1300,
1350,
1400
};
/* /home/danilo/MCHF/my-sw/codec2-dev/src/codebook/dlsp7.txt */
static const float codes6[] = {
25,
50,
75,
100,
125,
150,
175,
200,
225,
250,
275,
300,
325,
350,
375,
400,
425,
450,
475,
500,
525,
550,
575,
600,
625,
650,
675,
700,
725,
750,
775,
800
};
/* /home/danilo/MCHF/my-sw/codec2-dev/src/codebook/dlsp8.txt */
static const float codes7[] = {
25,
50,
75,
100,
125,
150,
175,
200,
225,
250,
275,
300,
325,
350,
375,
400,
425,
450,
475,
500,
525,
550,
575,
600,
625,
650,
675,
700,
725,
750,
775,
800
};
/* /home/danilo/MCHF/my-sw/codec2-dev/src/codebook/dlsp9.txt */
static const float codes8[] = {
25,
50,
75,
100,
125,
150,
175,
200,
225,
250,
275,
300,
325,
350,
375,
400,
425,
450,
475,
500,
525,
550,
575,
600,
625,
650,
675,
700,
725,
750,
775,
800
};
/* /home/danilo/MCHF/my-sw/codec2-dev/src/codebook/dlsp10.txt */
static const float codes9[] = {
25,
50,
75,
100,
125,
150,
175,
200,
225,
250,
275,
300,
325,
350,
375,
400,
425,
450,
475,
500,
525,
550,
575,
600,
625,
650,
675,
700,
725,
750,
775,
800
};
const struct lsp_codebook lsp_cbd[] = {
/* /home/danilo/MCHF/my-sw/codec2-dev/src/codebook/dlsp1.txt */
{
1,
5,
32,
codes0
},
/* /home/danilo/MCHF/my-sw/codec2-dev/src/codebook/dlsp2.txt */
{
1,
5,
32,
codes1
},
/* /home/danilo/MCHF/my-sw/codec2-dev/src/codebook/dlsp3.txt */
{
1,
5,
32,
codes2
},
/* /home/danilo/MCHF/my-sw/codec2-dev/src/codebook/dlsp4.txt */
{
1,
5,
32,
codes3
},
/* /home/danilo/MCHF/my-sw/codec2-dev/src/codebook/dlsp5.txt */
{
1,
5,
32,
codes4
},
/* /home/danilo/MCHF/my-sw/codec2-dev/src/codebook/dlsp6.txt */
{
1,
5,
32,
codes5
},
/* /home/danilo/MCHF/my-sw/codec2-dev/src/codebook/dlsp7.txt */
{
1,
5,
32,
codes6
},
/* /home/danilo/MCHF/my-sw/codec2-dev/src/codebook/dlsp8.txt */
{
1,
5,
32,
codes7
},
/* /home/danilo/MCHF/my-sw/codec2-dev/src/codebook/dlsp9.txt */
{
1,
5,
32,
codes8
},
/* /home/danilo/MCHF/my-sw/codec2-dev/src/codebook/dlsp10.txt */
{
1,
5,
32,
codes9
},
{ 0, 0, 0, 0 }
};