summaryrefslogtreecommitdiff
path: root/src/tansig_table.h
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2012-09-14 15:49:18 -0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2012-09-14 15:49:18 -0400
commit027ff070f0bf322eb6f940001e7c78f10a8ee0f4 (patch)
treed7c7dede665f018290e38b888b3c616428612ee6 /src/tansig_table.h
parent97a48473acee2d3c2ec2f5a619dad6078874af23 (diff)
downloadopus-027ff070f0bf322eb6f940001e7c78f10a8ee0f4.tar.gz
Shrinks tansig table, makes data static const
Diffstat (limited to 'src/tansig_table.h')
-rw-r--r--src/tansig_table.h62
1 files changed, 1 insertions, 61 deletions
diff --git a/src/tansig_table.h b/src/tansig_table.h
index ccf43daa..a5aba230 100644
--- a/src/tansig_table.h
+++ b/src/tansig_table.h
@@ -1,56 +1,6 @@
/* This file is auto-generated by gen_tables */
-static const opus_val16 tansig_table[501] = {
--1.000000, -1.000000, -1.000000, -1.000000, -1.000000,
--1.000000, -1.000000, -1.000000, -1.000000, -1.000000,
--1.000000, -1.000000, -1.000000, -1.000000, -1.000000,
--1.000000, -1.000000, -1.000000, -1.000000, -1.000000,
--1.000000, -1.000000, -1.000000, -1.000000, -1.000000,
--1.000000, -1.000000, -1.000000, -1.000000, -1.000000,
--1.000000, -1.000000, -1.000000, -1.000000, -1.000000,
--1.000000, -1.000000, -1.000000, -1.000000, -1.000000,
--1.000000, -1.000000, -1.000000, -1.000000, -1.000000,
--1.000000, -1.000000, -1.000000, -1.000000, -1.000000,
--1.000000, -1.000000, -1.000000, -1.000000, -1.000000,
--1.000000, -1.000000, -1.000000, -1.000000, -1.000000,
--1.000000, -0.999999, -0.999999, -0.999999, -0.999999,
--0.999999, -0.999999, -0.999999, -0.999999, -0.999999,
--0.999999, -0.999999, -0.999999, -0.999999, -0.999998,
--0.999998, -0.999998, -0.999998, -0.999998, -0.999998,
--0.999997, -0.999997, -0.999997, -0.999997, -0.999997,
--0.999996, -0.999996, -0.999996, -0.999995, -0.999995,
--0.999994, -0.999994, -0.999994, -0.999993, -0.999992,
--0.999992, -0.999991, -0.999990, -0.999990, -0.999989,
--0.999988, -0.999987, -0.999986, -0.999984, -0.999983,
--0.999982, -0.999980, -0.999978, -0.999977, -0.999975,
--0.999973, -0.999970, -0.999968, -0.999965, -0.999962,
--0.999959, -0.999956, -0.999952, -0.999948, -0.999944,
--0.999939, -0.999934, -0.999929, -0.999923, -0.999916,
--0.999909, -0.999902, -0.999893, -0.999885, -0.999875,
--0.999865, -0.999853, -0.999841, -0.999828, -0.999813,
--0.999798, -0.999781, -0.999763, -0.999743, -0.999722,
--0.999699, -0.999673, -0.999646, -0.999617, -0.999585,
--0.999550, -0.999513, -0.999472, -0.999428, -0.999381,
--0.999329, -0.999273, -0.999213, -0.999147, -0.999076,
--0.999000, -0.998916, -0.998826, -0.998728, -0.998623,
--0.998508, -0.998384, -0.998249, -0.998104, -0.997946,
--0.997775, -0.997590, -0.997389, -0.997172, -0.996937,
--0.996682, -0.996407, -0.996108, -0.995784, -0.995434,
--0.995055, -0.994644, -0.994199, -0.993718, -0.993196,
--0.992631, -0.992020, -0.991359, -0.990642, -0.989867,
--0.989027, -0.988119, -0.987136, -0.986072, -0.984921,
--0.983675, -0.982327, -0.980869, -0.979293, -0.977587,
--0.975743, -0.973749, -0.971594, -0.969265, -0.966747,
--0.964028, -0.961090, -0.957917, -0.954492, -0.950795,
--0.946806, -0.942503, -0.937863, -0.932862, -0.927473,
--0.921669, -0.915420, -0.908698, -0.901468, -0.893698,
--0.885352, -0.876393, -0.866784, -0.856485, -0.845456,
--0.833655, -0.821040, -0.807569, -0.793199, -0.777888,
--0.761594, -0.744277, -0.725897, -0.706419, -0.685809,
--0.664037, -0.641077, -0.616909, -0.591519, -0.564900,
--0.537050, -0.507977, -0.477700, -0.446244, -0.413644,
--0.379949, -0.345214, -0.309507, -0.272905, -0.235496,
--0.197375, -0.158649, -0.119427, -0.079830, -0.039979,
+static const opus_val16 tansig_table[201] = {
0.000000, 0.039979, 0.079830, 0.119427, 0.158649,
0.197375, 0.235496, 0.272905, 0.309507, 0.345214,
0.379949, 0.413644, 0.446244, 0.477700, 0.507977,
@@ -91,15 +41,5 @@ static const opus_val16 tansig_table[501] = {
0.999999, 0.999999, 0.999999, 0.999999, 0.999999,
1.000000, 1.000000, 1.000000, 1.000000, 1.000000,
1.000000, 1.000000, 1.000000, 1.000000, 1.000000,
-1.000000, 1.000000, 1.000000, 1.000000, 1.000000,
-1.000000, 1.000000, 1.000000, 1.000000, 1.000000,
-1.000000, 1.000000, 1.000000, 1.000000, 1.000000,
-1.000000, 1.000000, 1.000000, 1.000000, 1.000000,
-1.000000, 1.000000, 1.000000, 1.000000, 1.000000,
-1.000000, 1.000000, 1.000000, 1.000000, 1.000000,
-1.000000, 1.000000, 1.000000, 1.000000, 1.000000,
-1.000000, 1.000000, 1.000000, 1.000000, 1.000000,
-1.000000, 1.000000, 1.000000, 1.000000, 1.000000,
-1.000000, 1.000000, 1.000000, 1.000000, 1.000000,
1.000000,
};