From f61eda0f5e9f8085003c4c31111db525a438cbc1 Mon Sep 17 00:00:00 2001 From: Lynne Date: Sun, 3 Apr 2022 14:17:43 +0200 Subject: vd_lavc: add vo caps and option to set GPU film grain application --- DOCS/man/options.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'DOCS') diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 717a58ccd2..85ab159f83 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -1679,6 +1679,17 @@ Video the number of packets that could not be decoded. Values below an unspecified count will not have this problem, because mpv retains the packets. +``--vd-lavc-film-grain=`` + Enables film grain application on the GPU. If video decoding is done on + the CPU, doing film grain application on the GPU can speed up decoding. + This option can also help hardware decoding, as it can reduce the number + of frame copies done. + + By default, it's set to ``auto``, so if the VO supports film grain + application, then it will be treated as ``gpu``. If the VO does not + support this, then it will be treated as ``cpu``, regardless of the setting. + Currently, only ``gpu-next`` supports film grain application. + ``--vd-lavc-dr=`` Enable direct rendering (default: yes). If this is set to ``yes``, the video will be decoded directly to GPU video memory (or staging buffers). -- cgit v1.2.3