Saju Palayur <saju_pa at hotmail.com> writes:> Hi > > > > We have ported the Narrow band 8 Khz Speex encoder and decoder on to TI DSP 5505 > > > > To compress 20ms of 16 bit audio sampled at 8Khz it takes 4.2ms. > > Is there any optimizations I can do to make it run faster.The first thing to do would be to profile the code (I assume you're using CCS) and see where the most time is being spent. --Randy> > > Thanks for yor time > > > > Regards > > Saju > > > _______________________________________________ > Speex-dev mailing list > Speex-dev at xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev-- Randy Yates % "She tells me that she likes me very much, Digital Signal Labs % but when I try to touch, she makes it mailto://yates at ieee.org % all too clear." http://www.digitalsignallabs.com % 'Yours Truly, 2095', *Time*, ELO
Hi When we run the profiler these 3 functions take more than 8500 cycles. split_cb_search_shape_sign_N1() 22782 pitch_search_3tap() 19208 lpc_to_lsp() 16007 So can I configure these in a different way so it takes less cycles. I do not need very high sound quality Thanks for your time Warm Regards Saju > From: yates at ieee.org> To: saju_pa at hotmail.com > CC: speex-dev at xiph.org > Subject: Re: [Speex-dev] Speex on TI DSP 5505 > Date: Mon, 29 Mar 2010 19:55:55 -0400 > > Saju Palayur <saju_pa at hotmail.com> writes: > > > Hi > > > > > > > > We have ported the Narrow band 8 Khz Speex encoder and decoder on to TI DSP 5505 > > > > > > > > To compress 20ms of 16 bit audio sampled at 8Khz it takes 4.2ms. > > > > Is there any optimizations I can do to make it run faster. > > The first thing to do would be to profile the code (I assume you're > using CCS) and see where the most time is being spent. > > --Randy > > > > > > > Thanks for yor time > > > > > > > > Regards > > > > Saju > > > > > > _______________________________________________ > > Speex-dev mailing list > > Speex-dev at xiph.org > > http://lists.xiph.org/mailman/listinfo/speex-dev > > -- > Randy Yates % "She tells me that she likes me very much, > Digital Signal Labs % but when I try to touch, she makes it > mailto://yates at ieee.org % all too clear." > http://www.digitalsignallabs.com % 'Yours Truly, 2095', *Time*, ELO-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20100330/9d762cd1/attachment.htm
Saju Palayur <saju_pa at hotmail.com> writes:> Hi > > > > When we run the profiler these 3 functions take more than 8500 cycles. > > > > split_cb_search_shape_sign_N1() 22782 > pitch_search_3tap() 19208 > lpc_to_lsp() 16007 > > So can I configure these in a different way so it takes less cycles.I am not familiar with the code, so I can't say. I was trying to teach you how to optimize, not give you an optimization. --Randy> I do not need very high sound quality > > Thanks for your time > > Warm Regards > Saju > > > From: yates at ieee.org >> To: saju_pa at hotmail.com >> CC: speex-dev at xiph.org >> Subject: Re: [Speex-dev] Speex on TI DSP 5505 >> Date: Mon, 29 Mar 2010 19:55:55 -0400 >> >> Saju Palayur <saju_pa at hotmail.com> writes: >> >> > Hi >> > >> > >> > >> > We have ported the Narrow band 8 Khz Speex encoder and decoder on to TI DSP 5505 >> > >> > >> > >> > To compress 20ms of 16 bit audio sampled at 8Khz it takes 4.2ms. >> > >> > Is there any optimizations I can do to make it run faster. >> >> The first thing to do would be to profile the code (I assume you're >> using CCS) and see where the most time is being spent. >> >> --Randy >> >> > >> > >> > Thanks for yor time >> > >> > >> > >> > Regards >> > >> > Saju >> > >> > >> > _______________________________________________ >> > Speex-dev mailing list >> > Speex-dev at xiph.org >> > http://lists.xiph.org/mailman/listinfo/speex-dev >> >> -- >> Randy Yates % "She tells me that she likes me very much, >> Digital Signal Labs % but when I try to touch, she makes it >> mailto://yates at ieee.org % all too clear." >> http://www.digitalsignallabs.com % 'Yours Truly, 2095', *Time*, ELO >-- Randy Yates % "Ticket to the moon, flight leaves here today Digital Signal Labs % from Satellite 2" mailto://yates at ieee.org % 'Ticket To The Moon' http://www.digitalsignallabs.com % *Time*, Electric Light Orchestra