Rules | Recent posts | topic RSS | Search | Register  | Log in

Small/efficient mp3 decoder in C

 
Post new topic  Reply to topic    EDAboard.com Forum Index -> Embedded Systems and Real-Time OS
Author Message
davorin



Joined: 07 Jun 2003
Posts: 1490
Helped: 8


Post13 Jul 2004 19:17   Small/efficient mp3 decoder in C

Has someone experience with mp3 decoders written in C?

Which one is the smallest by means of text/bss size?
And which implementation is the fastest for 32-bit systems?
Back to top
eltonjohn



Joined: 22 Feb 2002
Posts: 1558
Helped: 22


Post13 Jul 2004 19:35   Re: Small/efficient mp3 decoder in C

This is a nice thesis
check appendix D : the c code optimezed to be used with a DSP.

http://www.sparta.lu.se/~bjorn/whitney/thesis.htm
Back to top
davorin



Joined: 07 Jun 2003
Posts: 1490
Helped: 8


Post13 Jul 2004 19:37   Re: Small/efficient mp3 decoder in C

I know this project...but my target isn't a DSP (o;

Normal 32-bit CPU running around 120 - 150MHz....

Hmm..maybe I'll check the uclinux sources applications...but want to avoid the kernel overhead...
Back to top
eltonjohn



Joined: 22 Feb 2002
Posts: 1558
Helped: 22


Post13 Jul 2004 19:45   Re: Small/efficient mp3 decoder in C

The SOURCE code allows to compile in both OPTIONS DSP and NOT DSP .Which is basically to OPTIMAZE the floating point operation ,But it should compile in a BROAD type of architectures ,ARM ,,and even a fast 8051 like the cygnal ..
Back to top
davorin



Joined: 07 Jun 2003
Posts: 1490
Helped: 8


Post13 Jul 2004 19:46   Re: Small/efficient mp3 decoder in C

Hmm...well...long time ago I've visited this website and checked for any updates (o;

Have you tried it on several architectures and can you say something about performance?
Back to top
eltonjohn



Joined: 22 Feb 2002
Posts: 1558
Helped: 22


Post13 Jul 2004 19:53   Re: Small/efficient mp3 decoder in C

No the reason that i got interested is a little more complicated .. I wanted to use MP3 C code to convert it to HANDELC and sinthetize it in hardware ,, But i will probably use that as a student project next scholar year .

I also took a look atk mpeg321 and mpeg123 .. 321 is much more smaller than 123 .. But over all the smallest is the WITNEY one !

Cheers
Back to top
davorin



Joined: 07 Jun 2003
Posts: 1490
Helped: 8


Post13 Jul 2004 20:00   Re: Small/efficient mp3 decoder in C

Honestly target is a softcore in FPGA (o;

I threw away the stupid idea to use a US$800 FPGA to do simple mp3 decoding (o;
Back to top
eltonjohn



Joined: 22 Feb 2002
Posts: 1558
Helped: 22


Post13 Jul 2004 20:04   Re: Small/efficient mp3 decoder in C

You see ...... i said student ..project .. no money involved ..
but is a nice way to compare approaches in DSP, and FPGA .. The price only depends ultimatly on the quantity ,
Back to top
Henri



Joined: 14 Apr 2004
Posts: 7


Post02 Aug 2004 9:44   Re: Small/efficient mp3 decoder in C

Some integer decoders:

http://www.underbit.com/products/mad/
https://datatype.helixcommunity.org/mp3dec.html
Back to top
deepspawn



Joined: 19 Oct 2003
Posts: 40
Location: Bogotá, Colombia


Post03 Aug 2004 6:10   Re: Small/efficient mp3 decoder in C

Have you seen the vorbis tools?

www.vorbis.com

Really, ogg suits more the student/personal projects than mp3.
Back to top
cthun



Joined: 26 Jul 2004
Posts: 6


Post09 Aug 2004 15:13   Re: Small/efficient mp3 decoder in C

Small?? After ported to Microsoft Visual C++, winxp say it uses 2MB of RAM Sad

Anyway the thesis is indeed very informative and most importantly it is working! Very picky on the mp3 files though especially if the ID3 tag is located at the begining of the files.
Back to top
Post new topic  Reply to topic    EDAboard.com Forum Index -> Embedded Systems and Real-Time OS
Page 1 of 1 All times are GMT + 1 Hour


Abuse
Administrator
Moderators
topic RSS 
sitemap