From ead15f1dc196ad164d105e31c8c9025f8a4ee4e7 Mon Sep 17 00:00:00 2001 From: Young Han Lee Date: Mon, 14 Feb 2011 18:09:43 +0900 Subject: aacdec: Implement LTP support. Ported from gsoc svn. --- libavcodec/aacdectab.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libavcodec/aacdectab.h') 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 +/* @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 -- cgit v1.2.1