Displaying 20 results from an estimated 600 matches similar to: "Porting CELt to the C5505"
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
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);
2009 Dec 16
2
Porting CELt to the C5505
Hi,
I am an applications engineer for Texas Instruments in the UK. I am trying to port the CELT codec to the C5505, this has HW accelerated FFT engine (http://focus.ti.com/docs/prod/folders/print/tms320vc5505.html).
I am having problems with the stack allocation. Do you have any reference code that compiles for the C55x under CCS (code composer studio)?
*******************************
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 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:
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:
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 Apr 09
2
running speex on c5505 usb sticki
Hi,
I am currently working on C5505 USB stick
http://focus.ti.com/docs/toolsw/folders/print/tmdx5505ezdsp.html to sample
input voice and encode it. For compiling and buring usual programs, I am
using CCStudio 4.0.
For encoding voice samples, I am using Speex codec binary
http://downloads.xiph.org/releases/speex/speex-1.2beta3-win32.zip or
2010 Apr 10
2
running speex on c5505 usb sticki
Hi Randy,
Thanks for reply. I have one question though.
While compiling the speex (downloaded from
http://downloads.xiph.org/releases/speex/speex-1.2rc1.tar.gz), I gave
./configure
-enable-ti-c55x option and then built the library through make and make
install using cygwin. In this case, I get this error "error: member "bits.o"
of archive
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
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 Feb 16
1
Static Variables?
I am trying to get CELT running on a TI 5515 and am having trouble creating
a heap large enough to accommodate all of the dynamically created variables.
In fact, I would much prefer to have all variables created statically. Could
someone give me a short tutorial on what I need to do the create all of the
requisite variable statically?
Thx,
MikeH
-------------- next part --------------
An
2010 Jul 24
0
running speex on C5505, anybody tested the quality of voice?
Hi,
I am working on a project which intends to enable voice communication over
zigbee.
As the handset node, I am using TI's C5505 ezDSP USB stick. I want to run
speex encoder on it. After encode, I intend to send it over CC2520 radio to
the backend zigbee network.
The C5505 ezDSP has input and output for AIC3204 codec which I am using to
give sampled input from laptop (lineout) and playback
2010 Apr 09
0
running speex on c5505 usb sticki
Oh my.
The c:/Program Files/Speex/libspeex.lib file is a Windows/x86 library
file. The code within this files is not C55x binary but x86 binary.
Further, the format of a Windows/x86 library file is different from that
produced by the C55x code generation tools' archive utility, and that is
what the linker is complaining about.
As far as I know, there is no pre-developed C55x speex library,
2010 Apr 16
0
running speex on c5505 usb sticki
Vijay,
I used Code Composer Studio 3.x to directly build everything. There could certainly be issues with the ./configure, make, make install process. There are .pjt files supplied to build in the CCS simulator, so I suggest that you try that. The c55x option is just a compile switch, which deals with the fact that this platform has a 16-bit "byte", among other things.
Regards,
Jim
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
2006 May 16
1
new assembler port
> I suggest that you start by looking at 8kbps, complexity 0.
Actually, I strongly recommand *against* using complexity 0, unless you're
really desperate for a few MIPS. The complexity reduction compared to 1 is
small, but the loss in quality can be significant.
> I (and others)
> are running that on a TI C55xx DSP, and it runs a little under 30 MIPs when
> I last checked, with
2012 Feb 22
0
TI55xx Opus Issues
I am having trouble compiling Opus for my TI55xx project. When I define
CONFIG_TI_C55X, I get several compile errors regarding int vs long and int
vs opus_int32.
(i.e. int *value = va_arg(ap, opus_int32*); in opus_decoder_ctl).
Also, shouldn't the following be included at the top of opus_types.h?
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
Thanks.
2004 Sep 16
3
speex on TI C5x fixed-point DSP
Greetings,
I've just started porting speex to a TI C5509 DSP. It doesn't look like
it's going to be too painful, but there are a couple of quirks about the
C5x.
1) chars are 16 bits because memory addresses are for 16bit words
2) ints and short are also 16 bits (so sizeof(char) = sizeof(short) =
sizeof(int) = 1)
3) the c5x is essentially big endian
My plan is to change int and