aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/aacdectab.h
diff options
context:
space:
mode:
authorYoung Han Lee <cpumaker@gmail.com>2011-02-14 18:09:43 +0900
committerAlex Converse <alex.converse@gmail.com>2011-02-14 21:43:42 -0800
commitead15f1dc196ad164d105e31c8c9025f8a4ee4e7 (patch)
tree0763bfb67ac39ea5828a60ee268e16d88dcd0501 /libavcodec/aacdectab.h
parent77c330a046d668373cbd9542f3e1d4746916b02f (diff)
downloadffmpeg-ead15f1dc196ad164d105e31c8c9025f8a4ee4e7.tar.gz
aacdec: Implement LTP support.
Ported from gsoc svn.
Diffstat (limited to 'libavcodec/aacdectab.h')
-rw-r--r--libavcodec/aacdectab.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/aacdectab.h b/libavcodec/aacdectab.h
index b4307f133c..500e8f2ad0 100644
--- a/libavcodec/aacdectab.h
+++ b/libavcodec/aacdectab.h
@@ -35,6 +35,14 @@
#include <stdint.h>
+/* @name ltp_coef
+ * Table of the LTP coefficient (multiplied by 2)
+ */
+static const float ltp_coef[8] = {
+ 1.141658, 1.393232, 1.626008, 1.822608,
+ 1.969800, 2.135788, 2.2389202, 2.739066,
+};
+
/* @name tns_tmp2_map
* Tables of the tmp2[] arrays of LPC coefficients used for TNS.
* The suffix _M_N[] indicate the values of coef_compress and coef_res