From cca02e51efd9e1b1e6c9b6002ff51dc076d30b8b Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 9 Feb 2020 19:16:54 +0100 Subject: zimg: add alpha support libzimg recently added direct alpha support and new API for it. (The API change is rather minimal, and it turns out we can easily support old and new zimg versions.) This does not support _all_ alpha formats. For example, gray + alpha is not supported yet, because my stupid design in the zimg wrapper would require a planar gray + alpha format, while ffmpeg provides only a packed one. --- test/ref/repack_zimg.log | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test') diff --git a/test/ref/repack_zimg.log b/test/ref/repack_zimg.log index 07019b7751..de2dd610e2 100644 --- a/test/ref/repack_zimg.log +++ b/test/ref/repack_zimg.log @@ -1,8 +1,14 @@ 0bgr using gbrp 0rgb using gbrp +abgr using gbrap +argb using gbrap bgr0 using gbrp bgr24 using gbrp bgr48 using gbrp16 +bgra using gbrap +bgra64 using gbrap16 rgb0 using gbrp rgb24 using gbrp rgb48 using gbrp16 +rgba using gbrap +rgba64 using gbrap16 -- cgit v1.2.3