summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2022-07-31 13:29:54 -0700
committerPhilip Langdale <github.philipl@overt.org>2022-08-03 16:56:17 -0700
commit2b34949a7c882e4dd16944be69c6bfe2537819bd (patch)
tree96c5f3905e0a33adbb6030697b2d12dc33473783 /audio
parent64f4249604a99f19edd45ee1412a689259c685a6 (diff)
downloadmpv-2b34949a7c882e4dd16944be69c6bfe2537819bd.tar.bz2
mpv-2b34949a7c882e4dd16944be69c6bfe2537819bd.tar.xz
hwdec/dmabuf_interop_gl: support basic multi-plane formats
I already added the equivalent logic for dmabuf_interop_pl previously but I skipped the GL support because importing dmabufs into GL requires explicitly providing the DRM format, and if you are taking a multi-plane format and trying to treat each plane as a separate layer, you need to come up with a DRM format for each synthetic layer. But my initial testing has shown that the RockPRO64 board I've got to work on drmprime hwdec will only produce NV12 in a single layer multi plane format, and it doesn't have Vulkan support, so I have had to tackle the GL multi-plane problem. To that end, this change introduces the infrastructure to provide new formats for synthetic layers. We only have lookup code for NV12 and P010 as these were the only ones I could test.
Diffstat (limited to 'audio')
0 files changed, 0 insertions, 0 deletions