Commit 26034929 authored by James Almer's avatar James Almer

checkasm: bench each vf_blend mode once

Also bench a smaller buffer. This drastically reduces --bench runtime
and reports smaller, more readable numbers.
Reviewed-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent 5a915894
......@@ -79,9 +79,9 @@
dst2 + dst_offset, WIDTH, WIDTH, HEIGHT, &param, NULL); \
if (memcmp(top1, top2, BUF_SIZE) || memcmp(bot1, bot2, BUF_SIZE) || memcmp(dst1, dst2, BUF_SIZE)) \
fail(); \
bench_new(top2 + src_offset, WIDTH, bot2 + src_offset, WIDTH, \
dst2, WIDTH, WIDTH, HEIGHT, &param, NULL); \
} \
bench_new(top2, WIDTH / 4, bot2, WIDTH / 4, dst2, WIDTH / 4, \
WIDTH / 4, HEIGHT / 4, &param, NULL); \
} while (0)
void checkasm_check_blend(void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment