Displaying 20 results from an estimated 1000 matches similar to: "Static Variables?"
2010 Jun 07
1
GLOBAL_STACK_SIZE
I am having trouble understanding the stack allocation scheme when using a
C55xx device. From what I can tell, the GLOBAL_STACK_SIZE is set in arch.h
to 100,000 bytes (when using FIXED_POINT), which is then used in the
ALLOC_STACK macro found in stack_alloc.h. This macro seems to say, if
global_stack==0, then call celt_alloc_scratch, found in os_support.h, which
in turn attempts to allocate (using
2010 Jul 01
4
(no subject)
Jean-Mark, Tim,
Could either of you expound on the following comment in cwrs.c?
/*If _k==0, the following do-while loop will overflow the buffer.*/
----------------------------------------------------------------
...because the following do-loop does overflow the buffer when k=126
k=2;
do _u[k]=(k<<1)-1;
while(++k<len);
Thanks,
MikeH
-------------- next
2010 Mar 22
2
Porting CELt to the C5505
Tony,
How is this going? Have you been able to get CELT to run on a TI55xx? I am
very interested in the % utilization of the hardware and whether multiple
instance of CELT on the same DSP are feasible. I look forward to your
findings.
MikeH
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2010 Jul 19
1
Endianess Switch?
Jean-Marc,
It appears that since testcelt reads a WAVE file from disck and passes the
data directly to celt_encode, so that celt_encode's "in" buffer must be
expecting little-endian formatted packets. Is this correct? Is there
endiness switch somewhere?
Thx
MikeH
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2010 Jun 02
1
C55xx Linking Error
I am attempting to port CELT to the TI C5515 DSP. I am
compiling/assembling/linking with Code Composer Studio 4. I have enabled the
TI_55 specific optimizations in my config.h file per this
<http://lists.xiph.org/pipermail/celt-dev/2008-December/000033.html> post.
However, I am getting several "undefined symbol" linking errors that do not
make sense to me. According to the error
2010 Nov 04
1
Frame_size?
"frame_size = PCM audio in signed 16-bit format (native endian). There must
be exactly frame_size samples per channel."
Sorry for such a simple request, but could you please clarify the definition
of frame_size when using stereo audio channels? When you say "frame_size
samples" does this mean that, if my frame_size is defined as 128, there are
64 left samples and 64 right
2011 Oct 10
1
24-bit audio?
Gents,
"CELT now supports a larger dynamic range, suitable for encoding 24-bit
audio (float version only)."
I realize this was way back in V6, but is it still true?
Thx,
MikeH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/opus/attachments/20111010/d38482b5/attachment-0002.htm
2012 Aug 31
1
Memory Size?
In order to determine the optimum heap size requirements for my embedded
C55xx design, I have used the following to get the encoder and decoder
memory requirements:
size = opus_encoder_get_size(config.channels);
enc = malloc(size);
error = opus_encoder_init(enc, config.Fs, config.channels,
config.application);
size = opus_decoder_get_size(config.channels);
2010 Jul 06
3
V0.8.0 Problems
Tim, et al,
I have run into several problems with V0.8.0. I will address them seperately.
1. My compiler is complaining about the following code in celt.c which seems to define metric first as celt_word32, then as celt_word16. Am I mis-interpreting something?
?? VARDECL(celt_word32, metric);
?? ALLOC(metric, len, celt_word16);
Thx
MikeH
-------------- next part --------------
An HTML attachment
2012 Aug 22
2
int operation
Gents,
My TI C55xx complier is complaining about (in opus_encoder.c,
opus_encode()):
st->silk_mode.payloadSize_ms = 1000 * frame_size / st->Fs;
where .payloadSize_ms is opus_int, frame_size is an int, and Fs is a long.
Should one of these be cast differently?
Thx,
MikeH
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2011 Jun 06
1
QCONST16?
Gents,
In Version 8.1, QCONST16 is defined as follows in arch.h within the
FLOATING_POINT section:
#define QCONST16(x,bits) (x)
However, in both celt.c and quant_bands.c, QCONST16 is referenced without a
conditional FLOATING_POINT define. So when I compile as FIXED_POINT I get an
"undefined identifier" for QCONST16. Am I doing something wrong?
Thx,
MikeH
2011 Apr 15
4
Can I use VBR option to change byte_per_packet dynamically ?
Hi,I have been trying some different sample rate and bitrate combinations to get a feel for how CELT behaves,too, like Andrew Lentvorski. But I want to use VBR option.I want to ask a question about VBR in CELT codec.Can we use VBR option in CELT ??? "byte_per_packet" variable in code means constant bit rate, does not it ?In this code : bytes_per_packet is constant.len =
2012 Aug 21
1
FIX vs FLP switch?
Gents,
Where might I find the Fixed Point switch for the Silk portion of Opus
1.0.1? I have generated a config.h file and added #define FIXED_POINT to my
project, but still get FLP compile errors in the Silk files.
Thx,
MikeH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/opus/attachments/20120821/f1c2327a/attachment.htm
2010 Jun 30
1
SMALL_FOOTPRINT?
Jean-Marc,
Can you give us some insight into the meaning and usage of #define
SMALL_FOOTPRINT that appears in cwrs.c?
Thx
MikeH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/opus/attachments/20100630/6edffd7c/attachment-0002.htm
2018 Feb 20
2
[EXTERNAL] Re: Developing OPUS on TI CC3220
Jean-Marc,
Thanks for the response and the helpful info.
I am trying to get the library to build without using the pseudostack define, and use either VAR_ARRAYS or ALLOC, but it seems the global stack is not defined.
Where do can I define this in my example?
VR
-----Original Message-----
From: Jean-Marc Valin [mailto:jmvalin at jmvalin.ca]
Sent: Tuesday, February 20, 2018 5:40 PM
To:
2010 Dec 01
1
stack + heap sizes
??
hi ?Jean-Marc,
?
thanks for your answer.
But still I am struggling to find a reasonable upper limit for the RAM sizes.
?
You say we need 4.5/9.0 kB for enc/dec per channel.
But are those sizes really independent of any settings, like frame_size,
bitrate, complexity, etc. ?
?
at least in our configuration I find these requirements:?
?- native stack: < 2.1kB (enc or dec) measured by RealView
2013 May 27
2
Stack Overflow
Guys,
Program stack is getting overflowed when I create and destroy encoder instance continuously for around 30 times. How can I ensure stack is completely freed when I destroy the encoder instance? I tried with VAR_ARRAYS. But Its giving me errors while I try to compile. I suppose VAR_ARRAYS allocates local variables as arrays so that they could go on to stack and finally when we leave the
2006 Oct 04
2
Crash in cb_search.c, line 414
Ok, I got a strange case..
I got a bugreport from a user about my application crashing on him.
After a bit of trouble, I got him to report back the module and offset
it crashed at (win32). I always retain a copy of my symbol files for my
release builds, so tracking down the crash address leads to:
(gdb) list *0x6d5c2213
0x6d5c2213 is in split_cb_search_shape_sign (cb_search.c:414).
409
2007 Aug 07
1
Attempting to shrink speex: Are these functions necessary?
I'm glad to hear that my data size can be shrunk considerably, however I do not know the minimum values that I would set the static arrays to be. I hate to be a bother but could you tell me the minimum values for these arrays/structures in the state structure? Thanks!
encode:
stack
winBuf
excBuf
swBuf
lagWindow
old_lsp
old_qlsp
mem_sp
mem_sw
mem_sw_whole
mem_exc
mem_exc2
pi_gain
pitch
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