summaryrefslogtreecommitdiffstats
path: root/all_pairs/source/susan
diff options
context:
space:
mode:
authorJoshua Bakita <bakitajoshua@gmail.com>2019-10-07 19:13:39 -0400
committerJoshua Bakita <bakitajoshua@gmail.com>2019-10-07 19:13:39 -0400
commit386b7d3366f1359a265da207a9cafa3edf553b64 (patch)
treec76120c2c138faed822e4ae386be6ef22a738a78 /all_pairs/source/susan
parent54a3f7091a2146b29c73a6fdc4b62a5c4ad7a3d8 (diff)
Reorganize and commit all the modified TACLeBench code and run scripts
Diffstat (limited to 'all_pairs/source/susan')
-rw-r--r--all_pairs/source/susan/ChangeLog.txt11
-rw-r--r--all_pairs/source/susan/LICENSE14
-rw-r--r--all_pairs/source/susan/input.c7292
-rw-r--r--all_pairs/source/susan/math_private.h178
-rw-r--r--all_pairs/source/susan/susan.c2014
-rw-r--r--all_pairs/source/susan/wccfile.c79
-rw-r--r--all_pairs/source/susan/wccfile.h24
-rw-r--r--all_pairs/source/susan/wcclibm.c444
-rw-r--r--all_pairs/source/susan/wcclibm.h53
-rw-r--r--all_pairs/source/susan/wccmalloc.c51
-rw-r--r--all_pairs/source/susan/wccmalloc.h10
11 files changed, 10170 insertions, 0 deletions
diff --git a/all_pairs/source/susan/ChangeLog.txt b/all_pairs/source/susan/ChangeLog.txt
new file mode 100644
index 0000000..bb603df
--- /dev/null
+++ b/all_pairs/source/susan/ChangeLog.txt
@@ -0,0 +1,11 @@
12017-07-04
2 - Removed self-assignment to avoid clangs self-assign warning.
3 - Introduced susan_initm susan_main and susan_return.
4 - Fix possible division by zero to please tacle-lint.
5 - Removed unused variables.
6 - Added prefix 'susan_'.
7 - Removed exit_on_error function.
8 - Removed PowerPC specific typedef.
9
102017-08-18:
11 - Give explicit name to former anonymous struct to silence g++ warnings.
diff --git a/all_pairs/source/susan/LICENSE b/all_pairs/source/susan/LICENSE
new file mode 100644
index 0000000..18d5124
--- /dev/null
+++ b/all_pairs/source/susan/LICENSE
@@ -0,0 +1,14 @@
1This code is issued for research purposes only and remains the
2property of the UK Secretary of State for Defence. This code must
3not be passed on without this header information being kept
4intact. This code must not be sold.
5
6A UK patent has been granted: "Method for digitally processing
7images to determine the position of edges and/or corners therein for
8guidance of unmanned vehicle", UK Patent 2272285. Proprietor:
9Secretary of State for Defence, UK. 15 January 1997
10
11
12Source Code obtained from:
13
14http://www.fmrib.ox.ac.uk/~steve/susan/index.html
diff --git a/all_pairs/source/susan/input.c b/all_pairs/source/susan/input.c
new file mode 100644
index 0000000..4e6ba40
--- /dev/null
+++ b/all_pairs/source/susan/input.c
@@ -0,0 +1,7292 @@
1char susan_input[7292] = { 80,
253,
310,
435,
532,
667,
782,
869,
965,
1084,
1179,
1282,
1358,
1432,
1588,
1686,
1732,
1886,
19101,
20114,
21115,
22105,
23111,
24110,
2532,
2651,
2746,
2849,
2948,
3097,
3132,
3232,
3382,
34101,
35118,
3658,
3732,
3849,
3950,
4047,
4150,
4257,
4347,
4457,
4552,
4632,
4740,
4880,
4978,
5071,
5132,
52112,
5397,
54116,
5599,
56104,
5732,
5849,
5946,
6050,
6141,
6210,
6355,
6454,
6532,
6657,
6753,
6810,
6950,
7053,
7153,
7210,
7335,
7436,
7536,
7636,
7736,
7838,
7938,
8036,
8137,
8237,
8337,
8438,
8538,
8636,
8734,
8838,
8940,
9041,
9142,
9240,
9338,
9436,
9536,
9635,
9736,
9835,
9932,
10035,
10138,
10242,
10342,
10438,
10536,
10636,
10736,
10837,
10936,
11035,
11133,
11233,
11333,
11432,
11531,
11633,
11736,
11839,
11940,
12036,
12136,
12234,
12334,
12436,
12538,
12639,
12737,
12836,
12936,
13035,
13136,
13239,
13339,
13437,
13537,
13639,
13737,
13838,
13939,
14040,
14138,
14237,
14337,
14433,
14533,
14632,
14733,
14834,
14935,
15035,
15136,
15236,
15336,
15437,
15538,
15637,
15738,
15838,
15939,
16041,
16141,
16240,
16340,
16443,
16542,
16641,
16740,
16839,
16938,
17035,
17133,
17235,