search for: lsp_delta1

Displaying 4 results from an estimated 4 matches for "lsp_delta1".

Did you mean: lsp_delta2
2010 Jun 21
2
Strange style of includes
...one file compilation: libspeex.c that includes all of speex so that speex can be used in any library by simply adding reference to that .c file to a makefile (just like pthreads does). The is a minor problem though: nb_celp.c and sb_celp.c redefine the same macro with different values: LSP_MARGIN, LSP_DELTA1, LSP_DELTA2 (which result in a warning) and _kiss_fft_guts.h doesn't have header guards (results in errors). I really like speex, clean code and easy to read, so I just wanted to somehow ask for a little improvement if that's possible :) thanks
2010 Jun 22
0
Strange style of includes
...one file compilation: libspeex.c that includes all of speex so that speex can be used in any library by simply adding reference to that .c file to a makefile (just like pthreads does). The is a minor problem though: nb_celp.c and sb_celp.c redefine the same macro with different values: LSP_MARGIN, LSP_DELTA1, LSP_DELTA2 (which result in a warning) and _kiss_fft_guts.h doesn't have header guards (results in errors). kiss_fft could probably use some include guards. Other than that, if you want to do things like include all .c in the same file, just #undef the what you need. Cheers, Jean-Marc
2010 Jun 22
1
Strange style of includes
...: libspeex.c that includes all of speex so that > speex can be used in any library by simply adding reference to that .c file to a > makefile (just like pthreads does). The is a minor problem though: nb_celp.c and > sb_celp.c redefine the same macro with different values: LSP_MARGIN, > LSP_DELTA1, LSP_DELTA2 (which result in a warning) and _kiss_fft_guts.h > doesn't have header guards (results in errors). > > kiss_fft could probably use some include guards. Other than that, if you want to > do things like include all .c in the same file, just #undef the what you need. >...
2005 May 25
3
Speex on TI C6x, Problem with TI C5x Patch
...und[7]={1841, 3883, 6051, 8062, 10444, 13580, 18560}; const spx_word16_t exc_gain_quant_scal3[8]={1002, 2680, 5086, 7016, 9108, 11781, 15380, 21740}; const spx_word16_t exc_gain_quant_scal1_bound[1]={14385}; const spx_word16_t exc_gain_quant_scal1[2]={11546, 17224}; #define LSP_MARGIN 16 #define LSP_DELTA1 6553 #define LSP_DELTA2 1638 #else const float exc_gain_quant_scal3_bound[7]={0.112338, 0.236980, 0.369316, 0.492054, 0.637471, 0.828874, 1.132784}; const float exc_gain_quant_scal3[8]={0.061130, 0.163546, 0.310413, 0.428220, 0.555887, 0.719055, 0.938694, 1.326874}; const float exc_gain_quant_s...