mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-27 13:30:45 +00:00
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: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
5a91589476
commit
26034929d5
@ -79,9 +79,9 @@
|
|||||||
dst2 + dst_offset, WIDTH, WIDTH, HEIGHT, ¶m, NULL); \
|
dst2 + dst_offset, WIDTH, WIDTH, HEIGHT, ¶m, NULL); \
|
||||||
if (memcmp(top1, top2, BUF_SIZE) || memcmp(bot1, bot2, BUF_SIZE) || memcmp(dst1, dst2, BUF_SIZE)) \
|
if (memcmp(top1, top2, BUF_SIZE) || memcmp(bot1, bot2, BUF_SIZE) || memcmp(dst1, dst2, BUF_SIZE)) \
|
||||||
fail(); \
|
fail(); \
|
||||||
bench_new(top2 + src_offset, WIDTH, bot2 + src_offset, WIDTH, \
|
|
||||||
dst2, WIDTH, WIDTH, HEIGHT, ¶m, NULL); \
|
|
||||||
} \
|
} \
|
||||||
|
bench_new(top2, WIDTH / 4, bot2, WIDTH / 4, dst2, WIDTH / 4, \
|
||||||
|
WIDTH / 4, HEIGHT / 4, ¶m, NULL); \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
void checkasm_check_blend(void)
|
void checkasm_check_blend(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user