[Speex-dev] Resampler saturation, blackfin performance

Jean-Marc Valin
Thu, 18 Jun 2009 23:10:18 -0000

Stephane Lesage a ?crit :
> But the echo-canceller and preprocessor don't use it.
> I suppose they also have some scratch buffers.
> (comments in SpeexEchoState_ structure mdf.c)
> But you allocate them with speex_alloc instead of using the VARDECL/ALLOC
macros.
>
> Converting the code to the stack_alloc mechanism could result in better
performance with a scratch buffer in SRAM.
>
> I think I can do it for mdf.c, but I would need information for
preprocess.c.

Indeed, I haven't had time to implement the same scratchpad system for
mdf.c and preprocess.c. I'll be happy to apply a patch though -- or
answer any question you may have on the code.

	Jean-Marc