[xiph-commits] r11415 - trunk/speex/libspeex
jm at svn.xiph.org
jm at svn.xiph.org
Sat May 20 16:10:10 PDT 2006
Author: jm
Date: 2006-05-20 16:10:07 -0700 (Sat, 20 May 2006)
New Revision: 11415
Modified:
trunk/speex/libspeex/arch.h
trunk/speex/libspeex/cb_search.c
Log:
oops. Fixed the float version
Modified: trunk/speex/libspeex/arch.h
===================================================================
--- trunk/speex/libspeex/arch.h 2006-05-20 23:03:48 UTC (rev 11414)
+++ trunk/speex/libspeex/arch.h 2006-05-20 23:10:07 UTC (rev 11415)
@@ -158,6 +158,8 @@
#define MULT16_16_Q14(a,b) ((a)*(b))
#define MULT16_16_Q15(a,b) ((a)*(b))
#define MULT16_16_P15(a,b) ((a)*(b))
+#define MULT16_16_P13(a,b) ((a)*(b))
+#define MULT16_16_P14(a,b) ((a)*(b))
#define DIV32_16(a,b) (((spx_word32_t)(a))/(spx_word16_t)(b))
#define PDIV32_16(a,b) (((spx_word32_t)(a))/(spx_word16_t)(b))
Modified: trunk/speex/libspeex/cb_search.c
===================================================================
--- trunk/speex/libspeex/cb_search.c 2006-05-20 23:03:48 UTC (rev 11414)
+++ trunk/speex/libspeex/cb_search.c 2006-05-20 23:10:07 UTC (rev 11415)
@@ -586,7 +586,7 @@
VARDECL(spx_sig_t *tmp);
ALLOC(tmp, nsf, spx_sig_t);
for (i=0;i<nsf;i++)
- tmp[i]=PSHR32(EXTEND32(target),SIG_SHIFT);
+ tmp[i]=PSHR32(EXTEND32(target[i]),SIG_SHIFT);
residue_percep_zero(tmp, ak, awk1, awk2, tmp, nsf, p, stack);
for (i=0;i<nsf;i++)
More information about the commits
mailing list