0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00
mpv/video/out/d3d11
Philip Langdale e50db42927 vo: hwdec: do hwdec interop lookup by image format
It turns out that it's generally more useful to look up hwdecs by image
format, rather than device type. In the situations where we need to
find one, we generally know the image format we're dealing with. Doing
this avoids us having to create mappings from image format to device
type.

The most significant part of this change is filling in the image format
for the various hw interops. There is a hw_imgfmt field today today, but
only a couple of the interops fill it in, and that seems to be because
we've never actually used this piece of metadata before. Well, now we
have a good use for it.
2022-09-21 09:39:34 -07:00
..
context.c various: fix typos 2022-04-25 09:07:18 -04:00
context.h vo_gpu/d3d11: enable access to the underlying ra_ctx swap chain 2022-02-02 21:48:01 +02:00
hwdec_d3d11va.c hwdec: release images as soon as possible after mapping 2022-03-03 13:06:05 +01:00
hwdec_dxva2dxgi.c vo: hwdec: do hwdec interop lookup by image format 2022-09-21 09:39:34 -07:00
ra_d3d11.c vo_gpu/d3d11: fix VRAM leak 2022-07-21 16:13:45 +02:00
ra_d3d11.h vo_gpu/d3d11: add helper function to get ra_format from DXGI_FORMAT 2022-04-11 17:56:02 +03:00