[CELT-dev] BYTES_PER_CHAR
Riccardo Micci
riccardo.micci at cambridgeconsultants.com
Tue Jul 20 03:57:46 PDT 2010
Hello,
I'm porting CELT 0.7.1 to an embedded platform and unfortunately (at least
for me) CHAR is defined as 16 bits. I now got the vocoder compiling but
when i compare the encoded output with a windows build, they don't match.
Among the other problems i think that the char definition is one of the
biggest players. I've seen in arch.h the following definitions:
/* 2 on TI C5x DSP */
#define BYTES_PER_CHAR 2
#define BITS_PER_CHAR 16
#define LOG2_BITS_PER_CHAR 4
That makes me think the code is in someway ready to work on these kind of
platforms. I don't see the above definition used anywhere in the code
though. Does anybody know if CELT could work on platform with 16 bits char
or if any attempt has been already tried?
Thanks!
Regards
Riccardo
Riccardo Micci
Senior DSP Engineer, Wireless Group
Cambridge Consultants
Science Park, Milton Road
Cambridge, CB4 0DW, England
Switchboard: +44 (0)1223 420024
Direct dial: +44 (0)1223 392402
Mobile: +44 (0)
Fax: +44 (0)1223 423373
riccardo.micci at cambridgeconsultants.com
www.CambridgeConsultants.com
This email is from Cambridge Consultants Limited, Science Park, Milton
Road, Cambridge CB4 0DW with registered number 1036298 England. It may
contain confidential information. It is intended for the addressee only
and may not be copied or disclosed to any third party without our
permission. If you are not the intended recipient please contact the
sender as soon as possible and delete the material from any computer. If
this email has been sent as a personal message to the addressee, the
sender is not acting in his/her capacity as an employee or officer of
Cambridge Consultants Limited and no liability is accepted for the content
of any such email. Outgoing email may be monitored for the purpose of
ensuring compliance with our email policy and relevant laws.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/opus/attachments/20100720/a467f300/attachment-0002.htm
More information about the celt-dev
mailing list