1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-24 00:46:58 +00:00
mpv/DOCS/man
Niklas Haas 068ff812e4 vo_opengl: refactor scaler configuration
This merges all of the scaler-related options into a single
configuration struct, and also cleans up the way they're passed through
the code. (For example, the scaler index is no longer threaded through
pass_sample, just the scaler configuration itself, and there's no longer
duplication of the params etc.)

In addition, this commit makes scale-down more principled, and turns it
into a scaler in its own right - so there's no longer an ugly separation
between scale and scale-down in the code.

Finally, the radius stuff has been made more proper - filters always
have a radius now (there's no more radius -1), and get a new .resizable
attribute instead for when it's tunable.

User-visible changes:

1. scale-down has been renamed dscale and now has its own set of config
   options (dscale-param1, dscale-radius) etc., instead of reusing
   scale-param1 (which was arguably a bug).

2. The default radius is no longer fixed at 3, but instead uses that
   filter's preferred radius by default. (Scalers with a default radius
   other than 3 include sinc, gaussian, box and triangle)

3. scale-radius etc. now goes down to 0.5, rather than 1.0. 0.5 is the
   smallest radius that theoretically makes sense, and indeed it's used
   by at least one filter (nearest).

Apart from that, it should just be internal changes only.

Note that this sets up for the refactor discussed in #1720, which would
be to merge scaler and window configurations (include parameters etc.)
into a single, simplified string. In the code, this would now basically
just mean getting rid of all the OPT_FLOATRANGE etc. lines related to
scalers and replacing them by a single function that parses a string and
updates the struct scaler_config as appropriate.
2015-04-04 15:36:14 +02:00
..
af.rst manpage: correct option minchn->minch for lavcac3enc 2015-03-30 16:37:03 -07:00
ao.rst ao_wasapi: fix device listing 2015-03-31 12:28:41 -07:00
changes.rst manpage: move out the MPlayer comparison page 2015-02-05 22:12:11 +01:00
encode.rst man: fix a whole bunch of typos 2014-09-01 04:27:13 +02:00
input.rst command: add property returning current working directory 2015-03-24 22:00:01 +01:00
ipc.rst manpage: ipc: make requirements for newlines more explicit 2015-03-23 17:41:19 +01:00
lua.rst DOCS, options: fix example 2015-03-05 19:05:58 +01:00
mpv.rst manpage: clarify global config file location 2015-03-31 00:09:03 +02:00
options.rst sub: add --sub-text-bold option 2015-04-01 22:58:12 +02:00
osc.rst OSC: add osc-message script command (wip) 2015-01-02 16:48:16 +01:00
vf.rst vf_format: allow forcing aspect ratio 2015-04-03 00:14:45 +02:00
vo.rst vo_opengl: refactor scaler configuration 2015-04-04 15:36:14 +02:00