summaryrefslogtreecommitdiffstats
path: root/sbc/sbc_math.h
diff options
context:
space:
mode:
authorSiarhei Siamashka <siarhei.siamashka@nokia.com>2009-01-15 19:11:23 +0200
committerMarcel Holtmann <marcel@holtmann.org>2009-01-16 00:28:32 +0100
commit9e31e7dde636ca28ee551e8bcf8e4f4ca0ef553d (patch)
treeefc05cd31c23eb871dcff2ed3776473e38a3d003 /sbc/sbc_math.h
parent5331a26b8a3c2d69d30a4334e023238db197080b (diff)
SIMD-friendly variant of SBC encoder analysis filter
Added SIMD-friendly C implementation of SBC analysis filter (the structure of code had to be changed a bit and constants in the tables reordered). This code can be used as a reference for developing platform specific SIMD optimizations. These functions are put into a new file 'sbc_primitives.c', which is going to contain all the basic stuff for SBC codec.
Diffstat (limited to 'sbc/sbc_math.h')
-rw-r--r--sbc/sbc_math.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sbc/sbc_math.h b/sbc/sbc_math.h
index 6ca4f526..b87bc81c 100644
--- a/sbc/sbc_math.h
+++ b/sbc/sbc_math.h
@@ -29,8 +29,6 @@
#define ASR(val, bits) ((-2 >> 1 == -1) ? \
((int32_t)(val)) >> (bits) : ((int32_t) (val)) / (1 << (bits)))
-#define SCALE_OUT_BITS 15
-
#define SCALE_SPROTO4_TBL 12
#define SCALE_SPROTO8_TBL 14
#define SCALE_NPROTO4_TBL 11