[xiph-commits] r8856 - trunk/speex/libspeex

jm at motherfish-iii.xiph.org jm at motherfish-iii.xiph.org
Mon Feb 7 01:03:44 PST 2005


Author: jm
Date: 2005-02-07 01:03:42 -0800 (Mon, 07 Feb 2005)
New Revision: 8856

Modified:
   trunk/speex/libspeex/fixed_arm4.h
   trunk/speex/libspeex/fixed_arm5e.h
   trunk/speex/libspeex/ltp_arm4.h
Log:
oops. Fixed some bad copy/paste


Modified: trunk/speex/libspeex/fixed_arm4.h
===================================================================
--- trunk/speex/libspeex/fixed_arm4.h	2005-02-07 08:46:56 UTC (rev 8855)
+++ trunk/speex/libspeex/fixed_arm4.h	2005-02-07 09:03:42 UTC (rev 8856)
@@ -84,7 +84,7 @@
 
 
 //#define DIV32_16(a,b) ((short)(((signed int)(a))/((short)(b))))
-inline short DIV3216(int a, int b)
+static inline short DIV32_16(int a, int b)
 {
    int res=0;
    int dead1, dead2, dead3, dead4, dead5;

Modified: trunk/speex/libspeex/fixed_arm5e.h
===================================================================
--- trunk/speex/libspeex/fixed_arm5e.h	2005-02-07 08:46:56 UTC (rev 8855)
+++ trunk/speex/libspeex/fixed_arm5e.h	2005-02-07 09:03:42 UTC (rev 8856)
@@ -118,7 +118,7 @@
 /*
 #define DIV32_16(a,b) ((short)(((signed int)(a))/((short)(b))))
 */
-inline short DIV3216(int a, int b)
+static inline short DIV3216(int a, int b)
 {
    int res=0;
    int dead1, dead2, dead3, dead4, dead5;

Modified: trunk/speex/libspeex/ltp_arm4.h
===================================================================
--- trunk/speex/libspeex/ltp_arm4.h	2005-02-07 08:46:56 UTC (rev 8855)
+++ trunk/speex/libspeex/ltp_arm4.h	2005-02-07 09:03:42 UTC (rev 8856)
@@ -29,7 +29,7 @@
    NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
-static spx_word32_t inner_prod(const spx_word16_t *x, const spx_word16_t *y, int
+static spx_word32_t inner_prod(const spx_word16_t *x, const spx_word16_t *y, int len)
 {
    spx_word32_t sum1=0,sum2=0;
    spx_word16_t *deadx, *deady;
@@ -72,14 +72,14 @@
          "\tadd %3, %3, %10, asr #5\n"
          "\tbne .inner_prod_loop\n"
    : "=r" (deadx), "=r" (deady), "=r" (sum1),  "=r" (sum2), "=r" (deadlen),
-   "=r" (dead1), "=r" (dead2), "=r" (dead3), "=r" (dead4), "=r" (dead5), "=r"
+   "=r" (dead1), "=r" (dead2), "=r" (dead3), "=r" (dead4), "=r" (dead5), "=r" (dead6)
    : "0" (x), "1" (y), "2" (sum1), "3" (sum2), "4" (len>>3)
    : "cc", "memory"
                         );
    return (sum1+sum2)>>1;
 }
          
-static void pitch_xcorr(const spx_word16_t *_x, const spx_word16_t *_y, spx_word
+static void pitch_xcorr(const spx_word16_t *_x, const spx_word16_t *_y, spx_word32_t *corr, int len, int nb_pitch, char *stack)
 {
    int i,j;
    for (i=0;i<nb_pitch;i+=4)



More information about the commits mailing list