1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-09 08:29:36 +00:00
mpv/libmpcodecs
wm4 e5afc1f405 Remove useless video filters
Most of these have very limited actual use, or are even entirely
useless. They only serve to bloat the codebase and to make life harder.
Drowning users in tons of barely useful filters isn't exactly helpful
either. Some of these filters were redundant or marked as obsolete.

The dlopen and lua (to be added soon) video filters provide ways to add
custom filters.

Detailed listing for each filter with reasons (with contributions from
divVerent and lachs0r):

1bpp:
    Replaced by "scale".
2xsai:
    Pixel art scaling algorithm, useless with lossy video.
blackframe:
    Not very useful. Apparently one use is combining it with scripts,
    that pass the
bmovl:
    Weirdly complex and insane (using FIFO commands), questionable use.
cropdetect:
    Only sort-of useful when used with scripts, and then it will be
    very fragile.
    It's probably better to use the dlopen rectangle filter, or to
    implement the common use-case in a better way.
decimate:
    Not needed/useful with modern video codecs, is an
    encoding-only filter.
denoise3d:
    "hqdn3d" is better.
detc:
    Some of the worse deteleciners.
dint:
    Useless, actually crashes. (On an assert in vf.c that is disabled
    by default in mplayer-svn.)
dvbscale:
    Not even practical, and the same effect can be achieved through
    other means.
eq:
    Worse/older version of eq2.
field:
    Limited use, available as dlopen filter.
fil:
    Quoting the manpage:
        This filter is very similar to the il filter but much faster,
        the main disadvantage is that it does not always work.
        Especially if combined with other filters it may produce
        randomly messed up images, so be happy if it works but do not
        complain if it does not for your combination of filters.
filmdint:
    Kind of redundant with pullup, and slightly worse.
fixpts:
    Never useful. (Most if not all filters have been fixed for PTS.)
framestep:
    Questionable use. For things like creating thumbnails, ffmpeg or
    --sstep should be used.
geq:
    Limited use, will be redundant with the "lua" filter.
halfpack:
    Useless, probably redundant with "scale".
harddup:
    Useless.
hue:
    Most VOs support this.
il:
    Useless.
ivtc:
    Another of the worse deteleciners.
kerndeint:
    A bad deinterlacer.
lavc:
    For DVB output devices. We removed that support.
lavcdeint:
    A bad deinterlacer, was already deprecated.
    Still available as --vf=pp=fd.
mcdeint:
    A broken deinterlacer that uses lavc internals.
ow:
    Very slow, barely any quality benefit over "hqdn3d".
palette:
    Done by "scale".
perspective:
    Files with incorrect perspective are extremely rare. About the
    only real-world use for this is keystone correction, which is
    usually done in hardware by the projector or by graphics
    drivers/compositors.
pp7:
    Another useless postprocessing filter with bad and complicated code.
    Use libpostprocess with "pp" instead.
qp:
    Useless.
remove-logo:
    Redundant with delogo, which is better and more practical.
rgbtest:
    Useless.
sab, smartblur, boxblur:
    Blur filters, redundant to "unsharp".
softskip:
    Does nothing.
spp, fspp, uspp:
    Useless postprocessing filters. "spp" needs ffmpeg internals.
    "fspp" is the optimized version of the "spp" filter (???), while
    "uspp" is the slow version (????).
    Use libpostprocess with "pp" instead.
telecine:
    Evil and useless. Available as dlopen filter for testing
    purposes.
test:
    Useless.
tfields:
    Useless, probably.
tile:
    Questionable use. Available as dlopen filter.
tinterlace:
    Evil and useless.
yuvcsp:
    Probably useless.
yvu9:
    Redundant with "scale".

Also remove the following left-over files: vd_null.c, vqf.h
2012-10-03 01:28:40 +02:00
..
ad_dvdpcm.c ad_dvdpcm: add back PCM decoder for DVD 2012-09-18 21:08:14 +02:00
ad_ffmpeg.c ad_ffmpeg: add sanity check against decoder overreads 2012-08-16 17:16:33 +02:00
ad_internal.h libaf: rename af_format.h to format.h 2012-08-29 00:50:26 +02:00
ad_mpg123.c cleanup: remove pointless #defines 2012-09-18 21:04:46 +02:00
ad_pcm.c rawaudio: use mplayer audio format for format option 2012-09-18 21:07:29 +02:00
ad_spdif.c libmpcodecs: add ad_spdif.c, S/PDIF passthrough decoder 2012-08-03 01:30:08 +02:00
ad.c ad_dvdpcm: add back PCM decoder for DVD 2012-09-18 21:08:14 +02:00
ad.h cosmetics: vf.[ch]: reformat 2011-11-14 20:24:36 +02:00
dec_audio.c dec_audio: do not overwrite sh_audio->wf->wFormatTag 2012-09-18 21:06:40 +02:00
dec_audio.h
dec_video.c vf_rectangle: remove as it is very dirty and we have a replacement now 2012-09-18 21:08:20 +02:00
dec_video.h vf_rectangle: remove as it is very dirty and we have a replacement now 2012-09-18 21:08:20 +02:00
img_format.c options, codecs.conf, img_format: unify imgfmt name handling 2012-08-29 00:14:11 +02:00
img_format.h options, codecs.conf, img_format: unify imgfmt name handling 2012-08-29 00:14:11 +02:00
mp_image.c libmpcodecs: add support for 422P9 2012-08-03 01:43:03 +02:00
mp_image.h mpcodecs: remove mp_image_t.x/y 2012-02-24 15:25:22 +01:00
mpc_info.h video, audio: use lavc decoders without codecs.conf entries 2012-07-24 09:01:47 +03:00
pullup.c Remove dead code 2012-08-01 17:07:35 +02:00
pullup.h Remove dead code 2012-08-01 17:07:35 +02:00
vd_ffmpeg.c demuxer: remove ImageDesc field 2012-09-18 21:04:46 +02:00
vd_internal.h
vd.c libmpcodecs: remove redundant audio and video decoders 2012-08-20 15:36:04 +02:00
vd.h commands, vd_ffmpeg: fix switch_ratio slave command 2011-11-14 20:24:39 +02:00
vf_ass.c subs, vo_vdpau: support RGBA color for PGS subtitles 2012-09-18 21:07:30 +02:00
vf_crop.c
vf_delogo.c
vf_divtc.c
vf_dlopen.c vf_dlopen: improve performance for 1-frame-for-1-frame filters 2012-09-18 21:08:20 +02:00
vf_dlopen.h vf_dlopen: add a generic filter to load external filters 2012-08-23 13:13:53 +02:00
vf_down3dright.c
vf_dsize.c vf_dsize, vf_scale: fix behavior on multiple config() calls 2011-12-19 02:02:32 +02:00
vf_eq2.c
vf_expand.c Adjust ffmpeg/libav #includes to work with recent upstream changes 2012-08-21 18:22:00 +02:00
vf_flip.c
vf_format.c
vf_gradfun.c Adjust ffmpeg/libav #includes to work with recent upstream changes 2012-08-21 18:22:00 +02:00
vf_hqdn3d.c
vf_ilpack.c
vf_mirror.c
vf_noformat.c
vf_noise.c configure: remove checks for malloc.h and alloca() 2012-07-30 22:14:33 +02:00
vf_phase.c
vf_pp.c configure: remove checks for malloc.h and alloca() 2012-07-30 22:14:33 +02:00
vf_pullup.c Rip out 3DNOW support 2012-07-30 01:38:14 +02:00
vf_rotate.c
vf_scale.c vf_scale: do the upscale detection AFTER calculating dimensions 2012-09-24 16:41:12 +02:00
vf_scale.h vf_scale: don't pass CPU flags anymore 2012-07-30 01:38:53 +02:00
vf_screenshot.c screenshot: allow forcing taking screenshots with the video filter 2012-02-29 03:41:14 +01:00
vf_softpulldown.c
vf_stereo3d.c vf_stereo3d.c: half-width side-by-side formats for stereo3d 2012-08-03 01:09:18 +02:00
vf_swapuv.c
vf_unsharp.c vf_unsharp: direct rendering fixes 2012-08-03 03:38:45 +02:00
vf_vo.c subs, vo_vdpau: support RGBA color for PGS subtitles 2012-09-18 21:07:30 +02:00
vf_yadif.c vf_yadif: fix green bottom line 2012-08-03 01:46:43 +02:00
vf.c Remove useless video filters 2012-10-03 01:28:40 +02:00
vf.h vf_rectangle: remove as it is very dirty and we have a replacement now 2012-09-18 21:08:20 +02:00
vfcap.h subs, vo_vdpau: support RGBA color for PGS subtitles 2012-09-18 21:07:30 +02:00