summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove long-deprecated -vop option.diego2006-12-021-17/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21446 b3059339-0415-0410-9bf9-f77b7e298cf2
* Update comment, video output plugins are deprecated.diego2006-12-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21442 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove remnants of long-gone libfame.diego2006-11-061-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20739 b3059339-0415-0410-9bf9-f77b7e298cf2
* generic equation filtermichael2006-10-161-0/+4
| | | | | | | example: -vf 'geq=(p(X\,Y)+p(mod(Y*2-X*2\,W)\,mod(Y*2+X*2+sin((X-Y)/10/SW+N)*SW*20\,H)))/2' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20272 b3059339-0415-0410-9bf9-f77b7e298cf2
* conditional declerations are unnecessaryods152006-09-171-6/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19869 b3059339-0415-0410-9bf9-f77b7e298cf2
* new black frame detection filterivo2006-07-151-0/+2
| | | | | | | | by Brian J. Murrell, Julian Hall and me. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19099 b3059339-0415-0410-9bf9-f77b7e298cf2
* Marks several string parameters as const when they are not modified in the ↵reynaldo2006-07-091-2/+2
| | | | | | function, Patch by Stefan Huehner, stefan AT huehner-org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18985 b3059339-0415-0410-9bf9-f77b7e298cf2
* Initial libass release (without mencoder support).eugeni2006-07-071-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18942 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a new video pts tracking mode, enabled by option -correct-pts.uau2006-07-061-0/+32
| | | | | | | | | | | | | | This mode has the following differences: - Video timing is correct for streams with B frames, at least with some demuxers. - Video filters can modify frame timestamps and insert new frames, and removing frames is handled better than before. - Some things are known to break, it's not usable as the default yet. Things should work as before when the -correct-pts option is not used. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18922 b3059339-0415-0410-9bf9-f77b7e298cf2
* vf_mcdeint should be compiled in #ifdef USE_LIBAVCODEC_DSPUTIL, not #ifdef ↵nicodvb2006-06-071-3/+1
| | | | | | USE_LIBAVCODEC git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18636 b3059339-0415-0410-9bf9-f77b7e298cf2
* yet another deinterlacing filtermichael2006-06-061-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18609 b3059339-0415-0410-9bf9-f77b7e298cf2
* Motion compensating deinterlacermichael2006-06-061-0/+4
| | | | | | | note, the code could probably benefit from some finetuning / experimentation in case anyone is bored ... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18591 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix memory corruption in vd_libmpeg2uau2006-04-271-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18302 b3059339-0415-0410-9bf9-f77b7e298cf2
* Part2 of several printf2mp_msg changes in patch from Otvos Attila oattila AT ↵reynaldo2006-03-311-1/+1
| | | | | | chello DOT hu with LOTS of modifications by me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18005 b3059339-0415-0410-9bf9-f77b7e298cf2
* passing pts through the filter layer (lets see if pts or cola comes out at ↵michael2006-03-211-2/+2
| | | | | | the end) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17907 b3059339-0415-0410-9bf9-f77b7e298cf2
* compile in the filters that depend on libavcodec/dsputil.h only when mplayer ↵nicodvb2006-03-161-3/+3
| | | | | | is configured to use the imported libavcodec git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17883 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch by Stefan Huehner / stefan % huehner ! org \rathann2006-02-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | patch replaces '()' for the correct '(void)' in function declarations/prototypes which have no parameters. The '()' syntax tell thats there is a variable list of arguments, so that the compiler cannot check this. The extra CFLAG '-Wstrict-declarations' shows those cases. Comments about a similar patch applied to ffmpeg: That in C++ these mean the same, but in ANSI C the semantics are different; function() is an (obsolete) K&R C style forward declaration, it basically means that the function can have any number and any types of parameters, effectively completely preventing the compiler from doing any sort of type checking. -- Erik Slagter Defining functions with unspecified arguments is allowed but bad. With arguments unspecified the compiler can't report an error/warning if the function is called with incorrect arguments. -- Måns Rullgård git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17567 b3059339-0415-0410-9bf9-f77b7e298cf2
* proper support for shared libpostprocdiego2006-01-221-2/+2
| | | | | | | patch by Nico Sabbi, fixes and consistency cleanups by me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17464 b3059339-0415-0410-9bf9-f77b7e298cf2
* massive attack: mp_msg printf format fixesrathann2006-01-121-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17367 b3059339-0415-0410-9bf9-f77b7e298cf2
* do not set the flag when config failedhenry2005-12-161-1/+4
| | | | | | | patch by Mikulas Patocka (mikulas at artax karlin mff cuni cz) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17199 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unify include path handling, -I.. is in CFLAGS.diego2005-11-181-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17013 b3059339-0415-0410-9bf9-f77b7e298cf2
* ultra simple&slow pp filter, yes yet another spp like filter :)michael2005-11-081-0/+2
| | | | | | | | | | | this one does actually compress&decompress the video at various shifts with lavc while the other spp filters are doing optimized intra only filtering limitations: mpeg4 is hardcoded, all options too, pretty trivial to change though, even filtering with non dct codecs like snow could be tried ... the qscale/qp is only taken fron the first MB of each image and then used for the whole image (would needs some small changes to lavc to let the user set the qscales for the mbs themselfs but iam to lazy ...) this needs ALOT of cpu time and memory especially at uspp=8 ... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16947 b3059339-0415-0410-9bf9-f77b7e298cf2
* screenshot filterhenry2005-09-111-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16447 b3059339-0415-0410-9bf9-f77b7e298cf2
* pp7 filter (spp=6 filter with 7 point dct where only the center sample is ↵michael2005-07-091-0/+2
| | | | | | | | | | used after idct) these differences from spp lead to a few nice symmetries which significantly reduce the computational cost almost not mmx optimized (iam lazy ...) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15945 b3059339-0415-0410-9bf9-f77b7e298cf2
* forgotten reference to remove-logo, 10l for Richhenry2005-06-081-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15698 b3059339-0415-0410-9bf9-f77b7e298cf2
* faster spp filter by Nikolaj Poroshin <porosh3 at psu ru>henry2005-06-041-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15632 b3059339-0415-0410-9bf9-f77b7e298cf2
* missing return statement (1e5l for me)henry2005-03-081-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14931 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixes for encoding of multiple fileshenry2005-03-011-1/+32
| | | | | | | | | | - do not uninitialize video encoder between files - checks for image size & format change moved from mencoder.c to vfilters by Oded Shimon <ods15@ods15.dyndns.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14879 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improved NV12/NV21 support.syrjala2005-02-161-0/+6
| | | | | | | | | | | - Fixed PlanarToNV12Wrapper() and made it handle NV21. - Added yuv2nv12XinC() to handle software scaling. - Added NV12/NV21 handling to various places. - Removed NV12 from vf_hue and vf_spp as they don't look like they can actually handle it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14716 b3059339-0415-0410-9bf9-f77b7e298cf2
* add the flip filter at the end of the filter chain.reimar2004-12-181-0/+20
| | | | | | | Fixes -vf pp -flip and the flip option in the Gui. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14184 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix image dimensions at filter config timehenry2004-12-011-2/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14074 b3059339-0415-0410-9bf9-f77b7e298cf2
* Big Endian fix. Patch by Romain Dolbeaunplourde2004-05-311-4/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12516 b3059339-0415-0410-9bf9-f77b7e298cf2
* soft skipping for mencoder. rather than skipping decoding/filteringrfelker2004-04-281-0/+2
| | | | | | | | | | | | | | frames that will be skipped, mencoded tells vf_softskip (if present) that it should drop the next frame. this allows filters that need to see every input frame (inverse telecine, denoise3d, ...) to see skipped frames before they get dropped. in principle, a smarter softskip filter could be written that would buffer frames and choose to drop the one with least change, rather than strictly dropping the next one. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12338 b3059339-0415-0410-9bf9-f77b7e298cf2
* "hard" frame duplication for mencoder. this finally makes it possiblerfelker2004-04-281-0/+2
| | | | | | | | | to generate valid mpeg output from avi's that have duplicate frames in them, or when using inverse telecine filters. to use it, put the "harddup" filter at the end of your filter chain. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12335 b3059339-0415-0410-9bf9-f77b7e298cf2
* New filter by Ville Saari (114263 at foo dot bar dot org)rfelker2004-04-171-0/+2
| | | | | | | | for removing duplicate frames from telecined video that was incorrectly deinterlaced. Minor bugfixes added by me. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12226 b3059339-0415-0410-9bf9-f77b7e298cf2
* vf_phase filter by Ville Saari (114263 at foo dot bar dot org)rfelker2004-03-291-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12082 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix compilation without libavcodechenry2004-02-261-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11999 b3059339-0415-0410-9bf9-f77b7e298cf2
* new filter: vf_noformat.joey2004-02-061-0/+2
| | | | | | | like vf_format, but in reverse. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11928 b3059339-0415-0410-9bf9-f77b7e298cf2
* qp change filtermichael2004-02-051-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11922 b3059339-0415-0410-9bf9-f77b7e298cf2
* rgb test pattern generator, so we could change everything to match alex's ↵michael2004-01-301-0/+2
| | | | | | definition of rgb/bgr git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11895 b3059339-0415-0410-9bf9-f77b7e298cf2
* kerndeint adaptive deinterlacerranma2004-01-291-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11870 b3059339-0415-0410-9bf9-f77b7e298cf2
* vf_zrmjpeg MJPEG encoding filter, works together with vo_zr2. Only YV12rik2003-12-191-0/+4
| | | | | | | | | | | | | | | | colorspace input supported for now. Autocropping is also not implemented. Example usage: mplayer -vo zr2 -vf zrmjpeg foo.avi. vf_zrmjpeg and vo_zr2 should obsolete vo_zr and libvo/jpeg_enc.c in the future. Problem is that it needs some paramters of the zoran card (max resolution), for now the user needs to tell vf_zrmjpeg those parameters (which is stupid, because zrmjpeg should be able to query vo_zr2 for that information....) The filter currently uses code which is also present in libvo/jpeg_enc.c, in the future the (then enhanced) ffmpeg mjpeg encoder should/will be used. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11663 b3059339-0415-0410-9bf9-f77b7e298cf2
* Yet another inverse telecine filter by Zoltan Hidvegi ↵alex2003-12-081-0/+2
| | | | | | <mplayer@hzoli.2y.net>. Also heavily MMX centric. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11601 b3059339-0415-0410-9bf9-f77b7e298cf2
* yuv colorspace converteralex2003-11-291-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11537 b3059339-0415-0410-9bf9-f77b7e298cf2
* simple alternative postprocessing filtermichael2003-10-261-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11278 b3059339-0415-0410-9bf9-f77b7e298cf2
* vf_huemichael2003-10-231-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11250 b3059339-0415-0410-9bf9-f77b7e298cf2
* fast deinterleaver (= il filter with stride/width/height tricks)michael2003-10-221-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11243 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation when libavcodec is missing.attila2003-10-161-1/+3
| | | | | | | Patch by Nico <nsabbi@libero.it> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11142 b3059339-0415-0410-9bf9-f77b7e298cf2
* simple logo removerhenry2003-09-031-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10810 b3059339-0415-0410-9bf9-f77b7e298cf2
* 2 new filters: tile & framesteparpi2003-08-311-0/+4
| | | | | | | | patch by Daniele Forghieri ( guru@digitalfantasy.it ) (little cleanup by me) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10752 b3059339-0415-0410-9bf9-f77b7e298cf2
* pullup -- third generation inverse telecine engine. the backendrfelker2003-08-181-0/+2
| | | | | | | | | (pullup.[ch]) is not mplayer-specific and is designed to work well with g2; vf_pullup.c is the g1 wrapper. see man page for details, and keep in mind, this is a work in progress. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10665 b3059339-0415-0410-9bf9-f77b7e298cf2
* clean up field flags:rfelker2003-08-181-1/+1
| | | | | | | | | | | 1) cosmetic change, no reason these need to be mpeg2-specific 2) add a flag to tell when fields are ordered, so we don't have to assume bff (which would usually be wrong) when field flags are not available. 3) add other flags for future use :) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10664 b3059339-0415-0410-9bf9-f77b7e298cf2
* 'tinterlace' filter (partial inverse of tfields) by Not Zed ↵alex2003-08-111-0/+2
| | | | | | <notzed@ximian.com> (with minor fixes for current cvs by me) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10572 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add mpeg2_flags to mp_image_t, copy flags in vd_libmpeg2.c,ranma2003-08-031-0/+3
| | | | | | | and add vf_softpulldown.c. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10511 b3059339-0415-0410-9bf9-f77b7e298cf2
* 3*100l (backported from g2)arpi2003-07-131-4/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10425 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l to me :(rfelker2003-06-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10240 b3059339-0415-0410-9bf9-f77b7e298cf2
* it's still a 10l bug + 10l to me for commiting sh*t first time, and ↵alex2003-05-231-1/+1
| | | | | | originally I wrote that tooo, so now I'm at about 1000litres? And anyway, this code isn't used :)) No, Rich, no, I will not upload a clip showing me drinking that much cola :)<EOF> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10166 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10lalex2003-05-231-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10164 b3059339-0415-0410-9bf9-f77b7e298cf2
* new filter for dropping (near-)duplicate frames. can be used to fixrfelker2003-05-221-0/+2
| | | | | | | | movies that were originally telecined but deinterlaced improperly, or to improve quality when encoding at very low bitrates. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10151 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix segfaults with slices. support slice rendering into a filter evenrfelker2003-05-201-1/+21
| | | | | | | | when the following filter/vo doesn't support slices. also use unified vf->dmpi rather than having vf->priv->dmpi duplicated in every filter. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10141 b3059339-0415-0410-9bf9-f77b7e298cf2
* display size/aspect adjusting filterrfelker2003-04-271-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10007 b3059339-0415-0410-9bf9-f77b7e298cf2
* vf_clone_mpi_attributes()michael2003-04-191-0/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9935 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1. new alternate approach to inverse telecine! much better!rfelker2003-04-191-0/+4
| | | | | | | | | 2. interlaced 4:2:0 planar to 4:2:2 packer. makes it possible to watch interlaced movies without horrible chroma artifacts, provided you have an interlaced display device. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9934 b3059339-0415-0410-9bf9-f77b7e298cf2
* disable vf_bmovl for systems without posix selectfaust32003-04-041-0/+4
| | | | 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-22/+71
| | | | | | | | 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
* hmm found this in my local tree ;)michael2003-03-051-3/+3
| | | | | | | seems to fix chroma w/h if %2!=0 ?? git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9533 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix for a couple of linking problems patch by (Ambrose Li <a.c.li at ieee ↵michael2003-03-051-0/+2
| | | | | | dot org>) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9532 b3059339-0415-0410-9bf9-f77b7e298cf2
* new filterrfelker2003-03-011-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9515 b3059339-0415-0410-9bf9-f77b7e298cf2
* start_slice() added - similar to get_image(), but is called when using slicesarpi2003-02-231-1/+4
| | | |