summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-02-09 19:16:54 +0100
committerwm4 <wm4@nowhere>2020-02-09 19:16:54 +0100
commitcca02e51efd9e1b1e6c9b6002ff51dc076d30b8b (patch)
tree5c99356323fd81ade71d4d78ebd9a1b84ff76dec /test
parentc9963c13685d8f6eed6101eed3bebe075a5efda1 (diff)
downloadmpv-cca02e51efd9e1b1e6c9b6002ff51dc076d30b8b.tar.bz2
mpv-cca02e51efd9e1b1e6c9b6002ff51dc076d30b8b.tar.xz
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.
Diffstat (limited to 'test')
-rw-r--r--test/ref/repack_zimg.log6
1 files changed, 6 insertions, 0 deletions
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