Displaying 4 results from an estimated 4 matches for "nb_pitch".
Did you mean:
fb_pitch
2010 Aug 05
0
speex frustration
...i have almost 90% cpu utilisation.It was about
19 ms every 20 ms frame .Reading other posts i understood i should be waiting
60% with this core. After some research i found the main bottleneck lies in
pitch calculation .
The routine void pitch_xcorr(....)runs for (144-17)times and calls
corr[nb_pitch-1-i]=inner_prod(_x, _y+i, len);.
As i understood this is called len>>2=10 times .This function is called
every 5ms.As i found out only this function needs 12 ms per 20 ms!!!!. So how is
it possible to have a total utilisation of 60% with everything included.Am i
missing something or doing s...
2006 Jan 24
2
Compiler warnings with GCC 3.4.4 and perfomance question on a Arm 7
...ve me more info on this?
Not sure what info will help but here it goes...
I am using GCC 3.4.4 compiling ltp.c I get 8 warnings and all of them
seem to be when
"#define OVERRIDE_PITCH_XCORR
static void pitch_xcorr(const spx_word16_t *_x, const spx_word16_t
*_y, spx_word32_t *corr, int len, int nb_pitch, char *stack) "
is included from ltp_arm4.h
The error places the cursor on the __asm__ __volatile__ (
line in the function. I am compiling with Optimization Level 1.
I did a quick google search and found this where someone else had a
similar problem when switching from 3.2.3...
2006 Jan 23
2
Compiler warnings with GCC 3.4.4 and perfomance question on a Arm 7
I am using speex on a Philips LPC2138 Arm 7 processor and have hit two
compiler warnings when using FIXED_POINT and the Arm 4 asm code.
In cb_search.c get a warning on the call to compute_weighted_codebook of:
"passing arg 2 of 'compute_weighted_codebook' from incompatible pointer type'
In cp_search_arm4.h it is defined as:
static void compute_weighted_codebook(const signed
2009 Apr 24
2
[PATCH] Blackfin: cleanup astat/cc/hardware loop asm clobbers
...;
return sum;
}
@@ -104,7 +106,8 @@ void pitch_xcorr(const spx_word16_t *_x, const spx_word16_t *_y, spx_word32_t *c
"LOOP_END pitch%=;\n\t"
"L0 = 0;\n\t"
: : "m" (_x), "m" (_y), "m" (corr), "m" (len), "m" (nb_pitch)
- : "A0", "A1", "P0", "P1", "P2", "P3", "P4", "R0", "R1", "R2", "R3", "I0", "I1", "L0", "L1", "B0", "B1", "memory"
+...