aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/aacdectab.h
diff options
context:
space:
mode:
authorYoung Han Lee <cpumaker@gmail.com>2011-02-14 18:09:43 +0900
committerMichael Niedermayer <michaelni@gmx.at>2011-02-15 16:32:33 +0100
commitece6cca14a403810a075996d1abdffb6917bafd0 (patch)
treea012c3dc88a286104b4359b3ae58f9169617bfdd /libavcodec/aacdectab.h
parentd3c4829a0d5db65e900c7321fb2cf8d86f03f43b (diff)
downloadffmpeg-ece6cca14a403810a075996d1abdffb6917bafd0.tar.gz
aacdec: Implement LTP support.
Ported from gsoc svn. (cherry picked from commit ead15f1dc196ad164d105e31c8c9025f8a4ee4e7)
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