[mad-dev] Quantizing mad_fixed_t?
Arve Knudsen
arve99@c2i.net
Thu, 3 Jul 2003 13:26:39 +0200
I see that the algorithm for 32 bit output in madplay quantizes to 24 bit; I'm
a little daft when it comes to fixed point representations, but why are some
of the fractional bits discarded even when you're outputting in full 32
bit?
There's also one more thing I don't understand; the original sign bit of the
fixed point number isn't kept (as far as I can see), instead the least
significant whole part bit occupies the sign position. Does this whole part
bit represent the sign (a little confused here)?
Regards
Arve Knudsen