1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-04 06:08:26 +02:00

tests/checkasm/vf_bwdif: Use correct function pointer type

Forgotten in fa06f48371ba2b73c139810db5bb893dc27eda7a.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2024-05-13 09:58:43 +02:00
parent 4c57cbda67
commit caec57eb3a

View File

@ -40,7 +40,7 @@
const int stride = WIDTH; \ const int stride = WIDTH; \
const int mask = (1<<depth)-1; \ 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 w, int prefs, int mrefs, int prefs2, int mrefs2, \
int prefs3, int mrefs3, int prefs4, int mrefs4, \ int prefs3, int mrefs3, int prefs4, int mrefs4, \
int parity, int clip_max); \ int parity, int clip_max); \
@ -181,7 +181,7 @@ void checkasm_check_vf_bwdif(void)
for (parity = 0; parity != 2; ++parity) { for (parity = 0; parity != 2; ++parity) {
if (check_func(ctx_8.filter_edge, "bwdif8.edge.s%d.p%d", spat, 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 w, int prefs, int mrefs, int prefs2, int mrefs2,
int parity, int clip_max, int spat); int parity, int clip_max, int spat);
@ -225,7 +225,7 @@ void checkasm_check_vf_bwdif(void)
const int stride = WIDTH; const int stride = WIDTH;
const int mask = (1<<8)-1; 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); int prefs3, int mrefs3, int parity, int clip_max);
randomize_buffers( cur0, cur1, mask, 11*WIDTH); randomize_buffers( cur0, cur1, mask, 11*WIDTH);