Displaying 5 results from an estimated 5 matches for "neg32".
Did you mean:
reg32
2006 Jan 27
3
Speex at ARM Devices (Symbian OS)
Hello,
I am from a small Czech software company (circletech.net) working on
software for mobile phones. We are currently starting a development of an
Voice IP software, and consider using speex for voice compression and
decompression. The software will be Symbian OS C++ program.
Is there anyone who has actually used speex Symbian OS port for realtime
voice compression and decompression on mobile
2007 Jan 25
1
Minor fixed point scaling problem
...to have a NORM macro that maps to _norm() on TI
platforms or whatever the processor specific instruction is available.
In filters.c normalize16() searches for the largest value using the
following loop:
for (i=0;i<len;i++)
{
spx_sig_t tmp = x[i];
if (tmp<0)
tmp = NEG32(tmp);
if (tmp >= max_val)
max_val = tmp;
}
It should really use tmp=NEG32(tmp+1), since the range of negative fixed
point has one more number for a given number of bits. (and that's what all
the shifting is about) This same code fragment is in normalize16() and
compute_rms...
2010 Feb 05
0
Fwd: Re: Fixed Point on wideband-mode: Single Frame loss on 2000 Hz sine causes "freak off"
..._word16_t error = ac[0];
for (i = 0; i < p; i++)
lpc[i] = 0;
if (ac[0] == 0)
{
//for (i = 0; i < p; i++)
// lpc[i] = 0;
return 0;
}
for (i = 0; i < p; i++) {
/* Sum up this iteration's reflection coefficient */
spx_word32_t rr = NEG32(SHL32(EXTEND32(ac[i + 1]),13));
for (j = 0; j < i; j++)
rr = SUB32(rr,MULT16_16(lpc[j],ac[i - j]));
#ifdef FIXED_POINT
// stop calculation if error < 30
if ( error <= 30 ) {
return error;
}
//r = DIV32_16(rr+PSHR32(error,1),ADD16(error,10 ));
r = DIV3...
2007 Jan 25
3
SV: How to detect SpeexBits corruption
You might not be doing anything wrong. Speex is stateful and can
get into a bad state sometimes. It's happened to me too, but not
recently. And I've seen such bugs reported on this list and fixed.
I suggest several approaches to solving the problem:
1) Try compiling Speex without compiler optimizations and see if the
problem still occurs. Most likely it will, but this is an
2005 May 25
3
Speex on TI C6x, Problem with TI C5x Patch
...oat spx_word32_t;
typedef float spx_word64_t;
#define LPC_SCALING 1.
#define SIG_SCALING 1.
#define LSP_SCALING 1.
#define GAMMA_SCALING 1.
#define GAIN_SCALING 1.
#define GAIN_SCALING_1 1.
#define LPC_SHIFT 0
#define SIG_SHIFT 0
#define VERY_SMALL 1e-15
#define NEG16(x) (-(x))
#define NEG32(x) (-(x))
#define EXTRACT16(x) (x)
#define EXTEND32(x) (x)
#define SHR16(a,shift) (a)
#define SHL16(a,shift) (a)
#define SHR32(a,shift) (a)
#define SHL32(a,shift) (a)
#define PSHR16(a,shift) (a)
#define PSHR32(a,shift) (a)
#define SATURATE16(x,a) (x)
#define SATURATE32(x,a) (x)
#define PSHR(a,shif...