mirror of
https://github.com/mpv-player/mpv
synced 2024-12-29 02:22:19 +00:00
f221666ade
Certain combinations of hardware formats require the use of hwmap to transfer frames between the formats, rather than hwupload, which will fail if attempted. To keep the usage of vf_format for HW -> HW transfers as intuitive as possible, we should detect these cases and do the map operation instead of uploading. For now, the relevant cases are moving between VAAPI and Vulkan, and VAAPI and DRM Prime, in both directions. I have introduced the IMGFMT entry for Vulkan here so that I can put in the complete mapping table. It's actually not useless, as you can map to Vulkan, use a Vulkan filter and then map back to VAAPI for display output. |
||
---|---|---|
.. | ||
ref | ||
chmap.c | ||
gl_video.c | ||
img_format.c | ||
input-gamepad.conf | ||
json.c | ||
linked_list.c | ||
paths.c | ||
repack.c | ||
scale_sws.c | ||
scale_test.c | ||
scale_test.h | ||
scale_zimg.c | ||
subtimes.js | ||
tests.c | ||
tests.h |