[CELT-dev] FIXED_POINT

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Wed Jul 7 07:59:35 PDT 2010


Did you define DOUBLE_PRECISION and MIXED_PRECISION? This is all handled 
by the configure script, but if you're doing things manually, then it's 
easy to forget something.

	Jean-Marc

On 10-07-07 10:31 AM, Riccardo Micci wrote:
>
> Hi,
> I've recently successful built and run CELT under Windows using
> "testcelt.c" example file. Since I'm about to port it on a embedded
> platform i activated the FIXED_POINT #define.
> I included fixed_generic.h and without other changes to the code i tried
> to encode and decode the same file i previously used.
> The output though is completely saturated i.e. it jumps from -32768 to
> +32767.
> I then tried decoding an encoded in floating point mode file with a
> fixed point decoder and the other way around. Both are not working.
> I'm using CELT 0.7.1.
> It shouldn't be relevant but the source file is
> freq: 32000
> channels: 1
> frame_size = 256
> bytes_per_packet = 64.
>
> Has anybody had my same problem? Any suggestion?
> 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
> <mailto:riccardo.micci at cambridgeconsultants.com>
> www.CambridgeConsultants.com <http://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.
>
>
>
>
> _______________________________________________
> celt-dev mailing list
> celt-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/celt-dev



More information about the celt-dev mailing list