diff options
author | Philip Langdale <philipl@overt.org> | 2022-06-05 13:53:18 -0700 |
---|---|---|
committer | Philip Langdale <github.philipl@overt.org> | 2022-07-23 12:23:30 -0700 |
commit | 89dfcf8286fbcd70669650fb52edaefa6343c113 (patch) | |
tree | 9fd584e4cd5ba3ae807adea026a9e09af9d40dc3 /video/out/wayland_common.c | |
parent | 6e4dd334fe22357e979be4b971b5f7c49b81f253 (diff) | |
download | mpv-89dfcf8286fbcd70669650fb52edaefa6343c113.tar.bz2 mpv-89dfcf8286fbcd70669650fb52edaefa6343c113.tar.xz |
hwdec_vaapi_pl: support simple multi-plane image formats
This is somewhat academic for now, as we explicitly ask for separate
layers and the scenarios where multi-plane images are required also use
complex formats that cannot be decomposed after the fact, but
nevertheless it is possible for us to consume simple multi-plane
images where there is one layer with n planes instead of n layers with
one plane each.
In these cases, we just treat the planes the same as we would if they
were each in a separate layer and everything works out.
It ought to be possible to make this work for OpenGL but I couldn't
wrap my head around how to provide the right DRM fourcc when
pretending a plane is a layer by itself. So I've left that
unimplemented.
Diffstat (limited to 'video/out/wayland_common.c')
0 files changed, 0 insertions, 0 deletions