From fd5207f56d13f70a7750ac457dc5efdb514d9845 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 10 Jun 2014 22:41:14 +0200 Subject: options: remove global variables for swscale options; rename them Additionally to removing the global variables, this makes the options more uniform. --ssf-... becomes --sws-..., and --sws becomes --sws- scaler. For --sws-scaler, use choices instead of magic integer values. --- DOCS/man/en/changes.rst | 2 ++ DOCS/man/en/options.rst | 49 +++++++++++++++++++------------------------------ 2 files changed, 21 insertions(+), 30 deletions(-) (limited to 'DOCS') diff --git a/DOCS/man/en/changes.rst b/DOCS/man/en/changes.rst index 1387d03372..01a210fae8 100644 --- a/DOCS/man/en/changes.rst +++ b/DOCS/man/en/changes.rst @@ -189,6 +189,7 @@ Command Line Switches ``-spugauss`` ``--sub-gauss`` ``-srate`` ``--audio-samplerate`` ``-ss`` ``--start`` + ``-ssf `` ``--sws-...`` ``-stop-xscreensaver`` ``--stop-screensaver`` ``-sub-fuzziness`` ``--sub-auto`` ``-sub`` ``--sub-file`` @@ -200,6 +201,7 @@ Command Line Switches ``-subfont`` ``--sub-text-font`` ``-subfps`` ``--sub-fps`` ``-subpos`` ``--sub-pos`` + ``-sws`` ``--sws-scaler`` ``-tvscan`` ``--tv-scan`` ``-use-filename-title`` ``--title='${filename}'`` ``-vc ffh264vdpau`` (etc.) ``--hwdec=vdpau`` diff --git a/DOCS/man/en/options.rst b/DOCS/man/en/options.rst index 44219a35e9..d2ae257d91 100644 --- a/DOCS/man/en/options.rst +++ b/DOCS/man/en/options.rst @@ -2120,20 +2120,6 @@ OPTIONS Disabled by default. -``--ssf=`` - Specifies software scaler parameters. - - :lgb=<0-100>: gaussian blur filter (luma) - :cgb=<0-100>: gaussian blur filter (chroma) - :ls=<-100-100>: sharpen filter (luma) - :cs=<-100-100>: sharpen filter (chroma) - :chs=: chroma horizontal shifting - :cvs=: chroma vertical shifting - - .. admonition:: Example - - ``--vf=scale --ssf=lgb=3.0`` - ``--sstep=`` Skip seconds after every frame. @@ -2309,29 +2295,32 @@ OPTIONS `--sub-speed=25/23.976`` plays frame based subtitles which have been loaded assuming a framerate of 23.976 at 25 FPS. -``--sws=`` +``--sws-scaler=`` Specify the software scaler algorithm to be used with ``--vf=scale``. This also affects video output drivers which lack hardware acceleration, e.g. ``x11``. See also ``--vf=scale``. - Available types are: + To get a list of available scalers, run ``--sws-scaler=help``. - :0: fast bilinear - :1: bilinear - :2: bicubic (good quality) (default) - :3: experimental - :4: nearest neighbor (bad quality) - :5: area - :6: luma bicubic / chroma bilinear - :7: gauss - :8: sincR - :9: lanczos - :10: natural bicubic spline + Default: ``bicubic``. - .. note:: +``--sws-lgb=<0-100>`` + Software scaler gaussian blur filter (luma). See ``--sws-scaler``. + +``--sws-cgb=<0-100>`` + Software scaler gaussian blur filter (chroma). See ``--sws-scaler``. + +``--sws-ls=<-100-100>`` + Software scaler sharpen filter (luma). See ``--sws-scaler``. + +``--sws-cs=<-100-100>`` + Software scaler sharpen filter (chroma). See ``--sws-scaler``. + +``--sws-chs=`` + Software scaler chroma horizontal shifting. See ``--sws-scaler``. - Some ``--sws`` options are tunable. The description of the ``scale`` - video filter has further information. +``--sws-cvs=`` + Software scaler chroma vertical shifting. See ``--sws-scaler``. ``--term-osd, --no-term-osd``, ``--term-osd=force`` Display OSD messages on the console when no video output is available. -- cgit v1.2.3