Displaying 14 results from an estimated 14 matches for "filter_mem16".
2008 Aug 02
1
fir_mem16,iir_mem16 and filter_mem16 optimisations
-----Original Message-----
From: Jean-Marc Valin <jean-marc.valin at usherbrooke.ca>
To: ??????? ??????? <altersoft at mail.ru>
Date: Sat, 02 Aug 2008 07:54:34 -0400
Subject: Re: [Speex-dev] fir_mem16,iir_mem16 and filter_mem16 optimisations
>
> ??????? ??????? a ?crit :
> > 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?
>...
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...
2007 Jul 25
2
Speex optimization and 12 bits conversion for 12 bits ADC
...nd there's a cost in quality)
> 2) Have you enabled the current ARM4 assembly bits?
> 3) There are a couple functions that could definitely benefit from
> assembly optimisations. They used to be optimised for AMR4, but I had to
> remove that when I optimised the C version. Those are filter_mem16(),
> iir_mem16() and fir_mem16(). Let me know if you're going to do that
> because the best way to do it is not to start from the current C code.
>
Yes, I have enabled the the current ARM4 assembly bits. I have tried
to optimize these functions(filter_mem16(),iir_mem16() and
fir_mem16...
2007 Jul 24
2
Speex optimization and 12 bits conversion for 12 bits ADC
Hi, all,
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?
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
2007 Jul 25
0
Speex optimization and 12 bits conversion for 12 bits ADC
> Yes, I have enabled the the current ARM4 assembly bits. I have tried
> to optimize these functions(filter_mem16(),iir_mem16() and
> fir_mem16()) in C code, but the effect is very small, and I am going
> to do assembly optimization for these functions. Do you have another C
> code about these functions for assembly optimisations? Can you give me
> some information and suggestions?
Basically, if e...
2014 May 27
0
How to compile speex on STM32F10xxx controller with arm-none-eabi-gcc
...ry firmware provided by ST. The following files I
using is under "STM32F10x_Speex_Lib/STM32/libspeex/gcc":
filters_cortexM3.h, filters_cortexM3.s, ltp_cortexM3.h, ltp_cortexM3.s,
vq_cortexm3.s.
When files were compiled, many errors occurred: many functions are
undefined, such as "filter_mem16".
The stasements is like this:
#ifndef OVERRIDE_FILTER_MEM16
void filter_mem16( ... )
{ ... }
#endif
But at the beginning:
#ifdef __GNUC__ /* GNU Compiler */
#define OVERRIDE_FILTER_MEM16
#define OVERRIDE_IIR_MEM16
#define OVERRIDE_FIR_MEM16
#include "filters_cortexM3.h"
#endi...
2007 Aug 20
3
libspeex stopped to work
Jean-Marc Valin wrote on 8/20/2007 3:48 PM:
> Hi Oleg,
>
> Turns out the problem was only triggered with DTX on. I just committed a
> fix in svn/git. Let me know if it works for you now.
>
> Thanks again for reporting the bug.
>
> Jean-Marc
>
Thank you, problem is gone now!
Oleg
PS. I just finished math_approx.asm (speed optimized version for ARM).
The code can be
2009 Jun 14
1
Resampler saturation, blackfin performance
....
Talking about performance (still using generic version with VDSP compiler):
1. I got a pretty good boost by using a scratch buffer in SRAM.
2. Wideband Encode+Decode takes 79.1 + 7.2 MIPS on my BF536 400/133 Mhz
3. Profiler says:
vq_nbest 33.05%
vq_nbest_sign 11.12%
filter_mem16 4.14%
inner_prod 4.07%
iir_mem16 2.75%
qmf_synth 2.32%
lsp_to_lpc 2.32%
open_loop_nbest_pitch 1.41%
compute_impulse_response 1.37%
qmf_decomp 1.28%
lpc_to_lsp 1.26%
fir_mem16...
2007 Jul 24
0
Speex optimization and 12 bits conversion for 12 bits ADC
...xity 1 is marginal and there's a cost in quality)
2) Have you enabled the current ARM4 assembly bits?
3) There are a couple functions that could definitely benefit from
assembly optimisations. They used to be optimised for AMR4, but I had to
remove that when I optimised the C version. Those are filter_mem16(),
iir_mem16() and fir_mem16(). Let me know if you're going to do that
because the best way to do it is not to start from the current C code.
> 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...
2007 Sep 22
2
SPEEX in a DSPIC - optimisation of iir_mem16() for speed - can it be 16 bit ?
Dear Sirs,
I would be interested to hear your views on whether SPEEX could be made to
run fast on a DSPIC33 by the following strategy:
Make iir_mem16() (for example) purely 16 bit by restricting the number of
bits in the signal to say 10 using SATURATE and then making the LPC
co-efficients just 6 bits.
At present (with standard code) the encode function is taking about 140ms
which is seven
2006 Jun 01
1
Fixed-point version
Hello list
I'm joining the effort to port speex to a fixed-point version, but as
I'm a physicist used to deal only with floating point numbers (lots
of them), I have no practice in working with fixed-point versions of
such numbers.
For instance, in the first source I'm trying to work with, nb_celp.c,
it is hard to see that the following two lines of code yield the same
2009 Apr 24
2
[PATCH] Blackfin: cleanup astat/cc/hardware loop asm clobbers
...: "I0", "L0", "P1", "R0", "R1", "memory"
+ : "I0", "L0", "P1", "R0", "R1", "memory", "ASTAT" BFIN_HWLOOP0_REGS
);
return sig_shift;
}
@@ -219,7 +221,8 @@ void filter_mem16(const spx_word16_t *_x, const spx_coef_t *num, const spx_coef_
"LOOP_END mem_update%=;\n\t"
"L0 = 0;\n\t"
: : "m" (xy), "m" (_x), "m" (_y), "m" (numden), "m" (N), "m" (ord), "m" (mem)
- : "A...
2008 Mar 29
0
GCC/ELF Visibility patch
...-R exc_gain_quant_scal3_bound
-R gain_cdbk_lbr
-R gain_cdbk_nb
-R hexc_10_32_table
-R hexc_table
-R high_lsp_cdbk
-R high_lsp_cdbk2
-R lag_window
-R lpc_window
-R shift_filt
-R vbr_hb_thresh
-R vbr_nb_thresh
-R vbr_uhb_thresh
-T bw_lpc
-T compute_impulse_response
-T compute_rms
-T compute_rms16
-T filter_mem16
T _fini
-T fir_mem16
-T forced_pitch_quant
-T forced_pitch_unquant
-T highpass
-T iir_mem16
T _init
-T inner_prod
-T interp_pitch
-T lpc_to_lsp
-T lsp_enforce_margin
-T lsp_interpolate
-T lsp_quant_high
-T lsp_quant_lbr
-T lsp_quant_nb
-T lsp_to_lpc
-T lsp_unquant_high
-T lsp_unquant_lbr
-T lsp_u...
2008 Mar 29
2
GCC/ELF Visibility patch (fwd)
...-R exc_gain_quant_scal3_bound
-R gain_cdbk_lbr
-R gain_cdbk_nb
-R hexc_10_32_table
-R hexc_table
-R high_lsp_cdbk
-R high_lsp_cdbk2
-R lag_window
-R lpc_window
-R shift_filt
-R vbr_hb_thresh
-R vbr_nb_thresh
-R vbr_uhb_thresh
-T bw_lpc
-T compute_impulse_response
-T compute_rms
-T compute_rms16
-T filter_mem16
T _fini
-T fir_mem16
-T forced_pitch_quant
-T forced_pitch_unquant
-T highpass
-T iir_mem16
T _init
-T inner_prod
-T interp_pitch
-T lpc_to_lsp
-T lsp_enforce_margin
-T lsp_interpolate
-T lsp_quant_high
-T lsp_quant_lbr
-T lsp_quant_nb
-T lsp_to_lpc
-T lsp_unquant_high
-T lsp_unquant_lbr
-T lsp_u...