Displaying 2 results from an estimated 2 matches for "tmp_stack".
Did you mean:
dump_stack
2010 Feb 20
1
Manual scratch allocation : memory usage doubt
Hi,
I am currently encoding 32 Khz/Qual-10/UWB encode mode, with
MANUAL_ALLOC enabled ( similar to the c5x/c6x configuration).
In file sb_celp.c, I noticed the scratch memory grow during
recursive (UWB -> WB) calls to 'sb_encode'.
1. 'stack' was not tracked (with 'tmp_stack' as done at other palaces)
after/before - auto-correlation/Levinson-Durbin scope (~line 597 -
621).
2. Similarly in the sub-frame encode loop (last major loop) after/before
-
LSP-interpolation/weighted-signal-frm-synthesized-speech calculations
(~line 762 - 950).
In <1>, the...
2005 May 25
3
Speex on TI C6x, Problem with TI C5x Patch
...ize;i++)
exc[i] = ADD32(exc[i],innov[i]);
} else {
speex_error("No fixed codebook");
}
/* In some (rare) modes, we do a second search (more bits) to
reduce noise even more */
if (SUBMODE(double_codebook)) {
char *tmp_stack=stack;
VARDECL(spx_sig_t *innov2);
ALLOC(innov2, st->subframeSize, spx_sig_t);
for (i=0;i<st->subframeSize;i++)
innov2[i]=0;
for (i=0;i<st->subframeSize;i++)
target[i]*=2.2;
SUBMODE(innovation_q...