diff mbox series

[FFmpeg-devel,09/10] tests/checkasm/vf_blend: Add missing function parameter

Message ID GV1P250MB07375F2FF1888BFFFDF883098FE22@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM
State Accepted
Headers show
Series [FFmpeg-devel,01/10] tests/checkasm/hevc_*: Fix funtion pointer types | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andreas Rheinhardt May 13, 2024, 9:30 a.m. UTC
Forgotten in 5b8faaad6c71bbb90951ca1642391e11cf6f5f91.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 tests/checkasm/vf_blend.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Marton Balint May 14, 2024, 7:48 p.m. UTC | #1
On Mon, 13 May 2024, Andreas Rheinhardt wrote:

> Forgotten in 5b8faaad6c71bbb90951ca1642391e11cf6f5f91.
>
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@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, &param, NULL);                       \
> +                     dst1 + dst_offset, w, w, HEIGHT, &param, NULL, 0);                    \
>             call_new(top2 + src_offset, w, bot2 + src_offset, w,                           \
> -                     dst2 + dst_offset, w, w, HEIGHT, &param, NULL);                       \
> +                     dst2 + dst_offset, w, w, HEIGHT, &param, 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, &param, NULL);                                        \
> +                  w / 4, HEIGHT / 4, &param, NULL, 0);                                     \
>     } while (0)
>
> void checkasm_check_blend(void)
> -- 
> 2.40.1
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
>
diff mbox series

Patch

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);              \
         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, &param, NULL);                       \
+                     dst1 + dst_offset, w, w, HEIGHT, &param, NULL, 0);                    \
             call_new(top2 + src_offset, w, bot2 + src_offset, w,                           \
-                     dst2 + dst_offset, w, w, HEIGHT, &param, NULL);                       \
+                     dst2 + dst_offset, w, w, HEIGHT, &param, 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, &param, NULL);                                        \
+                  w / 4, HEIGHT / 4, &param, NULL, 0);                                     \
     } while (0)
 
 void checkasm_check_blend(void)