Displaying 20 results from an estimated 400 matches similar to: "Bug in vbr_analysis"
2005 Dec 12
1
Getting SING errors
Hello!
I'm getting SING errors from the log() function. Here is
the code inside the vbr_analysis() function.
if (ener<60000)
{
if (vbr->consec_noise>2)
qual-=0.5*(log(3.0 + vbr->consec_noise)-log(3));
if (ener<10000&&vbr->consec_noise>2)
qual-=0.5*(log(3.0 + vbr->consec_noise)-log(3));
if (qual<0)
qual=0;
2006 Feb 14
1
Bug in vbr_analysis
Hi Jean-Marc,
I used the following code after init of the encoder to
get the frame size of my RTP packets.
char pcm_data[3200];
char speex_data[3200];
SpeexBits bits;
memset(pcm_data, '\0', 3200);
memset(speex_data, '\0', 3200);
speex_bits_init(&bits);
speex_bits_reset(&bits);
speex_encode_int(codec_info->enc,
2005 Dec 12
2
More floating point errors
Hi!
It seems that using a different compiler (I assume the
development is done with MSC) uncovers various issues
with the floating point.
Here is the second one I'm seeing - DOMAIN error from
sqrt().
In the open_loop_nbest_pitch(), this line:
g = DIV32(corr[i-start],
10+SHR32(MULT16_16(spx_sqrt(e0),spx_sqrt(energy[i-start])
),6));
The values are:
e0 is 7.2
i is 142,
start is 17
2008 Feb 02
0
Patch to make analysis data available.
Hi,
Ref the disucussion on IRC yesterday; here's a patch which makes a bit
more data from the analysis of the preprocessor and the echo canceller
available.
For the preprocessor:
- Size of power spectrum.
- Power spectrum and noise estimate of the previous frame.
These are given as squared values, so sqrt() to get values in the
0->32767 range.
- Current amplification level
2005 May 25
3
Speex on TI C6x, Problem with TI C5x Patch
Hi Jean-Marc, Hi Jim,
I have also seen some problems with the 1.1.8 release on the C55x. So far I
have boiled down the issues to the following:
1) We need our own "fixed_xx.h" header file. I don't know why, and haven't
had time to investigate, but there is a definite improvement when I use the
attached fixed_c55x.h file which has turned all the maths into inline
functions.
2005 Nov 09
0
Noisy sound quality with Blackfin in WB-mode
Hello Jean-Marc,
I disabled the Blackfin optimization functions one by one and found
the error in libspeex/lpc_bfin.h in the autocorrelation computation.
Compared to the fixed-point-variant of that function (from lpc.c),
the blackfin-code produces correct values except for the zero offset
value. Additionally, the loop after the ASM-code assigned values
(ac32) wrong to the functions
2005 Nov 12
2
Noisy sound quality with Blackfin in WB-mode
Hi Bernhard,
It seems like I messed up somewhere in the lpc code. However, it seems
like your patch is also removing some code, which is probably why you
see small differences between your asm version and the fixed point.
I don't have my setup working at the moment, but could you test the
following patch:
Index: lpc_bfin.h
===================================================================
2008 Feb 19
4
Patch for Analog Devices compiler & fixed-point AGC
Hi Jean-Marc,
As I told you, bank is a reserved keyword in Analog Devices compiler for
Blackfin architecture.
So we need to change the variables named bank to something else.
Here's a patch that changes bank to bnk in the 3 concerned files.
(Hope the format is OK)
About my previous problems with the Blackfin:
-> strange block repetition that could be cancelled by the AEC
I was busy
2013 May 21
0
[PATCH] 02-
- Use MAC16_16 macros instead of (sum += a*b) and unroll a loop by 2. It
increase performance when using optimized macros (ex: ARMv5E). A
possible side effect of loop unroll is that i don't check for odd length
here.
- Add NEON version of FIR filter and autocorr
--
Aur?lien Zanelli
Parrot SA
174, quai de Jemmapes
75010 Paris
France
-------------- next part --------------
diff --git
2013 May 21
2
[PATCH] 02-Add CELT filter optimizations
Please ignore my previous mail and patch, there is a new version :).
Patch changes are:
- Use MAC16_16 macros instead of (sum += a*b) and unroll a loop by 2. It
increase performance when using optimized macros (ex: ARMv5E). A
possible side effect of loop unroll is that i don't check for odd length
here.
- Add NEON version of FIR filter and autocorr
- Add a section in autoconf in order to
2004 Aug 06
0
[ANNOUNCE] PocketPC Port for speex-1.1.5 with sample code
I emailed Jean-Marc the arch.h about one week ago, not quite sure whether he
actually received that email.
Anyway, here I have an improved version of arch.h that I believe that it
would be better, to use __int64 only if compiling on eMbedded Visual C++
compiler, so for any other compiler, keep it the same (use long long)
----------------------------------
Chan Kei Yuen (Kenji)
2012 Jan 19
0
[LLVMdev] Problem generating <target>GenAsmMatcher.inc
I believe that table gen builds MipsGenAsmMatcher.inc which has the Match routines like MatchRegisterName().
In building MipsGenAsmMatcher.inc I am hitting the following issue (actually several, but they may be related). It may have something to do with the $$ escape sequence:
/home/jcarter/workarea/llvm/lib/Target/Mips/Mips64InstrInfo.td:173:1: error: error: unable to find operand:
2009 Jan 14
0
[PATCH] Pitch now quantised at the band level, got rid of all the VQ code.
---
libcelt/Makefile.am | 6 +-
libcelt/bands.c | 26 +++++++++-
libcelt/bands.h | 2 +-
libcelt/celt.c | 23 +++-----
libcelt/pgain_table.h | 133 -------------------------------------------------
libcelt/quant_pitch.c | 117 -------------------------------------------
libcelt/quant_pitch.h | 44 ----------------
7 files changed, 37 insertions(+), 314
2009 Oct 26
1
[PATCH] Fix miscompile of SSE resampler
From: Thorvald Natvig <slicer at users.sourceforge.net>
Some optimizing compilers miscompile the current SSE optimizations when
full optimizations are enabled. By using output value pointer instead of
a return value, we can bypass this misbehaviour.
---
libspeex/resample.c | 8 ++++----
libspeex/resample_sse.h | 24 ++++++++----------------
2 files changed, 12 insertions(+), 20
2006 Apr 19
0
Major internal changes, TI DSP build change
>> I was wrong, it is the encoder that is not working, and it stopped
>> working
>> in build 11103. The log message for this build is "another 640 bytes
>> removed from the encoder state (using the input data instead of copying
>> it
>> to st->frame/st->inBuf)". Only nb_celp.c/h are changed in this build.
>> What
>> I am seeing
2009 Nov 18
2
Unnecesary code?
Dear R-ers,
While browsing the R sources, I found the following piece of code
in src\main\memory.c:
static void reset_pp_stack(void *data)
{
R_size_t *poldpps = data;
R_PPStackSize = *poldpps;
}
To me, it looks like the poldpps pointer is a nuissance; can't you
just cast the data pointer and derefer it at once? Say,
static void reset_pp_stack(void *data)
{
R_PPStackSize = *
2011 Sep 01
0
[PATCH 3/5] resample: Add NEON optimized inner_product_single for fixed point
From: Jyri Sarha <jsarha at ti.com>
Semantics of inner_product_single have also been changed to contain
the final right shift and saturation so it can also be implemented in
the optimal way for the used platform. This change affects fixed point
calculations only.
I also added a new fixed point macro SATURATE32PSHR(x, shift, a). It
does pretty much the same thing as SATURATE32(PSHR32(x,
2010 Nov 16
1
Possible bug in "pitch_downsample"
Hi Jean-Marc,
I could be way off base here, but it seems to me that line 115 in
pitch.c in the function "pitch_downsample":
x_lp[i] =
SHR32(HALF32(HALF32(x[1][(2*i-1)]+x[1][(2*i+1)])+x[1][2*i]), SIG_SHIFT+2);
should actually be:
x_lp[i] +=
SHR32(HALF32(HALF32(x[1][(2*i-1)]+x[1][(2*i+1)])+x[1][2*i]), SIG_SHIFT+2);
Sorry if I'm totally misreading things and just
2006 Apr 18
2
Major internal changes, TI DSP build change
> I was wrong, it is the encoder that is not working, and it stopped working
> in build 11103. The log message for this build is "another 640 bytes
> removed from the encoder state (using the input data instead of copying it
> to st->frame/st->inBuf)". Only nb_celp.c/h are changed in this build. What
> I am seeing out of the decoder is an extremely low signal
2006 Apr 24
1
trellis.par.get without opening a device?
I am using the Deepayan's Sweave trick to set graphics parameters for all
graphs:
ltheme = canonical.theme(color=TRUE)
sup = trellis.par.get("superpose.line")
ltheme$superpose.line$col = c('black',"red","blue","#e31111","green",
"gray")
....
Works perfectly, there is only a minor nuissance that trellis.par.get opens
a device