I saw a thread in the list archives about a speex port to TI 55x DSP. Wondering how that worked out (is working out)? Also wondering if there is a source archive for it, or if the patch in the email archives is still current, or if there's been updates. Any info appreciated. Thanks Paul
The patch is still valid, though it may require minor adjustments. Although support could be improved (optimizations, codebook packing), the patch should at least allow Speex to run on a C55. Jean-Marc Le mercredi 02 mars 2005 ? 15:00 -0600, Paul Gryting a ?crit :> I saw a thread in the list archives about a speex port to TI 55x DSP. > Wondering how that worked out (is working out)? > > Also wondering if there is a source archive for it, > or if the patch in the email archives is still current, or if there's been > updates. > > Any info appreciated. > Thanks > > Paul > > _______________________________________________ > Speex-dev mailing list > Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev-- Jean-Marc Valin <Jean-Marc.Valin@USherbrooke.ca> Universite de Sherbrooke -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20050302/473e20cf/attachment.pgp
Jean-Marc Valin wrote:> The patch is still valid, though it may require minor adjustments. > Although support could be improved (optimizations, codebook packing), > the patch should at least allow Speex to run on a C55.Speex decodes on a C5510 (at least, I think that's what I have) in floating point mode, with no modifications to the source. The patch makes integer mode work, which presumably is more efficient. If I had the manual to hand, I'd tell you exactly what I have, but I don't. Perhaps I mentioned the specs in an earlier list post. Gerv
Paul Gryting wrote:>I saw a thread in the list archives about a speex port to TI 55x DSP. >Wondering how that worked out (is working out)? > >Also wondering if there is a source archive for it, > or if the patch in the email archives is still current, or if there's been >updates. > > >My patch to provide fixed-point support for Speex on the TI 55xx DSP is available here: http://handhelds.org/~jamey/speex/speex-1.1.6-jeh2.patch The issue with codebooks that Jean-Marc mentioned is that the TI 55xx C compiler uses two bytes per char, so codebooks take more memory than they need to. The whole compress/decompress fit in SRAM, though, so it probably runs faster this way and consumes less power. I did update speex_bits to use all the bits in 2 byte chars. If I remember correctly, that patch also enables Speex fixed-point on Analog Devices Blackfin DSP. Hope this is helpful. Let me know if you find any issues with the patch. I've been working on things lower in the food chain lately so I have not had a chance to update it. Jamey
Hi Jamey, Something's wrong with your patch. It's 146387 lines long(!!) and includes the content of many files that weren't touched. Do you have anything smaller that would include only the changes you made? Jean-Marc Le jeudi 03 mars 2005 ? 08:13 -0500, Jamey Hicks a ?crit :> Paul Gryting wrote: > > >I saw a thread in the list archives about a speex port to TI 55x DSP. > >Wondering how that worked out (is working out)? > > > >Also wondering if there is a source archive for it, > > or if the patch in the email archives is still current, or if there's been > >updates. > > > > > > > My patch to provide fixed-point support for Speex on the TI 55xx DSP is > available here: > http://handhelds.org/~jamey/speex/speex-1.1.6-jeh2.patch > > The issue with codebooks that Jean-Marc mentioned is that the TI 55xx C > compiler uses two bytes per char, so codebooks take more memory than > they need to. The whole compress/decompress fit in SRAM, though, so it > probably runs faster this way and consumes less power. I did update > speex_bits to use all the bits in 2 byte chars. > > If I remember correctly, that patch also enables Speex fixed-point on > Analog Devices Blackfin DSP. > > Hope this is helpful. Let me know if you find any issues with the > patch. I've been working on things lower in the food chain lately so I > have not had a chance to update it. > > Jamey > > > _______________________________________________ > Speex-dev mailing list > Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev >-- Jean-Marc Valin <Jean-Marc.Valin@USherbrooke.ca> Universit? de Sherbrooke
Paul Gryting wrote:>I saw a thread in the list archives about a speex port to TI 55x DSP. >Wondering how that worked out (is working out)? > >Also wondering if there is a source archive for it, > or if the patch in the email archives is still current, or if there's been >updates. > > >I have an initial update of my patch for Speex for TI C55xx and Analog Devices Blackfin for Speex 1.1.7: http://handhelds.org/~jamey/speex/speex-1.1.7-jeh1.patch Other than verifying that it builds under x86 with various configuration options, I have not had a chance to test this, but wanted to let others have a look at it. Jamey
Hi Jamey, others, Here's an updated patch for C55 that should behave better for the general case. I changed the way the option works to disable wideband so that a wideband stream could still be decoded in narrowband even with --disable-wideband. Also, I noticed you broke MAC16_16 by changing the parameter order (I don't see how you could get it to work that way), so I reverted that change. Could everyone test that patch a little bit before I check it in? Jean-Marc Le lundi 07 mars 2005 ? 14:28 -0500, Jamey Hicks a ?crit :> Paul Gryting wrote: > > >I saw a thread in the list archives about a speex port to TI 55x DSP. > >Wondering how that worked out (is working out)? > > > >Also wondering if there is a source archive for it, > > or if the patch in the email archives is still current, or if there's been > >updates. > > > > > > > I have an initial update of my patch for Speex for TI C55xx and Analog > Devices Blackfin for Speex 1.1.7: > http://handhelds.org/~jamey/speex/speex-1.1.7-jeh1.patch > > Other than verifying that it builds under x86 with various configuration > options, I have not had a chance to test this, but wanted to let others > have a look at it. > > Jamey > > _______________________________________________ > Speex-dev mailing list > Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev >-- Jean-Marc Valin <Jean-Marc.Valin@USherbrooke.ca> Universit? de Sherbrooke -------------- next part -------------- A non-text attachment was scrubbed... Name: speex-jeh1-updated.patch Type: text/x-patch Size: 32369 bytes Desc: not available Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20050312/86b7bb42/speex-jeh1-updated-0001.bin
Jamey, There is a previous posting in the speex archives with a link to the dsp c5x patch. Archive link: http://lists.xiph.org/pipermail/speex-dev/2004-October/002847.html Patch link: http://lists.xiph.org/pipermail/speex-dev/attachments/20041029/facb8c73/spee x-1.1.6-jeh1-0001.bin But that patch is very different (much smaller) then the dsp c5x patch at http://handhelds.org/~jamey/speex/speex-1.1.6-jeh2.patch. I had appied the patch at this link: http://lists.xiph.org/pipermail/speex-dev/attachments/20041029/facb8c73/spee x-1.1.6-jeh1-0001.bin and enabled FIXED_POINT and speex is running on dsp c5x So now I'm wondering, did I get the whole patch? Which patch is the one I should be using? Regards, Paul -----Original Message----- From: Jamey Hicks [mailto:jamey.hicks@hp.com] Sent: Thursday, March 03, 2005 7:14 AM To: Paul Gryting Cc: speex-dev@xiph.org Subject: Re: [Speex-dev] Speex for TI 5509 DSP Paul Gryting wrote:>I saw a thread in the list archives about a speex port to TI 55x DSP. >Wondering how that worked out (is working out)? > >Also wondering if there is a source archive for it, > or if the patch in the email archives is still current, or if there'sbeen>updates. > > >My patch to provide fixed-point support for Speex on the TI 55xx DSP is available here: http://handhelds.org/~jamey/speex/speex-1.1.6-jeh2.patch The issue with codebooks that Jean-Marc mentioned is that the TI 55xx C compiler uses two bytes per char, so codebooks take more memory than they need to. The whole compress/decompress fit in SRAM, though, so it probably runs faster this way and consumes less power. I did update speex_bits to use all the bits in 2 byte chars. If I remember correctly, that patch also enables Speex fixed-point on Analog Devices Blackfin DSP. Hope this is helpful. Let me know if you find any issues with the patch. I've been working on things lower in the food chain lately so I have not had a chance to update it. Jamey