summaryrefslogtreecommitdiffstats
path: root/DOCS/man/vo.rst
diff options
context:
space:
mode:
Diffstat (limited to 'DOCS/man/vo.rst')
-rw-r--r--DOCS/man/vo.rst15
1 files changed, 14 insertions, 1 deletions
diff --git a/DOCS/man/vo.rst b/DOCS/man/vo.rst
index d5a4ef9b26..8e8b9803be 100644
--- a/DOCS/man/vo.rst
+++ b/DOCS/man/vo.rst
@@ -484,7 +484,7 @@ Available video output drivers are:
(default: empty)
``--drm-mode=<number>``
- Mode ID to use (resolution, bit depth and frame rate).
+ Mode ID to use (resolution and frame rate).
(default: 0)
``--drm-overlay=<number>``
@@ -492,6 +492,19 @@ Available video output drivers are:
Overlay index is zero based, and related to crtc.
(default: 0)
+ ``--drm-format=<xrgb8888,xrgb2101010>``
+ Select the DRM format to use (default: xrgb8888). This allows you to
+ choose the bit depth of the DRM mode. xrgb8888 is your usual 24 bit per
+ pixel/8 bits per channel packed RGB format with 8 bits of padding.
+ xrgb2101010 is a packed 30 bits per pixel/10 bits per channel packed RGB
+ format with 2 bits of padding.
+
+ Unless you have an intel graphics card, a recent kernel and a recent
+ version of mesa (>=18) xrgb2101010 is unlikely to work for you.
+
+ This currently only has an effect when used together with the ``drm``
+ backend for the ``gpu`` VO. The ``drm`` VO always uses xrgb8888.
+
``mediacodec_embed`` (Android)
Renders ``IMGFMT_MEDIACODEC`` frames directly to an ``android.view.Surface``.
Requires ``--hwdec=mediacodec`` for hardware decoding, along with