aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2018-12-20 19:10:26 +0100
committerSylvain Munaut <tnt@246tNt.com>2019-01-21 10:34:51 +0100
commita3934a11a4a9cd7f510cc188192bf27302695ef5 (patch)
tree021d613ccf745d86803e4fcb4791ecedc9a2dcaf /tests
parentacf804c0347ac279e2909359a36f48e752d0e485 (diff)
convolve: Remove support for step, offset parameters
- Those are not used any where - Those are not supported by the sse/neon accelerated versions - And I see very little use cases for those. Change-Id: Ic850269a0ed5d98c0ea68980afd31016ed555b48 Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/Transceiver52M/convolve_test.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/tests/Transceiver52M/convolve_test.c b/tests/Transceiver52M/convolve_test.c
index 54bc7a1..8ca4b72 100644
--- a/tests/Transceiver52M/convolve_test.c
+++ b/tests/Transceiver52M/convolve_test.c
@@ -62,21 +62,17 @@ static void test_convolve_complex(int h_len)
int y_len;
int start;
int len;
- int step;
- int offset;
x_len=34;
y_len=26;
start=8;
len=26;
- step=1;
- offset=1;
reset_testvec(0);
dump_floats(x,x_len,"x");
printf("\n");
dump_floats(h,h_len,"h");
printf("\n");
- convolve_complex(x, x_len, h, h_len, y, y_len, start, len, step, offset);
+ convolve_complex(x, x_len, h, h_len, y, y_len, start, len);
dump_floats(y,y_len,"y");
printf("\n");
}
@@ -88,21 +84,17 @@ static void test_convolve_real(int h_len)
int y_len;
int start;
int len;
- int step;
- int offset;
x_len=34;
y_len=26;
start=8;
len=26;
- step=1;
- offset=1;
reset_testvec(0);
- dump_floats(x,x_len,"x");
+ dump_floats(x-30,2*x_len+30,"x");
printf("\n");
- dump_floats(h,h_len,"h");
+ dump_floats(h,2*h_len,"h");
printf("\n");
- convolve_real(x, x_len, h, h_len, y, y_len, start, len, step, offset);
+ convolve_real(x, x_len, h, h_len, y, y_len, start, len);
dump_floats(y,y_len,"y");
printf("\n");
}