diff aacdectab.h @ 7609:3f6fc60f1ed3 libavcodec

More OKed AAC decoder code hunks
author superdump
date Mon, 18 Aug 2008 21:36:58 +0000
parents 850a1625bee4
children c4a4495715dd
line wrap: on
line diff
--- a/aacdectab.h	Mon Aug 18 19:39:08 2008 +0000
+++ b/aacdectab.h	Mon Aug 18 21:36:58 2008 +0000
@@ -171,4 +171,39 @@
 };
 // @}
 
+/* @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
+ * respectively.
+ * @{
+ */
+static const float tns_tmp2_map_1_3[4] = {
+     0.00000000,  0.43388373, -0.64278758, -0.34202015,
+};
+
+static const float tns_tmp2_map_0_3[8] = {
+     0.00000000,  0.43388373,  0.78183150,  0.97492790,
+    -0.98480773, -0.86602539, -0.64278758, -0.34202015,
+};
+
+static const float tns_tmp2_map_1_4[8] = {
+     0.00000000,  0.20791170,  0.40673664,  0.58778524,
+    -0.67369562, -0.52643216, -0.36124167, -0.18374951,
+};
+
+static const float tns_tmp2_map_0_4[16] = {
+     0.00000000,  0.20791170,  0.40673664,  0.58778524,
+     0.74314481,  0.86602539,  0.95105654,  0.99452192,
+    -0.99573416, -0.96182561, -0.89516330, -0.79801720,
+    -0.67369562, -0.52643216, -0.36124167, -0.18374951,
+};
+
+static const float *tns_tmp2_map[4] = {
+    tns_tmp2_map_0_3,
+    tns_tmp2_map_0_4,
+    tns_tmp2_map_1_3,
+    tns_tmp2_map_1_4
+};
+// @}
+
 #endif /* FFMPEG_AACDECTAB_H */