[FFmpeg-devel] [PATCH 09/10] tests/checkasm/vf_blend: Add missing function parameter
Marton Balint
cus at passwd.hu
Tue May 14 22:48:19 EEST 2024
On Mon, 13 May 2024, Andreas Rheinhardt wrote:
> Forgotten in 5b8faaad6c71bbb90951ca1642391e11cf6f5f91.
>
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
> tests/checkasm/vf_blend.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/tests/checkasm/vf_blend.c b/tests/checkasm/vf_blend.c
> index b5a96ee4bc..5ebfc11fed 100644
> --- a/tests/checkasm/vf_blend.c
> +++ b/tests/checkasm/vf_blend.c
> @@ -68,7 +68,7 @@
> const uint8_t *bottom, ptrdiff_t bottom_linesize, \
> uint8_t *dst, ptrdiff_t dst_linesize, \
> ptrdiff_t width, ptrdiff_t height, \
> - struct FilterParams *param, double *values); \
> + struct FilterParams *param, double *values, int starty); \
You are going to need to adjust the parameters after the vf_blend patch I
just pushed.
Thanks,
Marton
> w = WIDTH / depth; \
> \
> for (i = 0; i < BUF_UNITS - 1; i++) { \
> @@ -76,14 +76,14 @@
> int dst_offset = i * SIZE_PER_UNIT; /* dst must be aligned */ \
> randomize_buffers(); \
> call_ref(top1 + src_offset, w, bot1 + src_offset, w, \
> - dst1 + dst_offset, w, w, HEIGHT, ¶m, NULL); \
> + dst1 + dst_offset, w, w, HEIGHT, ¶m, NULL, 0); \
> call_new(top2 + src_offset, w, bot2 + src_offset, w, \
> - dst2 + dst_offset, w, w, HEIGHT, ¶m, NULL); \
> + dst2 + dst_offset, w, w, HEIGHT, ¶m, NULL, 0); \
> if (memcmp(top1, top2, BUF_SIZE) || memcmp(bot1, bot2, BUF_SIZE) || memcmp(dst1, dst2, BUF_SIZE)) \
> fail(); \
> } \
> bench_new(top2, w / 4, bot2, w / 4, dst2, w / 4, \
> - w / 4, HEIGHT / 4, ¶m, NULL); \
> + w / 4, HEIGHT / 4, ¶m, NULL, 0); \
> } while (0)
>
> void checkasm_check_blend(void)
> --
> 2.40.1
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
>
More information about the ffmpeg-devel
mailing list