summaryrefslogtreecommitdiff
path: root/libavcodec/aactab.h
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2015-10-17 02:06:09 +0100
committerRostislav Pehlivanov <atomnuker@gmail.com>2015-10-17 02:31:20 +0100
commitb9fb1db9b42cfad6b4073daf70ca7b89840a1c15 (patch)
tree78ba2213772be0337d4fdec04808bd7a291a9bab /libavcodec/aactab.h
parenta878dfa4f57d068eb69fb6614f7a4a20f769ee7b (diff)
aactab: move ltp_coef[] from aacdectab to aactab
The encoder makes use of it in the following commits.
Diffstat (limited to 'libavcodec/aactab.h')
-rw-r--r--libavcodec/aactab.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/aactab.h b/libavcodec/aactab.h
index 9f333801e9..eb915166a2 100644
--- a/libavcodec/aactab.h
+++ b/libavcodec/aactab.h
@@ -41,6 +41,14 @@
* encoder.
*/
+/* @name ltp_coef
+ * Table of the LTP coefficients
+ */
+static const INTFLOAT ltp_coef[8] = {
+ Q30(0.570829f), Q30(0.696616f), Q30(0.813004f), Q30(0.911304f),
+ Q30(0.984900f), Q30(1.067894f), Q30(1.194601f), Q30(1.369533f),
+};
+
/* @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