summaryrefslogtreecommitdiffstats
path: root/DOCS/man
diff options
context:
space:
mode:
authorJan Ekström <jeebjp@gmail.com>2019-10-12 00:35:22 +0300
committerJames Ross-Gowan <rossy@jrg.systems>2019-10-13 22:31:33 +1100
commit648d7859300562a99f035e06a0d42245c3c46e23 (patch)
treed627852fd319b8e6b3a11b2aef526b6b43712113 /DOCS/man
parent4809a3f48d41f5414057e965c0f18e0279cc2abe (diff)
downloadmpv-648d7859300562a99f035e06a0d42245c3c46e23.tar.bz2
mpv-648d7859300562a99f035e06a0d42245c3c46e23.tar.xz
vo_gpu/d3d11: add support for configuring swap chain format
Query information on the system output most linked to the swap chain, and either utilize a user-configured format, or either 8bit RGBA or 10bit RGB with 2bit alpha depending on the system output's bit depth.
Diffstat (limited to 'DOCS/man')
-rw-r--r--DOCS/man/options.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index 277bf0df12..b6263f0485 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -4708,6 +4708,18 @@ The following video options are currently all specific to ``--vo=gpu`` and
functionality to receive a device, such as D3D11VA or DXVA2's DXGI
mode, will be affected by this choice.
+``--d3d11-output-format=<auto|rgba8|bgra8|rgb10_a2|rgba16f>``
+ Select a specific D3D11 output format to utilize for D3D11 rendering.
+ "auto" is the default, which will pick either rgba8 or rgb10_a2 depending
+ on the configured desktop bit depth. rgba16f and bgra8 are left out of
+ the autodetection logic, and are available for manual testing.
+
+ .. note::
+
+ Desktop bit depth querying is only available from an API available
+ from Windows 10. Thus on older systems it will only automatically
+ utilize the rgba8 output format.
+
``--d3d11va-zero-copy=<yes|no>``
By default, when using hardware decoding with ``--gpu-api=d3d11``, the
video image will be copied (GPU-to-GPU) from the decoder surface to a