diff options
author | James Almer <jamrial@gmail.com> | 2020-07-11 20:55:32 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2020-07-12 11:39:40 -0300 |
commit | d913badb9f13d24ca8a980d9d4ec7f1b0838bd4b (patch) | |
tree | 4f53634da65d421c5feef27235f3696cf975ef41 /tests | |
parent | 8fd7d3864de6a82d7a7c4d1a3620cb21cb0dd8b9 (diff) | |
download | ffmpeg-d913badb9f13d24ca8a980d9d4ec7f1b0838bd4b.tar.gz |
checkasm/vf_blend: use the correct depth parameters to initialize the blend modes
This effectively enables the tests that until now were just running
the C version alone.
Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit 55e1bc39cb3e485e5b0b6b13a41a2fd6f18ed3af)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/checkasm/vf_blend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/checkasm/vf_blend.c b/tests/checkasm/vf_blend.c index a7578fec39..bdd21d4986 100644 --- a/tests/checkasm/vf_blend.c +++ b/tests/checkasm/vf_blend.c @@ -99,7 +99,7 @@ void checkasm_check_blend(void) #define check_and_report(name, val, depth) \ param.mode = val; \ - ff_blend_init(¶m, depth - 1); \ + ff_blend_init(¶m, depth * 8); \ if (check_func(param.blend, #name)) \ check_blend_func(depth); |