search for: cheb_poly_eva

Displaying 6 results from an estimated 6 matches for "cheb_poly_eva".

2005 Nov 29
1
cheb_poly_eva using Clenshaw's recurrence formula
> > I don't really know if it's a little improvement or not, so I'd like > > to have feedback from the Speex experts here. I'd have to test, but it looks right. I don't expect much improvement, but it makes the code simpler, especially for memory. Would also have to test on fixed-point and see if it works. > Maybe a new implementation should use the algorithm
2005 Nov 29
2
cheb_poly_eva using Clenshaw's recurrence formula
Hi, After reading the paper entitled "The Computation of Line Spectral Frequencies Using Chebyshev Polynomials", P. Kabal and R. Ramachandran, IEEE Trans. on ASSP, Vol. 34, No. 6, December 1986, I rewrite the function cheb_poly_eva in lsp.c using the Clenshaw's recurrence formula, as described, for example, in Numerical Recipes in C, Second Edition (5.5 and 5.8) : static float cheb_poly_eva(spx_word32_t *coef, float x, int m, char *stack) { int k; float b0, b1, tmp; int m2=m>>1; /* Initial conditions */ b0=0;...
2005 Nov 29
0
cheb_poly_eva using Clenshaw's recurrence formula
Hello, Matthieu Poullet schrieb: > static float cheb_poly_eva(spx_word32_t *coef, float x, int m, char *stack) > { > int k; > float b0, b1, tmp; > int m2=m>>1; > > /* Initial conditions */ > b0=0; /* b_(m+1) */ > b1=0; /* b_(m+2) */ > > x*=2; > > /* Calculate the b_(k) */ > for(k=m2;k>0;k--) > {...
2006 Jan 18
2
TI 6xxx platform performance
...1 200 18106210 3694787 compute_impulse_response 200 3084502 3084502 open_loop_nbest_pitch 199 18400309 2817913 pitch_gain_search_3tap 199 7002859 2696353 _spx_autocorr 50 2211100 2211100 lsp_to_lpc 450 2076854 2076854 nb_encode 50 71523682 1938067 fir_mem2 50 1777450 1777450 cheb_poly_eva 9634 1564172 1564172 lsp_weight_quant 100 1032600 1032600 Does this make sense? I'm generating floating point code, using the optimizer, etc... Has anyone posted DM642, C64xx or C67xx benchmarks?
2006 Jan 18
2
Errors in speex lib with Blackfin
Hello! I'v downloaded speex lib 1.1.11.1. I am trying to port speex lib to Blackfin processor. I am using VisualDSP++ 4.0. If I am compiling source codes with using floating point everything ok. When I am compiling with FIXED_POINT defined everything's ok and code works about two times faster. But when I am defining BFIN_ASM I am getting several compiling errors in Blackfin assembler
2009 Apr 24
2
[PATCH] Blackfin: cleanup astat/cc/hardware loop asm clobbers
...ot;memory", + "ASTAT" BFIN_HWLOOP0_REGS BFIN_HWLOOP1_REGS ); d=0; for (j=0;j<n;j++) diff --git a/libspeex/lsp_bfin.h b/libspeex/lsp_bfin.h index 20e5052..530367c 100644 --- a/libspeex/lsp_bfin.h +++ b/libspeex/lsp_bfin.h @@ -79,7 +79,7 @@ static inline spx_word32_t cheb_poly_eva( "%0 = R3;\n\t" : "=&d" (sum) : "a" (x), "a" (&coef[m]), "a" (m-1) - : "R0", "R1", "R3", "R2", "R4", "R5", "P0", "P1" + : "R0...