Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2013-09-07 00:00:39 +0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2013-09-07 00:00:39 +0400
commit3ab03e05561f81f0eacac3ee724baac33b89683b (patch)
tree27fa7ce390c3dc47fe43d20ae10d88ce13fe02a5 /celt/fixed_generic.h
parent91904a4c91eb19abcebe843045f4599ee67adbee (diff)
First pass at making the analysis code run with FIXED_POINT
Code is still float, but at least tonality esitmation seems to work. Speech/music analysis is still disabled.
Diffstat (limited to 'celt/fixed_generic.h')
-rw-r--r--celt/fixed_generic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/celt/fixed_generic.h b/celt/fixed_generic.h
index 0e77976e..657e67c8 100644
--- a/celt/fixed_generic.h
+++ b/celt/fixed_generic.h
@@ -116,6 +116,7 @@
#define MAC16_32_Q15(c,a,b) ADD32(c,ADD32(MULT16_16((a),SHR((b),15)), SHR(MULT16_16((a),((b)&0x00007fff)),15)))
#define MULT16_16_Q11_32(a,b) (SHR(MULT16_16((a),(b)),11))
+#define MULT16_16_Q11(a,b) (SHR(MULT16_16((a),(b)),11))
#define MULT16_16_Q13(a,b) (SHR(MULT16_16((a),(b)),13))
#define MULT16_16_Q14(a,b) (SHR(MULT16_16((a),(b)),14))
#define MULT16_16_Q15(a,b) (SHR(MULT16_16((a),(b)),15))