diff options
author | James Almer <jamrial@gmail.com> | 2016-02-20 16:02:30 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2016-02-22 13:54:07 -0300 |
commit | 26034929d574b6ce051677be5fe9ddba70f68a4b (patch) | |
tree | 85e3d773ab84ca072e6330f71841fb68e3a92358 | |
parent | 5a91589476096c20cb6c971ef3ce4d91e41d752b (diff) | |
download | ffmpeg-26034929d574b6ce051677be5fe9ddba70f68a4b.tar.gz |
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>
-rw-r--r-- | tests/checkasm/vf_blend.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/checkasm/vf_blend.c b/tests/checkasm/vf_blend.c index cfc389bf98..aa568c0de0 100644 --- a/tests/checkasm/vf_blend.c +++ b/tests/checkasm/vf_blend.c @@ -79,9 +79,9 @@ dst2 + dst_offset, WIDTH, WIDTH, HEIGHT, ¶m, 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, ¶m, NULL); \ } \ + bench_new(top2, WIDTH / 4, bot2, WIDTH / 4, dst2, WIDTH / 4, \ + WIDTH / 4, HEIGHT / 4, ¶m, NULL); \ } while (0) void checkasm_check_blend(void) |