Displaying 20 results from an estimated 2000 matches similar to: "Memory Allocation to St"
2004 Aug 06
2
Port to uClinux
Hi,
I'm trying a quick port of this terrific codec to uClinux, a Linux-derivate
for mmu-less systems. I'm particulary interested in the alloc()'s the
library does, and it's stack usage.
In nb_celp.c I found two lines of code doing memory allocation :
nb_celp.c: st = (EncState*)speex_alloc(sizeof(EncState)+8000*sizeof(float));
nb_celp.c: st =
2005 Feb 19
2
memory usage
Hi
I am currently trying to port speex v1.1.6 to a microcontroller with
very limited memory (<64Kbyte RAM).
what I found when initialising the encoder, a chunk of 32Kb was
attempted to be alloced, which failed:
src/nb_celp.c:
void *nb_encoder_init(const SpeexMode *m)
{
/* snip */
st = (EncState*)speex_alloc(sizeof(EncState)+8000*sizeof(spx_sig_t));
/* snip */
}
same goes for the
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,
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
2006 Nov 15
2
Quick survey for Speex 1.2
> Another issue is the memory allocations distributed so many places that
> it's hard to provide a single memory initial function interface.
>
> In a VoIP case on ARM, the total memory size for speex codec should be
> known at the inital stage since all the memories are allocated
> at the initial stage.
If you want everything in the same big block, all you need to do is
2007 Sep 13
2
innov_save, what is it? why does it hurt me so?
hi,
I am using speex1.2beta2 on a TI 54x on narrow band
I have been trying to get speex to work for a while now, and it's been
a real teeter-totter ride. For a long time I noticed that I will get a
project to work and then without changing any code and programming it to
an eprom/flash the project will not work. It turns out it was a value
called innov_save. I found this bugger by zero
2004 Aug 06
0
Port to uClinux
OK, what happens is that I try to allocate one big chunk of memory, so
that no other allocation is needed in run-time. The biggest part of that
memory is used for a custom stack I use everywhere because C doesn't
allow variable-length stack arrays. The sizes I used will work for all
configurations (any mode/bit-rate/complexity), but if you're only
interested in a subset, you can probably
2005 Feb 19
0
memory usage
Hi Alfred,
First thing I'd like to ask is whether you're trying to achieve
real-time performance, as I find it very unlikely that Speex could run
in real-time on a micro-controller.
Regarding bufSize, no you can't just make it the size you like. Now,
it's possible to decrease the amount of memory allocated if e.g. you
only use complexity 1. You can also assume that the stack is
2007 Sep 13
0
innov_save, what is it? why does it hurt me so?
> I have been trying to get speex to work for a while now, and it's been
> a real teeter-totter ride. For a long time I noticed that I will get a
> project to work and then without changing any code and programming it to
> an eprom/flash the project will not work.
That's an Heisenbug and the most common cause is uninitialised data.
I found innov_save will write over memory
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 Apr 20
2
Speex-1.1.7 seems to crash with --enable-sse (on P3/GCC-3.2)..
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<b></b>Hi,<br>
<br>
I also tried to build speex
2007 Sep 14
1
innov_save, what is it? why does it hurt me so?
This must have been an enormous pain to track down.
The manual alloc routine in the TI directory (user_misc.h) clears the
allocated memory, but maybe you have changed this.
>> it will just start filling data in, which it shouldn't. I see that
>> innov_save is set at the beginning of a for loop at:
>> for (sub=0;sub<st->nbSubframes;sub++)
>> {
> ...
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));
-
2012 Oct 03
2
[LLVMdev] LoopInfo analysis in CallGraphSCCPass
Hi,
Is it possible to recreate the LoopInfo analysis in my pass?
Thanks ,
Vinay
On Wed, Oct 3, 2012 at 2:34 PM, Chandler Carruth <chandlerc at google.com>wrote:
> This is not currently supported by the LLVM pass manager system. It is a
> serious deficiency that I (and others) would like to address, but it
> requires significant changes to the pass manager and analysis
2006 Aug 17
2
AEC on a TI C6x - has no effect
Itay,
>I am trying these things, but the main problem that has been bothering
>me recently is that the fixed-point algorithm works "sometimes". Meaning
>that sometimes it will work well, and other times it will not work at
>all.
>
>I think I've found the source of the problem. The speex_alloc()
>function, called by speex_echo_state_init(), calls calloc() and
2012 Oct 03
0
[LLVMdev] LoopInfo analysis in CallGraphSCCPass
On Wed, Oct 3, 2012 at 2:33 AM, vinay m <mvinay05041990 at gmail.com> wrote:
> Hi,
> Is it possible to recreate the LoopInfo analysis in my pass?
>
No. You need your pass to be a FunctionPass in order to use the LoopInfo
(and associated) analyses.
>
> Thanks ,
> Vinay
>
> On Wed, Oct 3, 2012 at 2:34 PM, Chandler Carruth <chandlerc at google.com>wrote:
2010 Feb 05
2
Segmentation Fault while compiling and installing openssh-3.9p1
I am trying to compile and install openssh-3.9p1 (with openssl-0.9.7j)
on my personal dev env to have a play. I get the below mentioned
segmentation fault message.
---------
Generating public/private rsa1 key pair.
/bin/sh: line 1: 10901 Segmentation fault ./ssh-keygen -t rsa1 -f
/home/vinay/var/vinay_ssh/etc/ssh_host_key -N ""
Generating public/private dsa key pair.
/bin/sh: line
2005 Sep 02
2
DTX mode using preprocessor?
Could a method be added to use the VAD from the preprocessor to send the
packet with the 'dtx_enable' flag in it, so the decoder on the other end
knows it's in dtx mode? (and SPEEX_GET_DTX_STATUS returns 1)
At the moment, I can hack around it by doing something like:
if (VAD for prev frame && ! VAD for this frame) {
iArg = 0;
2014 Mar 27
3
arm64 support
I have used the patch to build opus 1.1. Although I have not tried the
latest git master, will try that. Will that work for armv7, armv7s and
arm64?
On Wed, Mar 26, 2014 at 11:01 PM, Martin Storsj? <martin at martin.st> wrote:
> On Wed, 26 Mar 2014, Jonathan Lennox wrote:
>
>
>> On Mar 26, 2014, at 7:55 AM, Peter Robinson <pbrobinson at gmail.com> wrote:
>>
2014 Mar 27
1
arm64 support
I am trying to generate the config and makefiles using ./autogen.sh on the
mac but get the following error:
Can't exec "aclocal": No such file or directory at
/usr/local/share/autoconf/Autom4te/FileUtils.pm line 326.
autoreconf: failed to run aclocal: No such file or directory
How do I build opus from source? Am I missing some step?
On Thu, Mar 27, 2014 at 11:29 AM, Vinay Nair