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.rst38
1 files changed, 38 insertions, 0 deletions
diff --git a/DOCS/man/vo.rst b/DOCS/man/vo.rst
index b2a6cd7045..36ca35d51f 100644
--- a/DOCS/man/vo.rst
+++ b/DOCS/man/vo.rst
@@ -549,6 +549,44 @@ Available video output drivers are:
feature doesn't work correctly with different scale factors in
different directions.
+ ``prescale=<filter>``
+ This option provides non-convolution-based filters for upscaling. These
+ filters resize the video to multiple of the original size (all currently
+ supported prescalers can only perform image doubling in a single pass).
+ Generally another convolution based filter (the main scaler) will be
+ applied after prescaler to match the target display size.
+
+ ``none``
+ Disable all prescalers. This is the default.
+
+ ``superxbr``
+ A relatively fast prescaler originally developed for pixel art.
+
+ Some parameters can be tuned with ``superxbr-sharpness`` and
+ ``superxbr-edge-strength`` options.
+
+ Note that all the filters above are designed (or implemented) to process
+ luma plane only and probably won't work as intended for video in RGB
+ format.
+
+ ``prescale-passes=<1..5>``
+ The number of passes to apply the prescaler (defaults to be 1). Setting
+ it to 2 will perform a 4x upscaling.
+
+ ``prescale-downscaling-threshold=<0..32>``
+ This option prevents "overkill" use of prescalers, which can be caused
+ by misconfiguration, or user trying to play a video with much larger
+ size. With this option, user can specify the maximal allowed downscaling
+ ratio in both dimension. To satisfy it, the number of passes for
+ prescaler will be reduced, and if necessary prescaler could also be
+ disabled.
+
+ The default value is 2.0, and should be able to prevent most seemingly
+ unreasonable use of prescalers. Most user would probably want to set it
+ to a smaller value between 1.0 and 1.5 for better performance.
+
+ A value less than 1.0 will disable the check.
+
``pre-shaders=<files>``, ``post-shaders=<files>``, ``scale-shader=<file>``
Custom GLSL fragment shaders.