search for: filters_bfin

Displaying 15 results from an estimated 15 matches for "filters_bfin".

2009 Apr 24
2
[PATCH] Blackfin: cleanup astat/cc/hardware loop asm clobbers
...ering some hardware loop registers, but it's very incomplete compared with how many asm statements actually use hardware loops. Signed-off-by: Mike Frysinger <vapier at gentoo.org> --- libspeex/bfin.h | 15 +++++++++++++++ libspeex/cb_search_bfin.h | 9 ++++----- libspeex/filters_bfin.h | 15 ++++++++++----- libspeex/fixed_bfin.h | 15 +++++++++------ libspeex/lpc_bfin.h | 5 ++++- libspeex/lsp_bfin.h | 2 +- libspeex/ltp_bfin.h | 25 ++++++++++--------------- libspeex/misc_bfin.h | 4 +++- libspeex/quant_lsp_bfin.h | 7 +++++-- lib...
2008 Aug 02
2
fir_mem16,iir_mem16 and filter_mem16 optimisations
Hi! I have some questions about that functions: fir_mem16, iir_mem16 and filter_mem16. Filtering is very slow on TI DSP, and i want to optimise it. Can somebody give me formulas which discribe work of this filters? Or any suggestions about how to transform code for better performance. I going to implement this functions in assembler, but it is hard to do without full understanding how functions
2008 Jan 07
1
Problem with Blackfin assembly optimizations -- bug in fixed_bfin.h?
...mizations inside "fixed_bfin.h", there is a big improvement -- the decoded speech sounds good again, only on some positions in my speech signal is a huge "click" which sounds like an overdrive caused by an instable filter. When trying to switch off the optimizations from "filters_bfin.h", my little program compiles but crashes on runtime, sometimes (not always reproducable) causing a kernel panic of uclinux. Error info is "Attempted misaligned instruction cache fetch". Does anybody know what happens here? best regards, Frank _____________________________________...
2007 Jul 25
0
Speex optimization and 12 bits conversion for 12 bits ADC
...ply to your CPU: 1) A store is more costly than a load (e.g. you have write-through cache) 2) You have a MAC instruction where it's complicated to load the accumulator every time then you should consider implementing filter_mem16 similarly to the commented version of filter_mem2() at the end of filters_bfin.h. >> > Another question, my ADC and DAC are 12 bits, but Speex codec is >> > 16bits, Did someone try to modify speex to 12 bits? I think if I >> > modify speex to 12 bits, the computation power will be reduced, is it >> > right? >> >> Wrong. Speex w...
2008 Jan 22
0
Re: Problem with Blackfin assembly optimizations -- bug in fixed_bfin.h?
...uot;fixed_bfin.h", there is a big improvement -- > the decoded speech sounds good again, only on some positions in my > speech signal is a huge "click" which sounds like an overdrive caused > by an instable filter. When trying to switch off the optimizations > from "filters_bfin.h", my little program compiles but crashes on > runtime, sometimes (not always reproducable) causing a kernel panic > of uclinux. Error info is "Attempted misaligned instruction cache > fetch". > > Does anybody know what happens here? > > best regards, Frank &...
2008 Aug 02
1
fir_mem16,iir_mem16 and filter_mem16 optimisations
...in assembler, but it is hard to do without full understanding how functions work. > > These are direct-form II transposed filters. There's actually two ways > to compute them. For an alternate way, have a look at the commented > version of filter_mem2() completely at the bottom of filters_bfin.h. The > only thing you won't need from that one are the shifts by SIG_SHIFT > because the inputs and outputs of filter_mem16() are already 16 bits. > > Jean-Marc > I still in doubt. You could tell in more detail about filter_mem16()? I can't find comments in filter_mem2...
2007 Jul 25
2
Speex optimization and 12 bits conversion for 12 bits ADC
Hi?Jean-Marc? Thanks for your suggestions very much! > > I am porting speex on ARM7TDMI, I have done some optimization, the > > result is that the encoder and decoder need about 60 MCPS for 5.96kbps > > bitrate and complexity 0. Can someone give me informtion about Speex > > optimization on ARM7? > > That's quite good. A few suggestions here: > 1) Don't
2008 Jan 24
0
FW: Re: Problem with Blackfin assembly optimizations -- bug in fixed_bfin.h?
...uot;fixed_bfin.h", there is a big improvement -- > the decoded speech sounds good again, only on some positions in my > speech signal is a huge "click" which sounds like an overdrive caused > by an instable filter. When trying to switch off the optimizations > from "filters_bfin.h", my little program compiles but crashes on > runtime, sometimes (not always reproducable) causing a kernel panic > of uclinux. Error info is "Attempted misaligned instruction cache > fetch". > > Does anybody know what happens here? > > best regards, Frank &...
2005 Aug 15
2
Updated MIPs and memory requirements for TI c54x or c55 DSPs
Hi, I can see that there has been some effort to compile the SPEEX codec to operate on the TI c54x and c55x DSPs and I am wondering if anyone would be able to update the mailing list with their current MIPs and Memory resource requirements for their c54x and/or c55x compilation? The only estimate I was able to find in the mailing list archive was 42MIPs but I'm not sure if this is an
2005 Aug 17
2
Updated MIPs and memory requirements for TI c54x or c55DSPs
...functions). The reference implementation assumes that writes are as fast as reads. This is often not true on DSPs (at least on Blackfin), so it is possible to re-write the algorithm to take that into account. There is an example (in C) for filter_mem2() and compute_impulse_response() at the end of filters_bfin.h. Hope this helps. Jean-Marc Le mercredi 17 ao?t 2005 ? 16:41 -0400, Jim Crichton a ?crit : > The 42 MIP number was from my post of 24 May, and it was for C55x and > Speex 1.1.8. I tested 1.1.10 yesterday, and the number went down very > slightly; it was just over 41 MIPs peak measur...
2008 Feb 12
1
Re: Problem with Blackfin assembly optimizations -- bug in fixed_bfin.h / resampler saturation???
...search_bfin.h:38: multiple definition of `_spx_mips' /home/lorenz/lib/libspeex_debug.a(speex.o):/home/lorenz/Blackfin/speex-1.2beta3/libspeex/speex.c:52: first defined here /home/lorenz/lib/libspeex_debug.a(filters.o): In function `normalize16': /home/lorenz/Blackfin/speex-1.2beta3/libspeex/filters_bfin.h:37: multiple definition of `_spx_mips' /home/lorenz/lib/libspeex_debug.a(speex.o):/home/lorenz/Blackfin/speex-1.2beta3/libspeex/speex.c:52: first defined here /home/lorenz/lib/libspeex_debug.a(lsp.o): In function `lsp_enforce_margin': /home/lorenz/Blackfin/speex-1.2beta3/libspeex/lsp.c:59...
2008 Feb 01
1
FW: Re: Problem with Blackfin assembly optimizations -- bug in fixed_bfin.h / resampler saturation???
...uot;fixed_bfin.h", there is a big improvement -- > the decoded speech sounds good again, only on some positions in my > speech signal is a huge "click" which sounds like an overdrive caused > by an instable filter. When trying to switch off the optimizations > from "filters_bfin.h", my little program compiles but crashes on > runtime, sometimes (not always reproducable) causing a kernel panic > of uclinux. Error info is "Attempted misaligned instruction cache > fetch". > > Does anybody know what happens here? > > best regards, Frank &...
2008 Feb 22
1
Re: Problem with Blackfin assembly optimizations -- bug in fixed_bfin.h / resampler saturation???
...8: multiple definition of `_spx_mips' > /home/lorenz/lib/libspeex_debug.a(speex.o):/home/lorenz/Blackfin/speex-1.2beta3/libspeex/speex.c:52: first defined here > /home/lorenz/lib/libspeex_debug.a(filters.o): In function `normalize16': > /home/lorenz/Blackfin/speex-1.2beta3/libspeex/filters_bfin.h:37: multiple definition of `_spx_mips' > /home/lorenz/lib/libspeex_debug.a(speex.o):/home/lorenz/Blackfin/speex-1.2beta3/libspeex/speex.c:52: first defined here > /home/lorenz/lib/libspeex_debug.a(lsp.o): In function `lsp_enforce_margin': > /home/lorenz/Blackfin/speex-1.2beta3/li...
2008 Mar 05
1
Problem with Blackfin assembly optimizations -- bug in fixed_bfin.h / resampler saturation???
...of `_spx_mips' >> /home/lorenz/lib/libspeex_debug.a(speex.o):/home/lorenz/Blackfin/speex-1.2beta3/libspeex/speex.c:52: >> first defined here /home/lorenz/lib/libspeex_debug.a(filters.o): In >> function `normalize16': >> /home/lorenz/Blackfin/speex-1.2beta3/libspeex/filters_bfin.h:37: >> multiple definition of `_spx_mips' >> /home/lorenz/lib/libspeex_debug.a(speex.o):/home/lorenz/Blackfin/speex-1.2beta3/libspeex/speex.c:52: >> first defined here /home/lorenz/lib/libspeex_debug.a(lsp.o): In >> function `lsp_enforce_margin': >> /home/l...
2017 May 29
0
[PATCH] Add CMake build script
...p.c + libspeex/quant_lsp.c + libspeex/sb_celp.c + libspeex/speex_callbacks.c + libspeex/speex_header.c + libspeex/window.c + libspeex/arch.h + libspeex/bfin.h + libspeex/cb_search_arm4.h + libspeex/cb_search_bfin.h + libspeex/cb_search_sse.h + libspeex/filters.h + libspeex/filters_arm4.h + libspeex/filters_bfin.h + libspeex/filters_sse.h + libspeex/fixed_arm4.h + libspeex/fixed_arm5e.h + libspeex/fixed_bfin.h + libspeex/fixed_debug.h + libspeex/lpc.h + libspeex/lpc_bfin.h + libspeex/ltp.h + libspeex/ltp_arm4.h + libspeex/ltp_sse.h + libspeex/math_approx.h + libspeex/misc_bfin.h + libspeex/nb_celp.h + libs...