aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-05-13 09:58:43 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-05-17 13:31:37 +0200
commitcaec57eb3ab76533822e13d9133fe8c7d87f0c0e (patch)
tree04b786df05dcb697a50c9233994cedbe2c3fdfcc
parent4c57cbda6796ec239ea732c62a058b61390f5102 (diff)
downloadffmpeg-caec57eb3ab76533822e13d9133fe8c7d87f0c0e.tar.gz
tests/checkasm/vf_bwdif: Use correct function pointer type
Forgotten in fa06f48371ba2b73c139810db5bb893dc27eda7a. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--tests/checkasm/vf_bwdif.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/checkasm/vf_bwdif.c b/tests/checkasm/vf_bwdif.c
index fae61b62e4..222e6aa4fa 100644
--- a/tests/checkasm/vf_bwdif.c
+++ b/tests/checkasm/vf_bwdif.c
@@ -40,7 +40,7 @@
const int stride = WIDTH; \
const int mask = (1<<depth)-1; \
\
- declare_func(void, void *dst, void *prev, void *cur, void *next, \
+ declare_func(void, void *dst, const void *prev, const void *cur, const void *next, \
int w, int prefs, int mrefs, int prefs2, int mrefs2, \
int prefs3, int mrefs3, int prefs4, int mrefs4, \
int parity, int clip_max); \
@@ -181,7 +181,7 @@ void checkasm_check_vf_bwdif(void)
for (parity = 0; parity != 2; ++parity) {
if (check_func(ctx_8.filter_edge, "bwdif8.edge.s%d.p%d", spat, parity)) {
- declare_func(void, void *dst1, void *prev1, void *cur1, void *next1,
+ declare_func(void, void *dst1, const void *prev1, const void *cur1, const void *next1,
int w, int prefs, int mrefs, int prefs2, int mrefs2,
int parity, int clip_max, int spat);
@@ -225,7 +225,7 @@ void checkasm_check_vf_bwdif(void)
const int stride = WIDTH;
const int mask = (1<<8)-1;
- declare_func(void, void *dst1, void *cur1, int w, int prefs, int mrefs,
+ declare_func(void, void *dst1, const void *cur1, int w, int prefs, int mrefs,
int prefs3, int mrefs3, int parity, int clip_max);
randomize_buffers( cur0, cur1, mask, 11*WIDTH);