summaryrefslogtreecommitdiffstats
path: root/DOCS/man/options.rst
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-11-08 00:05:40 +0100
committersfan5 <sfan5@live.de>2023-11-22 11:43:20 +0100
commit67deebc5b5cf9f00f43e0126213fcae05335dd48 (patch)
treee2f9e72df377735465c3ac12314485316efa0d50 /DOCS/man/options.rst
parent73eecdb415f2a7499b0ae41a7af5e924319068ae (diff)
downloadmpv-67deebc5b5cf9f00f43e0126213fcae05335dd48.tar.bz2
mpv-67deebc5b5cf9f00f43e0126213fcae05335dd48.tar.xz
vaapi: add support for vaapi-win32
Only vaapi-copy variant as nothing can map D3D12 resources currently. And even if we would add resource sharing to D3D11 it would invoke copy at some point, so there is no point really. Maybe in the future when libplacebo get smarter about resource sharing on Windows, but practical advantages are really small. I've tested it with Vulkan <-> D3D11 sharing and GPU <-> GPU copy is still invoked. Better than CPU memcpy, something for the future.
Diffstat (limited to 'DOCS/man/options.rst')
-rw-r--r--DOCS/man/options.rst7
1 files changed, 5 insertions, 2 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index e0445d4654..36693c254f 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -1293,7 +1293,7 @@ Video
or ``--vo=libmpv`` (iOS 9.0 and up)
:videotoolbox-copy: copies video back into system RAM (macOS 10.8 or iOS 9.0 and up)
:vaapi: requires ``--vo=gpu``, ``--vo=vaapi`` or ``--vo=dmabuf-wayland`` (Linux only)
- :vaapi-copy: copies video back into system RAM (Linux with some GPUs only)
+ :vaapi-copy: copies video back into system RAM (Linux with some GPUs or Windows)
:nvdec: requires ``--vo=gpu`` (Any platform CUDA is available)
:nvdec-copy: copies video back to system RAM (Any platform CUDA is available)
:drm: requires ``--vo=gpu`` (Linux only)
@@ -1497,10 +1497,13 @@ Video
For the Vulkan GPU backend, decoding must always happen on the display
device, and this option has no effect.
-``--vaapi-device=<device file>``
+``--vaapi-device=<device file|adapter name>``
Choose the DRM device for ``vaapi-copy``. This should be the path to a
DRM device file. (Default: ``/dev/dri/renderD128``)
+ On Windows this takes adapter name as an input. Will pick the default adapter
+ if unset. Alternatives are listed when the name "help" is given.
+
``--panscan=<0.0-1.0>``
Enables pan-and-scan functionality (cropping the sides of e.g. a 16:9
video to make it fit a 4:3 display without black bands). The range