Commit Graph

61 Commits

Author SHA1 Message Date
Clément Bœsch b68f9fef32 cleanup: shut up more warnings 2011-05-06 18:33:16 +03:00
Uoti Urpala c33fafd6f1 Update libav API uses
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.
2011-04-20 04:36:05 +03:00
Uoti Urpala 1888e57af7 cosmetics: "struct vf_instance* vf" -> "struct vf_instance *vf"
Change 'struct vf_instance' pointer arguments to more standard style
as in the subject. Also some other minor formatting fixes.

Patch by Diego Biurrun.
2010-05-29 17:20:44 +03:00
Uoti Urpala 5099b1458d Merge svn changes up to r30683 2010-03-10 00:52:17 +02:00
Uoti Urpala b0986b3760 Merge svn changes up to r30463
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.
2010-03-09 18:59:15 +02:00
diego 28cf6ea2be Rename open() vf initialization function to vf_open().
This avoids clashes with fcntl.h under certain circumstances.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30680 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-21 13:40:49 +00:00
diego 8ba6b4eaf9 cosmetics: Remove pointless empty lines at EOF.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30675 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-20 21:02:49 +00:00
diego 23db422c3d Add missing license headers to all files in the libmpcodecs directory.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30463 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 16:57:40 +00:00
Uoti Urpala dddd7c62c5 vf_pp: Remove deprecated "hex mode" support
Remove code to support specifying arguments in hex form. This code
depended on libpostproc internals, and has been deprecated and
undocumented for years.
2009-07-26 20:22:48 +03:00
Uoti Urpala d1a54d5696 Remove unnecessary libavutil/internal.h includes
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.
2009-07-26 06:15:19 +03:00
Uoti Urpala 0eb321bf2c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
diego 6e9cbdc104 whitespace cosmetics: Remove all trailing whitespace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-13 02:58:57 +00:00
Uoti Urpala 186e5a998c Merge svn changes up to r28641
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.
2009-02-18 01:45:36 +02:00
diego be8c67909b Convert HAVE_MALLOC_H into a 0/1 definition, fixes the warning:
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
2009-02-17 11:16:19 +00:00
Uoti Urpala dd888b05ff Merge svn changes up to r28366
Contains more changes needed to sync build system with latest FFmpeg.

Conflicts:
	Makefile
	configure
	mplayer.c
2009-01-26 00:58:15 +02:00
diego 4ac4b493a9 Fix compilation after DECLARE_ASM_CONST/DECLARE_ALIGNED moving within FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28362 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-25 21:59:08 +00:00
Uoti Urpala 04f3909a72 Merge svn changes up to r27374
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
2008-07-30 16:39:24 +03:00
diego 4b141479da Start unifying names of internal preprocessor directives.
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
2008-07-30 12:01:30 +00:00
Uoti Urpala 05ad815133 Mark some constant symbols as such 2008-04-26 16:35:40 +03:00
Uoti Urpala 0e757bf9da Remove _s/_st suffix from some struct names
Since the names are always used after the keyword "struct" having a
suffix as in "struct demuxer_st" is almost completely pointless.
2008-04-25 03:34:22 +03:00
diego 21c200e767 FFmpeg now uses different (unified) #include paths.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26101 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-25 15:46:36 +00:00
diego 9c30916c7a 10l: Revert nonsense commit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26100 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-25 09:45:55 +00:00
diego 12c19f3c9d Remove old EMU_OLD cruft.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26098 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-25 09:42:26 +00:00
reimar b95c80ca86 Make all vf_info_t structs const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25249 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 14:57:15 +00:00
diego b4ddc383ef libpostproc is not a subdirectory of libavcodec anymore.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18558 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-02 11:31:42 +00:00
michael 02b199e5e9 passing pts through the filter layer (lets see if pts or cola comes out at the end)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17907 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-21 21:26:42 +00:00
diego 65f186f4d0 proper support for shared libpostproc
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
2006-01-22 18:11:35 +00:00
diego 36e1974be0 Unify include path handling, -I.. is in CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17013 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-18 14:39:25 +00:00
reimar af87e36b26 pp_postprocess reads from target image, so request a readable one.
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
2005-09-13 10:47:33 +00:00
iive d641bf0337 use stored dimensions instead of visible one when (vf_)get_image is called
let's see where does the cola goes :)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16019 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-20 01:22:24 +00:00
michael 3784f7a494 ensure that dr buffers are readable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15966 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-11 18:48:09 +00:00
alex e479f2bb26 remove read/revert hack
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10757 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-31 22:18:27 +00:00
rfelker fb5d935251 cleanup, use vf->dmpi rather than vf->priv->dmpi for consistency
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10142 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-20 18:36:55 +00:00
michael c93929e269 support old libavcodec
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9932 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-18 22:12:36 +00:00
michael 40a073bea4 passing qscale_type around so the pp code can fix the mpeg2 <<1 thing
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9926 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-18 13:18:59 +00:00
albeu 33b62af947 Add the new -vf option wich is the same as vop in reverse order.
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
2003-03-15 18:01:02 +00:00
michael 28c4a74efa 10l (pp cant convert formats) fixes segfault
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9529 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-04 22:48:37 +00:00
michael dd16f0a075 moving postprocess code to libavcodec
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9427 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-14 21:45:45 +00:00
michael afe814841c YUV 411/422/444 support for pp
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8806 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-05 19:10:42 +00:00
michael f1d7c16d8d pphelp
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8737 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-03 12:40:10 +00:00
arpi 70ccd1c7d1 fixed memleak caused by multiple config() calls - thx Gabu
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8500 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-19 22:33:59 +00:00
arpi f859d013a8 *HUGE* set of compiler warning fixes, unused variables removal
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
2002-11-06 23:54:29 +00:00
michael 1aaf1516e8 cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8041 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-02 14:20:05 +00:00
michael 3e091cbbd2 cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8039 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-02 13:58:14 +00:00
michael ad5a3a16da per context cpuCaps (idea by kabi)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7986 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-30 21:02:21 +00:00
michael f8456285fb cleanly passing the cpuCaps
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7973 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-30 01:51:14 +00:00
michael de382c1b8c cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7964 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-29 20:12:24 +00:00
michael 8b2f3eb5e4 cosmetics ;)
prefixing all functions with pp_ to avoid namespace issues


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7962 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-29 18:51:52 +00:00
michael 0f1d6aabec better deblocking filter
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7961 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-29 18:35:15 +00:00
michael 63ee919e14 fixing segfault
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7950 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-29 01:20:51 +00:00