mirror of
https://github.com/mpv-player/mpv
synced 2024-12-19 05:15:12 +00:00
88c29b1301
This enables DXVA2 hardware decoding with ra_d3d11. It should be useful for Windows 7, where D3D11VA is not available. Images are transfered from D3D9 to D3D11 using D3D9Ex surface sharing[1]. Following Microsoft's recommendations, it uses a queue of shared surfaces, similar to Microsoft's ISurfaceQueue. This will hopefully prevent surface sharing from impacting parallelism and allow multiple D3D11 frames to be in-flight at once. [1]: https://msdn.microsoft.com/en-us/library/windows/desktop/ee913554.aspx |
||
---|---|---|
.. | ||
context.c | ||
hwdec_d3d11va.c | ||
hwdec_dxva2dxgi.c | ||
ra_d3d11.c | ||
ra_d3d11.h |