[FFmpeg-cvslog] checkasm/vf_blend : add test for blend_simple_16, phoenix_16 and difference_16

Martin Vignali git at videolan.org
Sat Feb 24 22:46:13 EET 2018


ffmpeg | branch: master | Martin Vignali <martin.vignali at gmail.com> | Sat Feb 17 21:02:12 2018 +0100| [c0919c49855b4b7f6a476d2daf2b160d9c50407b] | committer: Martin Vignali

checkasm/vf_blend : add test for blend_simple_16, phoenix_16 and difference_16

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c0919c49855b4b7f6a476d2daf2b160d9c50407b
---

 tests/checkasm/vf_blend.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/tests/checkasm/vf_blend.c b/tests/checkasm/vf_blend.c
index 9933f0426e..79bdf9f163 100644
--- a/tests/checkasm/vf_blend.c
+++ b/tests/checkasm/vf_blend.c
@@ -123,6 +123,18 @@ void checkasm_check_blend(void)
 
     report("8bit");
 
+    check_and_report(addition_16, BLEND_ADDITION, 2)
+    check_and_report(and_16, BLEND_AND, 2)
+    check_and_report(darken_16, BLEND_DARKEN, 2)
+    check_and_report(difference_16, BLEND_DIFFERENCE, 2)
+    check_and_report(lighten_16, BLEND_LIGHTEN, 2)
+    check_and_report(or_16, BLEND_OR, 2)
+    check_and_report(phoenix_16, BLEND_PHOENIX, 2)
+    check_and_report(subtract_16, BLEND_SUBTRACT, 2)
+    check_and_report(xor_16, BLEND_SUBTRACT, 2)
+
+    report("16bit");
+
     av_freep(&top1);
     av_freep(&top2);
     av_freep(&bot1);



More information about the ffmpeg-cvslog mailing list