OSDN Git Service

New SBC analysis filter function to replace current broken code
authorSiarhei Siamashka <siarhei.siamashka@nokia.com>
Sun, 28 Dec 2008 01:22:59 +0000 (03:22 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 29 Dec 2008 11:52:20 +0000 (12:52 +0100)
commita6cb57cd010c728e97bb92f7ae6bbc12d61b66c8
tree02070d99b40713c93c7f3c7cff4e20a3deb07074
parent635e9348a95ee44b208acfb9712ea18f5a10be68
New SBC analysis filter function to replace current broken code

This code is heavily based on the patch submitted by Jaska Uimonen.
Additional changes include preserving extra bits in the output of
filter function for better precision, support for both 16-bit and
32-bit fixed point implementation. Sign of some table values was
changed in order to preserve a regular code structure and have
multiply-accumulate oparations only. No additional optimizations
were applied as this code is intended to be some kind of "reference"
implementation. Platform specific optimizations may require
different tricks and can be branched off from this implementation.
Some extra information about this code can be found in linux-bluetooth
mailing list archive for December 2008.
sbc/sbc.c
sbc/sbc_math.h
sbc/sbc_tables.h