Hello all, I have recently ported Vorbis to a Texas instruments DSP (TMS320C5510), The problem I have is that it is not decoding the audio in real time( about 50% of real time). Could any one give me a clue in which area I could start to optimize the code. Regards Kevin <p><p><p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Hello kevin I want to implemente ogg vorbis encoder in the fixed point DSP TMS320DM642. Does you convert the algorithm in fixed point? What modifications have you done on the code source to implemente it in the DSP? Many thanks Guillaume <p>>From: "Kev" <kevin.hipkiss1@btopenworld.com>>Reply-To: vorbis-dev@xiph.org >To: <vorbis-dev@xiph.org> >Subject: [vorbis-dev] Optimizing Vorbis for a DSP >Date: Sun, 28 Mar 2004 16:15:09 +0100 > >Hello all, > >I have recently ported Vorbis to a Texas instruments DSP (TMS320C5510), The >problem I have is that it is not decoding the audio in real time( about 50% >of real time). Could any one give me a clue in which area I could start to >optimize the code. > >Regards > >Kevin > >_________________________________________________________________ Dialoguez en direct et gratuitement avec vos amis sur http://g.msn.fr/FR1001/866 MSN Messenger ! --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
> I have recently ported Vorbis to a Texas instruments DSP (TMS320C5510), > The problem I have is that it is not decoding the audio in real time( > about 50% of real time). Could any one give me a clue in which area I > could start to optimize the code.Well, a few weeks ago Johannes Sandvall posted to the list about "replacing the IMDCT with a N/4 FFT", which I seem to recall gave a large speedup; his report is here: http://www.sandvall.nu/thesis.pdf And my crufty brain seems to recall that profiling has determined that more time is spent in the function "mdct_backward" than any other, but I could be way off base. Others on the list are much more qualified than I am, but sometimes a faster, mediocre response is better than a slower, perfect one. At least that's what I'm banking on, anyway. -- Graham Mitchell - computer science teacher, Leander High School "We draw people to Christ not by loudly discrediting what they believe, by telling them how wrong they are and how right we are, but by showing them a light that is so lovely that they want with all their hearts to know the source of it." -- Madeleine L'Engle, "Walking on Water" --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Monday 29 March 2004 01:15, Kev wrote:> Hello all, > > I have recently ported Vorbis to a Texas instruments DSP (TMS320C5510), The > problem I have is that it is not decoding the audio in real time( about 50% > of real time). Could any one give me a clue in which area I could start to > optimize the code. >Are you aware of 'Tremor'? It's our fixed-point implementation of a vorbis decoder, and it should be much easier to get to run fast enough on your hardware. Mike --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.