123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245 |
- /* 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"
- /* codebook/lsp1.txt */
- static const float codes0[] = {
- 225,
- 250,
- 275,
- 300,
- 325,
- 350,
- 375,
- 400,
- 425,
- 450,
- 475,
- 500,
- 525,
- 550,
- 575,
- 600
- };
- /* codebook/lsp2.txt */
- static const float codes1[] = {
- 325,
- 350,
- 375,
- 400,
- 425,
- 450,
- 475,
- 500,
- 525,
- 550,
- 575,
- 600,
- 625,
- 650,
- 675,
- 700
- };
- /* codebook/lsp3.txt */
- static const float codes2[] = {
- 500,
- 550,
- 600,
- 650,
- 700,
- 750,
- 800,
- 850,
- 900,
- 950,
- 1000,
- 1050,
- 1100,
- 1150,
- 1200,
- 1250
- };
- /* codebook/lsp4.txt */
- static const float codes3[] = {
- 700,
- 800,
- 900,
- 1000,
- 1100,
- 1200,
- 1300,
- 1400,
- 1500,
- 1600,
- 1700,
- 1800,
- 1900,
- 2000,
- 2100,
- 2200
- };
- /* codebook/lsp5.txt */
- static const float codes4[] = {
- 950,
- 1050,
- 1150,
- 1250,
- 1350,
- 1450,
- 1550,
- 1650,
- 1750,
- 1850,
- 1950,
- 2050,
- 2150,
- 2250,
- 2350,
- 2450
- };
- /* codebook/lsp6.txt */
- static const float codes5[] = {
- 1100,
- 1200,
- 1300,
- 1400,
- 1500,
- 1600,
- 1700,
- 1800,
- 1900,
- 2000,
- 2100,
- 2200,
- 2300,
- 2400,
- 2500,
- 2600
- };
- /* codebook/lsp7.txt */
- static const float codes6[] = {
- 1500,
- 1600,
- 1700,
- 1800,
- 1900,
- 2000,
- 2100,
- 2200,
- 2300,
- 2400,
- 2500,
- 2600,
- 2700,
- 2800,
- 2900,
- 3000
- };
- /* codebook/lsp8.txt */
- static const float codes7[] = {
- 2300,
- 2400,
- 2500,
- 2600,
- 2700,
- 2800,
- 2900,
- 3000
- };
- /* codebook/lsp9.txt */
- static const float codes8[] = {
- 2500,
- 2600,
- 2700,
- 2800,
- 2900,
- 3000,
- 3100,
- 3200
- };
- /* codebook/lsp10.txt */
- static const float codes9[] = {
- 2900,
- 3100,
- 3300,
- 3500
- };
- const struct lsp_codebook lsp_cb[] = {
- /* codebook/lsp1.txt */
- {
- 1,
- 4,
- 16,
- codes0
- },
- /* codebook/lsp2.txt */
- {
- 1,
- 4,
- 16,
- codes1
- },
- /* codebook/lsp3.txt */
- {
- 1,
- 4,
- 16,
- codes2
- },
- /* codebook/lsp4.txt */
- {
- 1,
- 4,
- 16,
- codes3
- },
- /* codebook/lsp5.txt */
- {
- 1,
- 4,
- 16,
- codes4
- },
- /* codebook/lsp6.txt */
- {
- 1,
- 4,
- 16,
- codes5
- },
- /* codebook/lsp7.txt */
- {
- 1,
- 4,
- 16,
- codes6
- },
- /* codebook/lsp8.txt */
- {
- 1,
- 3,
- 8,
- codes7
- },
- /* codebook/lsp9.txt */
- {
- 1,
- 3,
- 8,
- codes8
- },
- /* codebook/lsp10.txt */
- {
- 1,
- 2,
- 4,
- codes9
- },
- { 0, 0, 0, 0 }
- };
|