summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf_pp.c
Commit message (Collapse)AuthorAgeFilesLines
* configure: remove checks for malloc.h and alloca()wm42012-07-301-4/+0
| | | | | | | | Including <malloc.h>, especially if all you want is malloc(), has no legitimate uses (on sane platforms at least). Remove the check for it, and remove all uses in the code. Remove unused check for alloca().
* Rip out 3DNOW supportwm42012-07-301-2/+1
| | | | | | | | Ancient AMD specific enhancement to the MMX instruction set. Officually discontinued by AMD. Note that support for this was already disabled in the previous commit. This commit removes the actual code.
* cleanup: shut up more warningsClément Bœsch2011-05-061-12/+2
|
* Update libav API usesUoti Urpala2011-04-201-1/+1
| | | | | | | | | | | Update various code to use newer alternatives instead of deprecated functions/fields that are being dropped at libav API bump. An exception is avcodec_thread_init() which is being dropped even though it's still _necessary_ with fairly recent libav versions, so there's no good alternative which would work with both those recent versions and latest libavcodec. I think there are grounds to consider the drop premature and revert it for now; if that doesn't happen I'll add a version-test #if check around it later.
* cosmetics: "struct vf_instance* vf" -> "struct vf_instance *vf"Uoti Urpala2010-05-291-6/+6
| | | | | | | 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-2/+2
|\
| * Rename open() vf initialization function to vf_open().diego2010-02-211-2/+2
| | | | | | | | | | | | | | This avoids clashes with fcntl.h under certain circumstances. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30680 b3059339-0415-0410-9bf9-f77b7e298cf2
| * cosmetics: Remove pointless empty lines at EOF.diego2010-02-201-1/+0
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30675 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30463Uoti Urpala2010-03-091-0/+18
|\| | | | | | | | | | | Note that r30455 is wrong, that commit does not in fact change the default behavior as claimed in the commit message. It only breaks "-af-adv force=0", which was already pretty much useless though.
| * Add missing license headers to all files in the libmpcodecs directory.diego2010-01-301-0/+18
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30463 b3059339-0415-0410-9bf9-f77b7e298cf2
| * whitespace cosmetics: Remove all trailing whitespace.diego2009-05-131-9/+9
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* | vf_pp: Remove deprecated "hex mode" supportUoti Urpala2009-07-261-32/+0
| | | | | | | | | | | | Remove code to support specifying arguments in hex form. This code depended on libpostproc internals, and has been deprecated and undocumented for years.
* | Remove unnecessary libavutil/internal.h includesUoti Urpala2009-07-261-1/+0
| | | | | | | | | | | | | | These includes were added earlier after the definition of the DECLARE_ALIGNED and DECLARE_ASM_CONST macros were moved to this header in FFmpeg. However now those macros are again in the public mem.h header, and there is no need to include internal.h.
* | Remove trailing whitespace from most filesUoti Urpala2009-07-071-10/+9
| |
* | Merge svn changes up to r28641Uoti Urpala2009-02-181-1/+1
|\| | | | | | | | | | | | | | | Convert vo_x11_border (used in vo_gl/gl2 though the vo_gl_border macro) to use a wrapper macro in old-style VOs which do not provide a VO object argument. Before this function had an explicit global_vo argument in vo_gl/gl2. New vo_vdpau uses it too so use the same mechanism as most other functions.
| * Convert HAVE_MALLOC_H into a 0/1 definition, fixes the warning:diego2009-02-171-1/+1
| | | | | | | | | | | | | | mem.c:32:5: warning: "HAVE_MALLOC_H" is not defined git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28629 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r28366Uoti Urpala2009-01-261-0/+3
|\| | | | | | | | | | | | | | | | | Contains more changes needed to sync build system with latest FFmpeg. Conflicts: Makefile configure mplayer.c
| * Fix compilation after DECLARE_ASM_CONST/DECLARE_ALIGNED moving within FFmpeg.diego2009-01-251-0/+3
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28362 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r27374Uoti Urpala2008-07-301-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: cfg-common-opts.h cfg-mplayer.h command.c configure libmpcodecs/dec_video.c libmpcodecs/vd.c libmpcodecs/vf_vo.c libmpdemux/demuxer.h libmpdemux/stheader.h mp_core.h mplayer.c stream/stream_radio.c
| * Start unifying names of internal preprocessor directives.diego2008-07-301-1/+1
| | | | | | | | | | | | | | | | Replace all USE_ prefixes by CONFIG_ prefixes to indicate options which are configurable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27373 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Mark some constant symbols as suchUoti Urpala2008-04-261-1/+1
| |
* | Remove _s/_st suffix from some struct namesUoti Urpala2008-04-251-6/+6
|/ | | | | Since the names are always used after the keyword "struct" having a suffix as in "struct demuxer_st" is almost completely pointless.
* FFmpeg now uses different (unified) #include paths.diego2008-02-251-8/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26101 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l: Revert nonsense commit.diego2008-02-251-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26100 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove old EMU_OLD cruft.diego2008-02-251-5/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26098 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make all vf_info_t structs constreimar2007-12-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25249 b3059339-0415-0410-9bf9-f77b7e298cf2
* libpostproc is not a subdirectory of libavcodec anymore.diego2006-06-021-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18558 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
* proper support for shared libpostprocdiego2006-01-221-3/+4
| | | | | | | 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
* Unify include path handling, -I.. is in CFLAGS.diego2005-11-181-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17013 b3059339-0415-0410-9bf9-f77b7e298cf2
* pp_postprocess reads from target image, so request a readable one.reimar2005-09-131-1/+2
| | | | | | | | | Discussed here: Date: Wed, 27 Jul 2005 18:33:42 +0200 Subject: [MPlayer-dev-eng] [PATCH] mp_image flags in filters git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16472 b3059339-0415-0410-9bf9-f77b7e298cf2
* use stored dimensions instead of visible one when (vf_)get_image is callediive2005-07-201-2/+2
| | | | | | | let's see where does the cola goes :) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16019 b3059339-0415-0410-9bf9-f77b7e298cf2
* ensure that dr buffers are readablemichael2005-07-111-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15966 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove read/revert hackalex2003-08-311-24/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10757 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanup, use vf->dmpi rather than vf->priv->dmpi for consistencyrfelker2003-05-201-13/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10142 b3059339-0415-0410-9bf9-f77b7e298cf2
* support old libavcodecmichael2003-04-181-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9932 b3059339-0415-0410-9bf9-f77b7e298cf2
* passing qscale_type around so the pp code can fix the mpeg2 <<1 thingmichael2003-04-181-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9926 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
* 10l (pp cant convert formats) fixes segfaultmichael2003-03-041-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9529 b3059339-0415-0410-9bf9-f77b7e298cf2
* moving postprocess code to libavcodecmichael2003-02-141-2/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9427 b3059339-0415-0410-9bf9-f77b7e298cf2
* YUV 411/422/444 support for ppmichael2003-01-051-5/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8806 b3059339-0415-0410-9bf9-f77b7e298cf2
* pphelpmichael2003-01-031-5/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8737 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed memleak caused by multiple config() calls - thx Gabuarpi2002-12-191-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8500 b3059339-0415-0410-9bf9-f77b7e298cf2
* *HUGE* set of compiler warning fixes, unused variables removalarpi2002-11-061-0/+4
| | | | | | | based on patch by Dominik Mierzejewski <dominik@rangers.eu.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8124 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanupmichael2002-11-021-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8041 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanupmichael2002-11-021-14/+31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8039 b3059339-0415-0410-9bf9-f77b7e298cf2
* per context cpuCaps (idea by kabi)michael2002-10-301-7/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7986 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanly passing the cpuCapsmichael2002-10-301-2/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7973 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanupmichael2002-10-291-0/+24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7964 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics ;)michael2002-10-291-5/+5
| | | | | | | prefixing all functions with pp_ to avoid namespace issues git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7962 b3059339-0415-0410-9bf9-f77b7e298cf2
* better deblocking filtermichael2002-10-291-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7961 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixing segfaultmichael2002-10-291-2/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7950 b3059339-0415-0410-9bf9-f77b7e298cf2
* postprocessing cleanup:michael2002-10-281-9/+54
| | | | | | | | | | | | | | | remove opendivx #ifdefs remove rk1 filter remove unused / obsolete stuff add -1,4,2,4,-1 deinterlacing filter (ffmpeg uses that) threadsafe / no more non-const globals some optimizations different strides for Y,U,V possible remove ebx usage (someone really should fix gcc, this is really lame) change the dering filter slightly (tell me if its worse for any files) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7947 b3059339-0415-0410-9bf9-f77b7e298cf2
* changing return type of put_image void->intarpi2002-09-101-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7369 b3059339-0415-0410-9bf9-f77b7e298cf2
* mostly compiler warning fixes, some small bugfixarpi2002-08-281-1/+1
| | | | | | | patch by Dominik Mierzejewski <dominik@rangers.eu.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7128 b3059339-0415-0410-9bf9-f77b7e298cf2
* - some reorder/cleanup of mp_image flagsarpi2002-08-021-3/+6
| | | | | | | - support for _ACCEPT_ALIGNED_STRIDE && _PREFER_ALIGNED_STRIDE git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6876 b3059339-0415-0410-9bf9-f77b7e298cf2
* mp_image.h and img_format.h moved to libmpcodecsarpi2002-04-131-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5608 b3059339-0415-0410-9bf9-f77b7e298cf2
* capabilities support -> automatic insertion of scale, expand, pparpi2002-04-111-2/+25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5566 b3059339-0415-0410-9bf9-f77b7e298cf2
* vf control codes added, autoq supportarpi2002-04-071-0/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5520 b3059339-0415-0410-9bf9-f77b7e298cf2
* accept only 4:2:0 planar yuv formatsarpi2002-04-071-0/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5519 b3059339-0415-0410-9bf9-f77b7e298cf2
* accept -pp value from argsarpi2002-04-071-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5515 b3059339-0415-0410-9bf9-f77b7e298cf2
* mpeg+pp0 fixedarpi2002-04-071-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5514 b3059339-0415-0410-9bf9-f77b7e298cf2
* postprocessing filter (fixme: -pp 0)arpi2002-04-071-0/+78
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5513 b3059339-0415-0410-9bf9-f77b7e298cf2