[FFmpeg-cvslog] checkasm/vf_blend: use the correct depth parameters to initialize the blend modes
    James Almer 
    git at videolan.org
       
    Sun Jul 12 17:40:36 EEST 2020
    
    
  
ffmpeg | branch: release/4.3 | James Almer <jamrial at gmail.com> | Sat Jul 11 20:55:32 2020 -0300| [d913badb9f13d24ca8a980d9d4ec7f1b0838bd4b] | committer: James Almer
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 at gmail.com>
(cherry picked from commit 55e1bc39cb3e485e5b0b6b13a41a2fd6f18ed3af)
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d913badb9f13d24ca8a980d9d4ec7f1b0838bd4b
---
 tests/checkasm/vf_blend.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
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);
 
    
    
More information about the ffmpeg-cvslog
mailing list