mirror of https://github.com/mpv-player/mpv
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. |
||
---|---|---|
.. | ||
draw_bmp.txt | ||
img_formats.txt | ||
repack.txt | ||
repack_sws.log | ||
repack_zimg.log | ||
zimg_formats.txt |