[Speex-dev] memory usage

Jean-Marc Valin Jean-Marc.Valin at USherbrooke.ca
Tue Mar 1 14:04:21 PST 2005


> > I have already got a working decoder running on my Ubicom IP3K,
> > using 10-15% of the CPU, with a decoder stack size of 4058 bytes.
> > The encoder is next..
> >   
> 
> It will probably be very close, if you can do it.

I don't think encoding should be a problem. The encoder has been speeded
up a lot recently (more than the decoder).

> I did a bunch of tests of encoder performance (on an Athlon XP 1700+)
> a while back, and found that, for 8kbps CBR complexity 1, I got:
> 
> (encode/decode speed)
> basic compile: 29.2x / 168x
> 
> -O3 -ffast-math -funroll-all-loops
> -march=pentium3 -fprefetch-loop-arrays -fsingle-precision-constant:
> 53.4x / 361x
> 
> With -msse: 65x/386x

Note that you need to define _USE_SSE to enable SSE.

	Jean-Marc

-- 
Jean-Marc Valin <Jean-Marc.Valin at USherbrooke.ca>
Universite de Sherbrooke



More information about the Speex-dev mailing list