Hello, I'm sorry if this is not the correct place to ask this question but what I'm looking for is any data on the reality of Speex working on an ARM7 core? I'm looking at doing a few diffrent projects where I will be using a proc such as the LPC2378 with the ARM7TDMI-S core running at 72Mhz (although errata show only 60Mhz is currenlty possible). Do you know if there is a port that will work on this core? Thanks,Brett _________________________________________________________________ Connect to the next generation of MSN Messenger? http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20070906/97c12f24/attachment.html
2007/9/6, Brett Humphrey <directgumby@hotmail.com>:> > Hello, >Hi Brett,> I'm sorry if this is not the correct place to ask this question but what > I'm looking for is any data on the reality of Speex working on an ARM7 core? > I'm looking at doing a few diffrent projects where I will be using a proc > such as the LPC2378 with the ARM7TDMI-S core running at 72Mhz (although > errata show only 60Mhz is currenlty possible). > > Do you know if there is a port that will work on this core? >This is a recurring question here and I too asked it some time ago. I've done some testing with an Atmel AT91SAM7S at 55MHz and IAR 4 compiler with no luck. Even compiling Speex using the provided ARM v4 optimization and Fixed Point Macros I can only reach (narrowband encoding) a ratio of around 2:1 (40ms to compress a 20ms audio frame). I still hope that someone can say I'm wrong on this, but it seems to me that speex encoding require a bit more horsepower to be executed in real-time that what is available on the ARM7 architecture (talking about micros with onboard flash that tops around 60MHz). Best regards Pietro
Brett Humphrey wrote:> Hello, > > I'm sorry if this is not the correct place to ask this question but > what I'm looking for is any data on the reality of Speex working on > an ARM7 core? I'm looking at doing a few diffrent projects where I > will be using a proc such as the LPC2378 with the ARM7TDMI-S core > running at 72Mhz (although errata show only 60Mhz is currenlty > possible). > > Do you know if there is a port that will work on this core?There is an ARM port. It should work on 72 MHz and (maybe) on a 60 MHz. You'll need to write some assembly language though. Jean-Marc
> This is a recurring question here and I too asked it some time ago. > I've done some testing with an Atmel AT91SAM7S at 55MHz and IAR 4 > compiler with no luck. Even compiling Speex using the provided ARM v4 > optimization and Fixed Point Macros I can only reach (narrowband > encoding) a ratio of around 2:1 (40ms to compress a 20ms audio frame).Just to give an idea, in early 2005, I was optimising Speex for an ARM7DTMI chip and after a lot of tuning (assembly code), I got the 6 kbps (the least complex) mode barely working in real-time on a 72 MHz chip. Since then, there are many parts of Speex that were converted to use 16-bit multiplies instead of longer 32-bit multiplies. On most architectures, this speeds things up quite a bit. However, for ARM it ended up being slower because I had to throw away some of the (32-bit mul) assembly I had done. I expect that if this code was re-written in assembly for 16-bit multiplications, both 6 and 8 kbps would run on 72 MHz and *maybe* on 60 MHz. Last note: make sure you set the complexity setting to 1. Jean-Marc
Hey Jean, According to Pietro he has not been able to get it to run in realtime before. Personally I don't mind writting some assembly but from the sound of it no one has successfull gotten this to run yet on an ARM7 core. Is that a fair assumption? Also, if there are known areas where improvment is needed can you either a) send me a link to the previous posts on this and/or b) let me know where you feel the current sections are that could/should be optimized? Thank you for your time,Brett> Date: Fri, 7 Sep 2007 20:07:16 +1000> From: jean-marc.valin@usherbrooke.ca> To: directgumby@hotmail.com> CC: speex-dev@xiph.org> Subject: Re: [Speex-dev] Speex and the ARM7 Core> > Brett Humphrey wrote:> > Hello,> > > > I'm sorry if this is not the correct place to ask this question but> > what I'm looking for is any data on the reality of Speex working on> > an ARM7 core? I'm looking at doing a few diffrent projects where I> > will be using a proc such as the LPC2378 with the ARM7TDMI-S core> > running at 72Mhz (although errata show only 60Mhz is currenlty> > possible).> > > > Do you know if there is a port that will work on this core?> > There is an ARM port. It should work on 72 MHz and (maybe) on a 60 MHz.> You'll need to write some assembly language though.> > Jean-Marc_________________________________________________________________ Capture your memories in an online journal! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20070907/00e95ae9/attachment.html