[Speex-dev] Resampler saturation, blackfin performance

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Thu Jun 18 16:10:18 PDT 2009


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


More information about the Speex-dev mailing list