summaryrefslogtreecommitdiffstats
path: root/DOCS/man
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2017-07-24 23:22:30 +0200
committerNiklas Haas <git@haasn.xyz>2017-07-24 23:26:15 +0200
commit241d5ebc4612041e2731b55b8831d6e7a290cba8 (patch)
treeff62a22ab821cf3412fb9eb1706ad26e8af1be2c /DOCS/man
parent13ef6bcf6fe129614299bb40daa1427a213ed949 (diff)
downloadmpv-241d5ebc4612041e2731b55b8831d6e7a290cba8.tar.bz2
mpv-241d5ebc4612041e2731b55b8831d6e7a290cba8.tar.xz
vo_opengl: adjust the rules for linearization
Two changes, compounded into one since they affect the same logic: 1. Never use linearization for HDR downscaling 2. Always use linearization for interpolation Instead of fixing p->use_linear at the beginning of pass_render_frame, we flip it on "dynamically" as needed. I plan on killing this p->use_linear frame (along with other per-pass metadata) and moving them into their own struct for tracking the "current" state of the video, but that's a separate/upcoming refactor. As a small bonus, reduce some code duplication in the interpolation logic. Fixes #4631
Diffstat (limited to 'DOCS/man')
-rw-r--r--DOCS/man/options.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index d174dc4c5a..bf72d90fc0 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -4110,7 +4110,8 @@ The following video options are currently all specific to ``--vo=opengl`` and
``--linear-scaling``
Scale in linear light. It should only be used with a
- ``--opengl-fbo-format`` that has at least 16 bit precision.
+ ``--opengl-fbo-format`` that has at least 16 bit precision. This option
+ has no effect on HDR content.
``--correct-downscaling``
When using convolution based filters, extend the filter size when
@@ -4133,7 +4134,8 @@ The following video options are currently all specific to ``--vo=opengl`` and
the ``--tscale`` setting.
Note that this relies on vsync to work, see ``--opengl-swapinterval`` for
- more information.
+ more information. It should also only be used with an ``--opengl-fbo-format``
+ that has at least 16 bit precision.
``--interpolation-threshold=<0..1,-1>``
Threshold below which frame ratio interpolation gets disabled (default: