Hi, I am an applications engineer for Texas Instruments in the UK. I am trying to port the CELT codec to the C5505, this has HW accelerated FFT engine (http://focus.ti.com/docs/prod/folders/print/tms320vc5505.html). I am having problems with the stack allocation. Do you have any reference code that compiles for the C55x under CCS (code composer studio)? ******************************* Tony Cave Senior Embedded Processor FAE Texas Instruments Limited 3000 Aviator way Manchester M22 5TG Mb: +44-7917-183293 ******************************* Texas Instruments Limited, 800 Pavilion Drive, Northampton, NN4 7YL. Registered in England & Wales under company number 00574102 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/opus/attachments/20091216/88613224/attachment-0001.htm
Hi, There's are already some C55-specific optimisations in the code. You can enable them by defining CONFIG_TI_C55X and ENABLE_TI_DSPLIB. As for the stack allocation, it's just a fallback for compilers that don't support C99 arrays and have a broken alloca() -- it's always best not to use it. Still, can you tell me what problem you are seeing with it? Cheers, Jean-Marc On 16/12/09 05:38, Cave, Tony wrote:> Hi, > > I am an applications engineer for Texas Instruments in the UK. I am > trying to port the CELT codec to the C5505, this has HW accelerated FFT > engine (http://focus.ti.com/docs/prod/folders/print/tms320vc5505.html). > > I am having problems with the stack allocation. Do you have any > reference code that compiles for the C55x under CCS (code composer studio)? > > ******************************* > > Tony Cave > > Senior Embedded Processor FAE > > Texas Instruments Limited > > 3000 Aviator way > > Manchester > > M22 5TG > > Mb: +44-7917-183293 > > ******************************* > > Texas Instruments Limited, 800 Pavilion Drive, Northampton, NN4 7YL. > Registered in England & Wales under company number 00574102 > > > > _______________________________________________ > celt-dev mailing list > celt-dev at xiph.org > http://lists.xiph.org/mailman/listinfo/celt-dev
Jean-Marc, Thank you for the tips. I think I have solved the stack issue (I noticed the C99 array issue and avoided this). I will probably create an alloca.h (I think this is the correct thing to do). I am happy to feed back any work I do, if you want me to do this what is the process? Tony. Texas Instruments Limited, 800 Pavilion Drive, Northampton, NN4 7YL. Registered in England & Wales under company number 00574102 ----- Original Message ----- From: Jean-Marc Valin <jean-marc.valin at usherbrooke.ca> To: Cave, Tony Cc: celt-dev at xiph.org <celt-dev at xiph.org> Sent: Thu Dec 17 03:18:43 2009Subject: Re: [CELT-dev] Porting CELt to the C5505 Hi, There's are already some C55-specific optimisations in the code. You can enable them by defining CONFIG_TI_C55X and ENABLE_TI_DSPLIB. As for the stack allocation, it's just a fallback for compilers that don't support C99 arrays and have a broken alloca() -- it's always best not to use it. Still, can you tell me what problem you are seeing with it? Cheers, Jean-Marc On 16/12/09 05:38, Cave, Tony wrote:> Hi, > > I am an applications engineer for Texas Instruments in the UK. I am > trying to port the CELT codec to the C5505, this has HW accelerated FFT > engine (http://focus.ti.com/docs/prod/folders/print/tms320vc5505.html). > > I am having problems with the stack allocation. Do you have any > reference code that compiles for the C55x under CCS (code composer studio)? > > ******************************* > > Tony Cave > > Senior Embedded Processor FAE > > Texas Instruments Limited > > 3000 Aviator way > > Manchester > > M22 5TG > > Mb: +44-7917-183293 > > ******************************* > > Texas Instruments Limited, 800 Pavilion Drive, Northampton, NN4 7YL. > Registered in England & Wales under company number 00574102 > > > > _______________________________________________ > celt-dev mailing list > celt-dev at xiph.org > http://lists.xiph.org/mailman/listinfo/celt-dev