Commit Graph

21 Commits

Author SHA1 Message Date
Uoti Urpala 2bcfe1e077 Add new video driver API
Create new video driver API that has a per-instance context structure
and does not rely on keeping status in global or static variables.
Existing drivers are not yet converted to this API; instead there is a
wrapper which translates calls to them.

In the new API, an old API call vo_functions->xyz(args) is generally
replaced by vo_xyz(vo_instance, args).

The changes to keep the vesa, dxr2 and xover drivers compiling have
not been tested.
2008-04-23 13:41:04 +03:00
Uoti Urpala de56d2d9f5 Remove variable arguments from vo control() functions
No voctrl uses them any more, and using them would not be a good idea
because it makes forwarding arguments to other functions harder.
2008-04-23 13:41:03 +03:00
diego d04df10807 Add missing header #includes to fix 'make checkheaders'.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26194 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-07 20:07:15 +00:00
diego 8efb2fa21c Add MPLAYER_ prefix to multiple inclusion guards.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26061 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-22 09:09:46 +00:00
diego fba0b66ff9 Add explanatory comments to the #endif part of multiple inclusion guards.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25563 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-31 16:15:50 +00:00
diego da7cc29d3f Relicense files marked as GPL v2 to GPL v2 or later.
Done with permission from Nick Kurshev, the author.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25559 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-31 13:40:08 +00:00
reimar c71f2478a2 Use proper type for vidix_preinit parameter instead of void *
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25240 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 13:37:15 +00:00
diego 3e9e4acd8d Do not use leading underscores in multiple inclusion guards, they are reserved.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23709 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-02 22:34:45 +00:00
diego e2928ff729 Consistently use filenames as multiple inclusion guards.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23706 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-02 21:23:42 +00:00
diego 5b0d96c6b4 Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.
Based on a patch by Sebastian Hegler <s_hegler at gmx dot de>.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13788 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-28 01:15:53 +00:00
diego 83b056b09e Change conflicting function declaration between .c and .h file, causing a
compilation failure on Cygwin, checked by Sascha Sommer.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11409 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-07 15:12:29 +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
alex 64bedd9683 finally removed query_vaa, bes_da and vo_tune_info - the obsoleted libvo api
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7125 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-28 21:32:32 +00:00
nick 9bf9892bd3 Use new tune info
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4435 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-31 10:23:39 +00:00
nick fa1d5742bc Extensions for video accelerated architecture
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4353 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-26 16:01:26 +00:00
alex c8f1194dda vidix_grkey_support checking for colorkeying
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4256 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-19 16:58:33 +00:00
alex 64f83aaa42 added colorkey handling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4241 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-18 18:14:44 +00:00
alex eee64579f9 sorry, i really wanted to add vidix_start and stop as int, to detect if something went into the wrong way (also implement check in vo_xvidix)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4235 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-18 10:41:31 +00:00
alex 576095dfb9 added vidix_start() and vidix_stop() for better runtime-resize support ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4199 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-16 15:22:45 +00:00
nick 2707db756b Using any graphics server
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4083 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-10 18:00:23 +00:00
nick e68e3a36f5 preliminary version
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4011 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-06 16:02:24 +00:00