diff options
author | Siarhei Siamashka <siarhei.siamashka@nokia.com> | 2009-01-29 02:17:36 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-01-29 08:25:50 +0100 |
commit | a563c8ed5a5d5004f4270dd8836f4257c1da2fe8 (patch) | |
tree | 520ed16c174f1cab6fc0749b267e5044b9a74e7d /include/sdp.h | |
parent | 85ad02b73626ee5caca6adb6e2890a7a588ecb38 (diff) |
SBC encoder scale factors calculation optimized with __builtin_clz
Count leading zeros operation is often implemented using a special
instruction for it on various architectures (at least this is true
for ARM and x86). Using __builtin_clz gcc intrinsic allows to
eliminate innermost loop in scale factors calculation and improve
performance. Also scale factors calculation can be optimized even
more using SIMD instructions.
Diffstat (limited to 'include/sdp.h')
0 files changed, 0 insertions, 0 deletions