summaryrefslogtreecommitdiffstats
path: root/tests/checkasm
diff options
context:
space:
mode:
authorMartin Vignali <martin.vignali@gmail.com>2018-02-17 21:02:12 +0100
committerMartin Vignali <martin.vignali@gmail.com>2018-02-24 21:44:23 +0100
commitc0919c49855b4b7f6a476d2daf2b160d9c50407b (patch)
tree15cd92fcce4edcd67151820a589b02981f4b3d6c /tests/checkasm
parent53a03b5c8c7d355bd353727115efc9977aa76f28 (diff)
downloadffmpeg-streaming-c0919c49855b4b7f6a476d2daf2b160d9c50407b.zip
ffmpeg-streaming-c0919c49855b4b7f6a476d2daf2b160d9c50407b.tar.gz
checkasm/vf_blend : add test for blend_simple_16, phoenix_16 and difference_16
Diffstat (limited to 'tests/checkasm')
-rw-r--r--tests/checkasm/vf_blend.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/checkasm/vf_blend.c b/tests/checkasm/vf_blend.c
index 9933f04..79bdf9f 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);
OpenPOWER on IntegriCloud