[Speex-dev] speex on TI C5x fixed-point DSP

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Wed Nov 3 20:17:47 PST 2004


> One thing I've noticed so far in the filter_mem2 code is the calls to 
> SATURATE(x, 805306368).  805306368 is 0x30000000.  I was expecting that 
> to be on a bit boundary, say 0x3fffffff?  In which case the arithmetic 
> saturation logic could be used.

I don't think it would make that big of a difference, since the
saturation is outside of the inner loop. If it's that critical, you
could probably remove the saturation completely and just make sure your
signals are scaled properly (i.e. not too close to saturation).

	Jean-Marc




More information about the Speex-dev mailing list