Displaying 6 results from an estimated 6 matches for "spxglobalscratchfree".
2007 Jun 21
0
Blackfin inline assembler and VisualDSP++ toolchain
From: Jim Crichton [mailto:jim.crichton@comcast.net]
Sent: Tuesday, June 19, 2007 10:47 PM
>
>For TI DSPs, I used a private memory array rather than the C stack, and a
>debug patch in stack_alloc.h to measure the scratch usage:
>
>#if 1
>extern char *spxGlobalScratchFree;
>#define ALLOC(var, size, type) (var = PUSH(stack, size, type),
>(spxGlobalScratchFree)=((stack)>(spxGlobalScratchFree))?(stack):(spxGlobalScratchFree))
>#else
>#define ALLOC(var, size, type) var = PUSH(stack, size, type)
>#endif
>
>I Initialized the global scratch pointer...
2007 Jun 19
1
Blackfin inline assembler and VisualDSP++ toolchain
-----Original Message-----
From: Jean-Marc Valin [mailto:jean-marc.valin@usherbrooke.ca]
Sent: Tuesday, June 19, 2007 6:38 PM
To: Michael Shatz
Cc: speex-dev@xiph.org
Subject: Re: [Speex-dev] Blackfin inline assembler and VisualDSP++
toolchain
>> Yes, data footprint in the new version is quite manageable. Still I would
>> wish better documentation for speex_alloc_scratch().
>
2008 Aug 24
2
speex RAM optimising
Greetings to All!
Now I am trying to run speex on TI DSP...
I need only coder+decoder+AEC.
Bitrate 8000bps.
Building with floating point support.
What can i do, to reduce RAM consumption?
I mean very serious RAM optimisations. Deleting not used structure fields, etc...
May be I can do something with alloc...
Help me to determine that it is possible to throw out.
What is best result(in RAM
2007 Jul 24
0
Shoehorning speex is confusing a newbie
...tack_alloc.h, which
tracks the maximum depth of the scratch stack, so that you can tweak the
sizes in config.h. You just have to declare the variable and add this
init before the call to speex_encoder_init, and go back and look at the
variable after you run some data through.
#ifdef STACKDBG
spxGlobalScratchFree = spxGlobalScratchPtr;
#endif
If you think that the C5416 build is broken, then (as Jean-Marc said)
tell us what version you are using. There is a C54x project in the
speex source tree that runs directly in the Code Composer simulator. If
that fails in the latest code, let me know and I will wor...
2007 Jul 24
0
Shoehorning speex is confusing a newbie
...k_alloc.h, which tracks the maximum depth of the scratch stack, so that you can tweak the sizes in config.h. You just have to declare the variable and add this init before the call to speex_encoder_init, and go back and look at the variable after you run some data through.
#ifdef STACKDBG
spxGlobalScratchFree = spxGlobalScratchPtr;
#endif
If you think that the C5416 build is broken, then (as Jean-Marc said) tell us what version you are using. There is a C54x project in the speex source tree that runs directly in the Code Composer simulator. If that fails in the latest code, let me know and I will...
2007 Jul 24
0
Shoehorning speex is confusing a newbie
...tack_alloc.h, which
tracks the maximum depth of the scratch stack, so that you can tweak the
sizes in config.h. You just have to declare the variable and add this
init before the call to speex_encoder_init, and go back and look at the
variable after you run some data through.
#ifdef STACKDBG
spxGlobalScratchFree = spxGlobalScratchPtr;
#endif
If you think that the C5416 build is broken, then (as Jean-Marc said)
tell us what version you are using. There is a C54x project in the
speex source tree that runs directly in the Code Composer simulator. If
that fails in the latest code, let me know and I will wor...