[Speex-dev] speex RAM optimising

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Sun Aug 24 05:56:38 PDT 2008


How much memory reduction are you after? There's lots of stuff you can
delete, starting with defining DISABLE_VBR, DISABLE_WIDEBAND and
DISABLE_FLOAT_API. From there, you can delete all the *table.c files
except for exc_10_32_table.c, gain_table_lbr.c and lsp_tables_nb.c. In
libspeexdsp, you can pretty much delete everything (preprocessor, jitter
buffer, resampler, ...) but mdf.c

	Jean-Marc


Василий Троцкий a écrit :
> Greetings to All!
> 
> Now I am trying to run speex on TI DSP...
> I need only coder+decoder+AEC.
> Bitrate 8000bps. 
> Building with floating point support.
> 
> What can i do, to reduce RAM consumption?
> I mean very serious RAM optimisations. Deleting not used structure fields, etc...
> May be I can do something with alloc...
> 
> Help me to determine that it is possible to throw out. 
> 
> What is best result(in RAM optimisation)? 
> 
> Also i am going to use TI optimised FFT.
> _______________________________________________
> Speex-dev mailing list
> Speex-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev
> 
> 


More information about the Speex-dev mailing list