Kumar Phaneendra
2004-Aug-06 15:01 UTC
[speex-dev] speex_preprocess in fixed point arithmetics
Hi, I am trying to get speex_preprocess in real time for Arm. Tried 32.32 fixed point but looks like even that precision is also not enough. Any suggesions? Regards, Phani. ====!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !The butterfly counts not months but moments,! ! and has time enough. ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'speex-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Jean-Marc Valin
2004-Aug-06 15:01 UTC
[speex-dev] speex_preprocess in fixed point arithmetics
> I am trying to get speex_preprocess in real time for > Arm. Tried 32.32 fixed point but looks like even that > precision is also not enough. Any suggesions?32.32 precision is more than the current precision (float with 24-bit mantissa). What you're probably experiencing is overflows and/or underflows. This can only be resolved by looking at the values at each place and using shifts appropriately. Also, the thing is that ARM cannot handle 32.32 (64 bits) directly, so I'm guessing that the final code uses ~10 instructions for each multiplication. Instead, I think it's probably possible to use a mix of 16-bit and 32-bit arithmetic for the preprocessor. Of course, it would require more time to convert (though you might save some work if you find a fixed-point FFT implementation somewhere). Jean-Marc -- Jean-Marc Valin, M.Sc.A., ing. jr. LABORIUS (http://www.gel.usherb.ca/laborius) Université de Sherbrooke, Québec, Canada -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 190 bytes Desc: Ceci est une partie de message numériquement signée. Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20031218/6b65506e/signature-0001.pgp