[Speex-dev] Speex Decode only on Blackfin

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Thu Jun 7 06:52:40 PDT 2007

Bob Gorry a écrit :
> I am looking into using speex for a decode only application on the
> blackfin.  Encoding would be done elsewhere with voice phrases loaded
> into FLASH.  Code space is a premium in the blackfin app,  and mips to a
> certain extent
> 1) The source code seems to be codec-centric with encode and decode in
> many of the same files.  Does anyone have any hints on what can be
> removed easily that is used only for encoding?

Look for function names that contain either "encode" or "quant" (and not
unquant). If you remove those (and replace their pointers with NULL in
some structures), you'll pretty much have removed all the encode stuff.
You can also get rid of things like mdf.c preprocess.c jitter.c and all
the fft stuff.

> 2) Any estimates on MIPS usage for decode only on the blackfin?
> Wideband (16kHz operation) 16kbps data rate.  Code Space?

I'd expect the code size to be between 20 kB and 100 kB, can't really be
more precise. MIPS should probably be somewhere under 10.

> 3) The folks I am doing this work for use VDSP++ and at this point I
> need to as well.  Any hints at porting from gcc?

Try it, let me know. You can also try the Blackfin uClinux forum if
that's what you're using.


> Any assistance will be appreciated.
> Thanks 
> Bob Gorry
> AeVee Laboratories
> bgorry-x1 at aevee.com
> ------------------------------------------------------------------------
> _______________________________________________
> 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