mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-19 16:41:26 +08:00
cca02e51ef
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.
15 lines
246 B
Plaintext
15 lines
246 B
Plaintext
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
|