summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf_bmovl.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove useless video filterswm42012-10-031-496/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* cleanup: remove more warningsClément Bœsch2011-05-021-4/+3
|
* vf_*: fix pts values passed to the next filterRudolf Polzer2011-04-241-6/+6
| | | | | | | | | | | | Many video filters failed to calculate or even just pass through pts values for their output frames. Fix this, and also make the two remaining filters that called vf_next_put_image() twice for the same input frame (vf_softpulldown, vf_telecine) use vf_queue_frame() so that e.g. framestepping properly sees both frames. Changed filters: vf_bmovl, vf_detc, vf_divtc, vf_filmdint, vf_ivtc, vf_lavc, vf_phase, vf_pullup, vf_softpulldown, vf_telecine, vf_tile, vf_tinterlace.
* cosmetics: "struct vf_instance* vf" -> "struct vf_instance *vf"Uoti Urpala2010-05-291-3/+3
| | | | | | | Change 'struct vf_instance' pointer arguments to more standard style as in the subject. Also some other minor formatting fixes. Patch by Diego Biurrun.
* Merge svn changes up to r30683Uoti Urpala2010-03-101-1/+1
|\
| * Rename open() vf initialization function to vf_open().diego2010-02-211-1/+1
| | | | | | | | | | | | | | This avoids clashes with fcntl.h under certain circumstances. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30680 b3059339-0415-0410-9bf9-f77b7e298cf2
| * whitespace cosmetics: Remove all trailing whitespace.diego2009-05-131-10/+10
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Remove trailing whitespace from most filesUoti Urpala2009-07-071-10/+10
| |
* | Merge svn changes up to r29117Uoti Urpala2009-04-011-1/+1
|\|
| * cosmetics: Remove file names from file header, it only causes trouble.diego2009-03-151-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28959 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r27573Uoti Urpala2008-09-101-2/+20
|\| | | | | | | | | Conflicts: libmpcodecs/vd_ffmpeg.c
| * Replace casual GPL notices by proper license headers.diego2008-09-071-2/+20
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27541 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Remove _s/_st suffix from some struct namesUoti Urpala2008-04-251-4/+4
|/ | | | | Since the names are always used after the keyword "struct" having a suffix as in "struct demuxer_st" is almost completely pointless.
* begin moving const filter data to .text/.rodata sectionsrfelker2007-11-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24997 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace implicit use of fast_memcpy via macro by explicit use to allowreimar2007-06-051-3/+3
| | | | | | | for future optimization. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23475 b3059339-0415-0410-9bf9-f77b7e298cf2
* Conditionally compile vf_bmovl.c instead of enclosing all of the filediego2007-03-211-4/+0
| | | | | | | in #ifdef HAVE_POSIX_SELECT. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22770 b3059339-0415-0410-9bf9-f77b7e298cf2
* Invert logic for HAVE_NO_POSIX_SELECT to HAVE_POSIX_SELECT to be in linediego2007-03-211-1/+1
| | | | | | | with the other HAVE_ #defines throughout the codebase. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22769 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use libavutil's av_clip* instead of unreadable MIN/MAX chaos.reimar2007-03-011-6/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22395 b3059339-0415-0410-9bf9-f77b7e298cf2
* in some cases, vf_bmovl produces junk due to source andgpoirier2006-07-231-3/+3
| | | | | | | | | | | | destination stride mismatch. The attached patch fixes it by replacing memcpy with memcpy_pic. Patch by Jindrich Makovicka Original thread: Date: Jul 12, 2006 6:35 PM Subject: [MPlayer-dev-eng] [PATCH] vf_bmovl: respect destination stride git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19171 b3059339-0415-0410-9bf9-f77b7e298cf2
* passing pts through the filter layer (lets see if pts or cola comes out at ↵michael2006-03-211-7/+7
| | | | | | the end) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17907 b3059339-0415-0410-9bf9-f77b7e298cf2
* include config.h before includes that need itiive2006-02-161-1/+1
| | | | | | | based on patch by Alan Curry <pacman at theworld com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17631 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unify include path handling, -I.. is in CFLAGS.diego2005-11-181-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17013 b3059339-0415-0410-9bf9-f77b7e298cf2
* close stream_fd on uninit. Fixes bugzilla bug #400.reimar2005-11-011-0/+2
| | | | | | | Modified patch from T. Dekker {t dekker [at] student utwente nl}. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16887 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix bug when bmovl can't read the whole pic at onceattila2003-12-101-1/+17
| | | | | | | patch by Detlev Droege <droege@uni-koblenz.de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11621 b3059339-0415-0410-9bf9-f77b7e298cf2
* correct handling of select ret=0, patch by Jonas Jensen <jbj@knef.dk>alex2003-10-051-2/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11016 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix SIG11 if no args givenalbeu2003-06-261-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10338 b3059339-0415-0410-9bf9-f77b7e298cf2
* disable vf_bmovl for systems without posix selectfaust32003-04-041-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9833 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add the new -vf option wich is the same as vop in reverse order.albeu2003-03-151-1/+2
| | | | | | | | Syntax is we decided, so you can give the nomes or not with both vop and vf. vf take precedence over vop. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9594 b3059339-0415-0410-9bf9-f77b7e298cf2
* The code for converting RGB to YUV in bmovl is slow because it usesarpi2003-01-281-3/+3
| | | | | | | | | floating point arithmetic. The attached patch changes it to use integers instead, giving about a 2x performance boost on animations. Jonas Jensen <jbj@knef.dk> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9132 b3059339-0415-0410-9bf9-f77b7e298cf2
* This is a simple patch to change the alpha blending code in bmovl to usearpi2003-01-261-3/+12
| | | | | | | | | | integers instead of floating point. It speeds it up by about 400% meaning that it's now possible to apply alpha blending to a whole 1024x768 image on my 1266MHz PIII. Jonas Jensen <jbj@knef.dk> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9111 b3059339-0415-0410-9bf9-f77b7e298cf2
* may not be perfect but it's certainly a start. feel free to changerfelker2003-01-101-20/+22
| | | | | | | message levels or error behavior but DON'T exit() from filters! git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8879 b3059339-0415-0410-9bf9-f77b7e298cf2
* updated commentsarpi2002-10-241-17/+20
| | | | | | | patch by Per Wigren <wigren@home.se> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7896 b3059339-0415-0410-9bf9-f77b7e298cf2
* time.h required for select()arpi2002-10-231-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7859 b3059339-0415-0410-9bf9-f77b7e298cf2
* -vop bmovl - BitMap OVerLay videofilter for MPlayerarpi2002-10-231-0/+441
patch by Per Wigren <wigren@home.se> TODO: -dr, MMX opt, fix alpha-only png, other colorspaces git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7856 b3059339-0415-0410-9bf9-f77b7e298cf2