summaryrefslogtreecommitdiff
path: root/test/image_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-05-25 00:03:51 +0100
committerCarl Hetherington <cth@carlh.net>2017-05-25 00:03:51 +0100
commit0f664dab81a835feebd5db92942413f91747481f (patch)
treeb0761612b7ca45c3ac4d7856dfc8e26e4f599295 /test/image_test.cc
parentf1d209319f90adc50e0f3d2a853216052f290bd5 (diff)
More tests; fix blend for YUV420P10LE.
Diffstat (limited to 'test/image_test.cc')
-rw-r--r--test/image_test.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/image_test.cc b/test/image_test.cc
index 6a35be07f..59000918a 100644
--- a/test/image_test.cc
+++ b/test/image_test.cc
@@ -180,8 +180,12 @@ alpha_blend_test_one (AVPixelFormat format, string suffix)
/** Test Image::alpha_blend */
BOOST_AUTO_TEST_CASE (alpha_blend_test)
{
+ alpha_blend_test_one (AV_PIX_FMT_RGB24, "rgb24");
+ alpha_blend_test_one (AV_PIX_FMT_BGRA, "bgra");
alpha_blend_test_one (AV_PIX_FMT_RGBA, "rgba");
+ alpha_blend_test_one (AV_PIX_FMT_RGB48LE, "rgb48le");
alpha_blend_test_one (AV_PIX_FMT_YUV420P, "yuv420p");
+ alpha_blend_test_one (AV_PIX_FMT_YUV420P10LE, "yuv420p10le");
}
/** Test merge (list<PositionImage>) with a single image */