xref: /aosp_15_r20/external/speex/README.blackfin (revision 28e138c64d234588b5cd2a8a403b584bd3036e4e)
1*28e138c6SAndroid Build Coastguard WorkerSpeexDSP has been ported to the Blackfin DSP, for the STAMP development board.
2*28e138c6SAndroid Build Coastguard Worker
3*28e138c6SAndroid Build Coastguard WorkerThis port has been tested on the STAMP development board and requires the
4*28e138c6SAndroid Build Coastguard Workertoolchain available at http://blackfin.uclinux.org/
5*28e138c6SAndroid Build Coastguard Worker
6*28e138c6SAndroid Build Coastguard Worker1/ In order to cross-compile for uClinux from the SpeexDSP tarball:
7*28e138c6SAndroid Build Coastguard Worker
8*28e138c6SAndroid Build Coastguard Worker  ./configure --enable-blackfin-asm --enable-fixed-point --host=bfin-uclinux
9*28e138c6SAndroid Build Coastguard Worker  cd libspeexdsp
10*28e138c6SAndroid Build Coastguard Worker  make
11*28e138c6SAndroid Build Coastguard Worker
12*28e138c6SAndroid Build Coastguard WorkerThe --enable-blackfin-asm option is not required, but it speeds up Speex by
13*28e138c6SAndroid Build Coastguard Workerapproximately a factor of two.
14*28e138c6SAndroid Build Coastguard Worker
15*28e138c6SAndroid Build Coastguard Worker2/ In order to cross-compile for uClinux from the SpeexDSP git:
16*28e138c6SAndroid Build Coastguard Worker
17*28e138c6SAndroid Build Coastguard Worker  git clone git://git.xiph.org/speexdsp.git
18*28e138c6SAndroid Build Coastguard Worker  cd speexdsp
19*28e138c6SAndroid Build Coastguard Worker  ./autogen.sh
20*28e138c6SAndroid Build Coastguard Worker  ./configure --enable-blackfin-asm --enable-fixed-point --host=bfin-uclinux
21*28e138c6SAndroid Build Coastguard Worker  cd libspeexdsp
22*28e138c6SAndroid Build Coastguard Worker  make
23