Re: [Bluez-devel] more encoder stuff

Henryk Plötz
2004-11-25T23:06:55Z

[-- Attachment #1: Type: text/plain, Size: 1020 bytes --]

Moin,

Am Thu, 25 Nov 2004 07:51:24 +0100 schrieb Marcel Holtmann:

> The MAD library (www.underbit.com/products/mad/) is using fixed-point
> integer computation. Do you think it is possible to do the same thing
> for SBC? Will it give us some extra performance?

Unfortunately I'm not familiar with fixed-point arithmetics, especially
with how to handle multiplication. So if anyone who has done this before
would step forward ...

Well, I did some naive tests: I probably did something wrong, but I'm
not seeing any significant difference between floating point and fixed
point (that is: integer). For multiplication the difference is not
noticeable (1.38s vs. 1.36s in my test program) and for addition it is
not that big (0.77s vs. 0.47s).

I guess we'll be fine using floating point as long as there is an FPU.

--
Henryk Plötz
Grüße aus Berlin
~~~~~~~ Un-CDs, nein danke! http://www.heise.de/ct/cd-register/ ~~~~~~~
~ Help Microsoft fight software piracy: Give Linux to a friend today! ~

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]