Displaying 20 results from an estimated 100 matches similar to: "Deallocation bug in speex"
2005 Jun 22
0
Deallocation bug in speex
Hi,
So 9316 works and 9320 doesn't? How about latest SVN. I just ran
everything in valgrind and saw no error at all. Can you give more info
on how to reproduce (with speexenc)?
Jean-Marc
Le mercredi 22 juin 2005 ? 21:19 -0300, Dario Andrade a ?crit :
>
>
> When updating the speex sources from svn tree, I found that the
> following revision has corrupted the deallocation
2005 May 25
1
Deallocation of buffers
I noticed that in the narrow band and wide band destroy functions only
the main pointer is being freed. I think that it should be:
void nb_decoder_destroy(void *state)
{
DecState *st;
st=(DecState*)state;
speex_free (st->inBuf);
speex_free (st->excBuf);
speex_free (st->innov);
speex_free (st->interp_qlpc);
speex_free (st->qlsp);
speex_free
2005 Jul 18
1
[PATCH] remove unused encoder buf in sb_celp.[hc]
diffed against http://svn.xiph.org/trunk/speex r9583
Index: libspeex/sb_celp.c
===================================================================
--- libspeex/sb_celp.c (revision 9583)
+++ libspeex/sb_celp.c (working copy)
@@ -272,7 +272,6 @@
st->g0_mem=speex_alloc((QMF_ORDER)*sizeof(spx_word32_t));
st->g1_mem=speex_alloc((QMF_ORDER)*sizeof(spx_word32_t));
-
2008 Mar 29
0
GCC/ELF Visibility patch
Hi,
I've attached a patch against SVN r14645 which adds GCC visibility
information to all symbols exported from libspeex.so and libspeexdsp.so.
It includes a configure.ac change to test that both the compiler flags and
__attribute__((visibility)) works, and if so will
#define EXPORT __attribute__((visibility("default")))
and if not
#define EXPORT
I've attached a diff output
2006 Dec 14
1
Would be nice to conditionally compile out coding modes and code tables...
> -----Original Message-----
> From: Jean-Marc Valin [mailto:jean-marc.valin@usherbrooke.ca]
> Sent: Thursday, December 14, 2006 2:51 AM
> To: Miles, Stewart
> Cc: speex-dev@xiph.org
> Subject: Re: [Speex-dev] Would be nice to conditionally
> compile out coding modes and code tables...
>
> Miles, Stewart a ?crit :
> > I'm only using the narrow-band encoder
2008 Mar 29
2
GCC/ELF Visibility patch (fwd)
Hi,
I've attached a patch against SVN r14645 which adds GCC visibility information
to all symbols exported from libspeex.so and libspeexdsp.so. It includes a
configure.ac change to test that both the compiler flags and
__attribute__((visibility)) works, and if so will
#define EXPORT __attribute__((visibility("default")))
and if not
#define EXPORT
I've attached a diff output
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
2005 Jun 22
1
Deallocation bug in speex
> So 9316 works and 9320 doesn't? How about latest SVN. I just ran
> everything in valgrind and saw no error at all. Can you give more info
> on how to reproduce (with speexenc)?
>
> Jean-Marc
>
I went to check my code and it turned out to be a fault in the
speex_encoder_destroy being used to destroy a decoder state.
It seems that the new revision thriggered this error.
2014 Apr 15
6
[PATCH 0/3] misc. cleanup
Hello,
some misc. cleanup patches for speexdsp, nothing big
I'm not sure about how to submit patches, so this is a test balloon :)
ultimately, I'd like to fix the FIXED_POINT issue, see
http://lists.xiph.org/pipermail/speex-dev/2013-December/008465.html
currently, I think the only way to find out how speexdsp has been compiled is
to resample some bytes and observe the output; which is
2007 Mar 08
4
Introduction and patch
Hi,
I'm one of the people working on the Rockbox project
(http://www.rockbox.org) which is an open source alternative firmware
for a range Digital Audio Players. Recently we integrated support for
the Speex codec using libspeex and seems to work well. If you could add
Rockbox to your list of software that supports Speex, that'd be great.
So that's the introduction done. Now for
2004 Aug 06
1
speex_bits_pack optimizations...
another optimization you can do for packing bits together...
the original one is :
-------------------------------------------------------------------------------------------------------------
void speex_bits_pack(SpeexBits *bits, int data, int nbBits)
{
int i;
unsigned int d=data;
if (bits->bytePtr+((nbBits+bits->bitPtr)>>3) >= bits->buf_size)
{
//remain
2005 May 24
2
Speex on TI C6x, Problem with TI C5x Patch
Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: maleout12may.wav
Type: audio/wav
Size: 95884 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20050524/57112d0c/maleout12may-0001.bin
2019 Jun 14
0
resample of libopusenc-0.2.1 outputs all zeros if define FIXED_POINT
Actually opus-tools-0.2 has the same issue.
Sincerely
Forrest Zhang
-------------- next part --------------
Add "#define FIXED_POINT 1" into the top of resample.c, outputs of resample are all zeros.
Actually the data transform is required before/after calling speex_resampler_process_native().
diff -Naupr libopusenc-0.2.1-vanilla/src/resample.c libopusenc-0.2.1/src/resample.c
---
2014 Apr 15
0
[PATCH 2/3] Use fabsf() instead of fabs() since we have floats, not double
Signed-off-by: Peter Meerwald <pmeerw at pmeerw.net>
---
libspeexdsp/resample.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/libspeexdsp/resample.c b/libspeexdsp/resample.c
index e32ca45..a19b997 100644
--- a/libspeexdsp/resample.c
+++ b/libspeexdsp/resample.c
@@ -85,7 +85,7 @@ static void speex_free (void *ptr) {free(ptr);}
#ifdef FIXED_POINT
#define
2007 Mar 08
0
Introduction and patch
Hi Dan,
Thanks for the patch, I'll apply it to svn. One question, why do you
need this:
+void kiss_fftri2(kiss_fftr_cfg cfg,const kiss_fft_scalar
*freqdata,kiss_fft_scalar *timedata);
+
Cheers,
Jean-Marc
Dan Everton a ?crit :
> Hi,
>
> I'm one of the people working on the Rockbox project
> (http://www.rockbox.org) which is an open source alternative firmware
> for a
2014 Apr 15
2
[PATCH 2/3] Use fabsf() instead of fabs() since we have floats, not double
On Tue, Apr 15, 2014 at 12:33 PM, Peter Meerwald <pmeerw at pmeerw.net> wrote:
> Signed-off-by: Peter Meerwald <pmeerw at pmeerw.net>
> ---
> libspeexdsp/resample.c | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/libspeexdsp/resample.c b/libspeexdsp/resample.c
> index e32ca45..a19b997 100644
> ---
2006 Dec 13
2
Would be nice to conditionally compile out coding modes and code tables...
I'm only using the narrow-band encoder on my embedded system and have
removed all references to the wide-band and ultra-wide band encoder
functions and tables. They will be pulled in by the linker due to the
references made by the structures in modes.c. Attached is a replacement
modes.c for compiling out modes that are not in use for anyone who's
interested.
Also, I've removed the
2005 May 24
0
Speex on TI C6x, Problem with TI C5x Patch
Hi Jim,
Thanks a lot for helping track problems with Speex.
> There is a bit of work remaining to get the memory usage down for a
> multichannel application. There have been some good posts over the
> last couple of months about reducing memory usage.
I think 1.1.8 incorporates all memory reductions proposed. Let me know
otherwise.
> Also, to nominally comply with the TI XDAIS
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,
2005 May 25
3
Speex on TI C6x, Problem with TI C5x Patch
>> There is a bit of work remaining to get the memory usage down for a
>> multichannel application. There have been some good posts over the
>> last couple of months about reducing memory usage.
>
> I think 1.1.8 incorporates all memory reductions proposed. Let me know
> otherwise.
For the persistent storage, the only change that I have made is to
MAX_CHARS_PER_FRAME,