Skip to content

Commit 88c29b1

Browse files
committed
vo_gpu: hwdec_dxva2dxgi: initial implementation
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
1 parent 185e63a commit 88c29b1

File tree

5 files changed

+474
-2
lines changed

5 files changed

+474
-2
lines changed

DOCS/man/options.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -691,8 +691,9 @@ Video
691691
:videotoolbox: requires ``--vo=gpu`` (OS X 10.8 and up),
692692
or ``--vo=opengl-cb`` (iOS 9.0 and up)
693693
:videotoolbox-copy: copies video back into system RAM (OS X 10.8 or iOS 9.0 and up)
694-
:dxva2: requires ``--vo=gpu`` with ``--gpu-context=angle`` or
695-
``--gpu-context=dxinterop`` (Windows only)
694+
:dxva2: requires ``--vo=gpu`` with ``--gpu-context=d3d11``,
695+
``--gpu-context=angle`` or ``--gpu-context=dxinterop``
696+
(Windows only)
696697
:dxva2-copy: copies video back to system RAM (Windows only)
697698
:d3d11va: requires ``--vo=gpu`` with ``--gpu-context=d3d11`` or
698699
``--gpu-context=angle`` (Windows 8+ only)

0 commit comments

Comments
 (0)