diff options
author | Siarhei Siamashka <siarhei.siamashka@nokia.com> | 2009-01-04 03:11:12 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-01-06 03:39:27 +0100 |
commit | 365f92ed452f021d4f372220d1e8ea5076dda81a (patch) | |
tree | 98109b9756dd60dc6e64a42030652d6eda83e0ed /lib | |
parent | fb333f1c88df9c50529a390297565a6627bcf7ad (diff) |
Use of constant shift in SBC quantization code to make it faster
The result of 32x32->64 unsigned long multiplication is returned
in two registers (high and low 32-bit parts) for many 32-bit
architectures. For these architectures constant right shift by
32 bits is optimized out by the compiler to just taking the high
32-bit part. Also some data needed at the quantization stage is
precalculated beforehand to improve performance.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions