summaryrefslogtreecommitdiffstats
path: root/libvo/video_out.h
Commit message (Collapse)AuthorAgeFilesLines
* Add a context for mp_fifoUoti Urpala2008-04-291-1/+3
| | | | | Store data in an allocated context and take it as an argument instead of using static variables.
* Move vo_gamma_* to options structUoti Urpala2008-04-261-9/+0
|
* Remove global vo_flagsUoti Urpala2008-04-251-2/+0
| | | | Move the information to struct sh_video field.
* Move vo_screenwidth,vo_screenheight to options structUoti Urpala2008-04-231-4/+0
|
* Move vo_depthonscreen to x11 structUoti Urpala2008-04-231-1/+0
|
* Move vo_dbpp to options structUoti Urpala2008-04-231-3/+2
|
* Move vo_dx,vo_dy,vo_dwidth,vo_dheight to vo structUoti Urpala2008-04-231-4/+4
|
* Move global vo_config_count to vo structUoti Urpala2008-04-231-2/+2
| | | | | | | | | | | | | | | | | | Remove the global and Add a corresponding field to the vo struct, plus another which tells whether the LAST config call was successful.The latter value which tells whether the VO should be properly configured at the moment seems a better match for the semantics actually needed in most places where the old value was used. The 'count' field with the old semantics is not currently used by anything, but I'm leaving it there for vo drivers which would need those semantics if converted to use the struct. Existing uses of the global outside old vo drivers are either converted to use the struct field or moved inside the vo_xyz() calls (instead of "if (vo_config_count) vo_flip_page(..." just call vo_flip_page which will now do nothing if not configured). The removal of the check in mpcommon.c/update_subtitles() is less trivial than the others, but I think it shouldn't cause problems.
* Create a struct for X11 stateUoti Urpala2008-04-231-1/+2
| | | | | | | | Will be used for common data between X11 VOs. The main reasons for making it a separate struct rather than extra fields in the main VO struct are that some field definitions need X headers and that the code keeps basic X state such as the display connection over opening and closing of individual VOs.
* Move vo_ontop to options structUoti Urpala2008-04-231-1/+0
| | | | | | | | | | | Add a 'struct vo *vo' argument to the x11_common.c functions that access the variable so it's available as vo->opts->vo_ontop. To keep VOs using the old API working create a global vo variable that is set to the currently used old vo. "vo_ontop" will be #defined to "global_vo->opts->vo_ontop", and x11_common.h will add defines like the following when it is included by old VOs: #define vo_x11_ontop() vo_x11_ontop(global_vo) so that they will call the function according to the new declaration.
* Add option pointer to vo structUoti Urpala2008-04-231-1/+2
|
* Add new video driver APIUoti Urpala2008-04-231-17/+53
| | | | | | | | | | | | | 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.
* Remove variable arguments from vo control() functionsUoti Urpala2008-04-231-1/+1
| | | | | No voctrl uses them any more, and using them would not be a good idea because it makes forwarding arguments to other functions harder.
* Change VOCTRL_[GET|SET]_EQUALIZER argument passingUoti Urpala2008-04-231-0/+8
| | | | | | | | These were the only voctrl types with more than one argument. The second argument was passed using variable arguments. Change them to use a single argument (address of a struct containing both old arguments). This makes forwarding the arguments to other functions easier and allows simplifying code.
* Add MPLAYER_ prefix to multiple inclusion guards.diego2008-02-221-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26061 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Whitespace changes, add comments to some #endif directives.diego2008-01-061-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25623 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add explanatory comments to the #endif part of multiple inclusion guards.diego2007-12-311-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25563 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark several uses of vo_functions_t as const to stop some of the currentreimar2007-12-021-3/+3
| | | | | | | hacks e.g. in vidix code from spreading. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25247 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make vo info structs constreimar2007-12-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25244 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove last remains of long-gone VOCTRL_SCREENSHOTreimar2007-12-021-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25243 b3059339-0415-0410-9bf9-f77b7e298cf2
* Declare all vo_gamma variables in libvo/video_out.h and remove them fromdiego2007-08-121-0/+1
| | | | | | | | mp_core.h to avoid some redundant redeclaration warnings. patch by Gábor Mizda, gabrov freemail hu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24047 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not use leading underscores in multiple inclusion guards, they are reserved.diego2007-07-021-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23709 b3059339-0415-0410-9bf9-f77b7e298cf2
* vo_init is x11 specific and has no place in video_out.h.reimar2007-06-241-2/+0
| | | | | | | It is already in x11_common.h. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23625 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant vo_format_name, included img_format.h already provides itreimar2007-06-241-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23624 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert r22255 on iive's request.reimar2007-02-181-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22264 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid parts of xvmc reinit when source format does not changereimar2007-02-181-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22255 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move common vo initialization code to video_out.creimar2007-02-171-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22250 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add deinterlace property, patch by Carl Eugen Hoyosreimar2006-11-171-0/+3
| | | | | | | | (cehoyos [at] rainbow studorg tuwien ac at) with small modifications by me. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20989 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add EOSD support to vf_vo.eugeni2006-08-281-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19582 b3059339-0415-0410-9bf9-f77b7e298cf2
* Explicitly include libmpcodecs/img_format.h and libvo/fastmemcpy.h.diego2006-08-181-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19437 b3059339-0415-0410-9bf9-f77b7e298cf2
* marks several read-only string parameters and function return-values which ↵reynaldo2006-07-161-1/+1
| | | | | | can only be used read-only as const. Patch by Stefan Huehner, stefan _AT huener-org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19113 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove updating of vo_mouse_timer_const from the main loop and alsouau2006-04-251-1/+0
| | | | | | | | remove the variable itself. Convert code in x11_common.c and OSD timing that depended on the variable to use real time instead. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18288 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix and improve xinerama supportreimar2006-04-161-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18117 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
* add a switch, slave command, and vo control to toggle borderless window.joey2005-11-101-0/+2
| | | | | | | includes documentation. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16969 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove extern for variables that are already in headers.reimar2005-08-211-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16281 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix the return types of all (six) libvo API functions. Used to be uint32_t, butivo2005-08-051-5/+5
| | | | | | | | return values can be negative (VO_ERROR, VO_NOTAVAIL and VO_NOTIMPL), so it's changed to int now. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16172 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.diego2004-10-281-1/+1
| | | | | | | 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
* added runtime toggle of root window playbackjoey2004-08-221-0/+1
| | | | | | | only directx supports this at the moment git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13092 b3059339-0415-0410-9bf9-f77b7e298cf2
* add var vo_rootwin and -rootwin switch for mac osxnplourde2004-07-291-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12913 b3059339-0415-0410-9bf9-f77b7e298cf2
* keepaspect and nokeepaspect are now useable by all vosfaust32004-05-011-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12372 b3059339-0415-0410-9bf9-f77b7e298cf2
* move refreshrate and adapter_num variables to video_out because they might ↵faust32004-03-131-0/+2
| | | | | | be usefull for other drivers, too git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12022 b3059339-0415-0410-9bf9-f77b7e298cf2
* runtime 'stay-on-top' functionalityjoey2003-11-301-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11543 b3059339-0415-0410-9bf9-f77b7e298cf2
* user settable colorkeyalex2003-10-031-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10989 b3059339-0415-0410-9bf9-f77b7e298cf2
* -nomouseinput support for vo_sdlalex2003-09-011-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10786 b3059339-0415-0410-9bf9-f77b7e298cf2
* vo_xover is a new vo that should make easy to have x11 support foralbeu2003-03-121-0/+15
| | | | | | | | | | all overlay based vo. Add support for xover to tdfx_vid. Sometimes the display flash bcs the x server fuckup the overlay settings :( Not so bad as it only append when i switch the focused window here. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9570 b3059339-0415-0410-9bf9-f77b7e298cf2
* Pass start slice to the vo it make dr + slice implemantation easieralbeu2003-03-101-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9561 b3059339-0415-0410-9bf9-f77b7e298cf2
* notice vo driver about skipped/dropped framesarpi2002-12-141-1/+4
| | | | | | | patch by Alvaro Lopes <alvieboy@alvie.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8451 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed get_info, using the same sheme as in libmpcodecs insteadalex2002-11-111-6/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8149 b3059339-0415-0410-9bf9-f77b7e298cf2
* do NOT include vidix header - nonsensearpi2002-11-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8082 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1larpi2002-10-231-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7877 b3059339-0415-0410-9bf9-f77b7e298cf2
* Geometry updatemark2002-10-231-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7874 b3059339-0415-0410-9bf9-f77b7e298cf2
* video out driver list support (like -vc, example: -vo xmga,xv,x11,)arpi2002-09-291-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7563 b3059339-0415-0410-9bf9-f77b7e298cf2
* -nograbpointer, based on old patch by Christian Ohm <chr.ohm@gmx.net>arpi2002-09-281-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7540 b3059339-0415-0410-9bf9-f77b7e298cf2
* d_width==screenwidth && -fs hopefully fixedarpi2002-09-181-5/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7436 b3059339-0415-0410-9bf9-f77b7e298cf2
* finally removed query_vaa, bes_da and vo_tune_info - the obsoleted libvo apialex2002-08-281-46/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7125 b3059339-0415-0410-9bf9-f77b7e298cf2
* General Timing Formula algorithm from a scratch.arpi2002-08-221-0/+16
| | | | | | | | | vo_vesa.c so now adjust the timing to highest possible refresh rate using the monitor capabilities from a config file. patch by Rudolf Marek <MAREKR2@cs.felk.cvut.cz> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7070 b3059339-0415-0410-9bf9-f77b7e298cf2
* - add dxr3 gui support (dialogbox, etc.)pontscho2002-08-141-0/+3
| | | | | | | | - fix one small dvd playing bug ( dvd playing don't del the playlist) - add some ifdef() check git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7010 b3059339-0415-0410-9bf9-f77b7e298cf2
* eq reworkedalex2002-07-241-2/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6782 b3059339-0415-0410-9bf9-f77b7e298cf2
* - fix audio equalizerpontscho2002-07-191-0/+8
| | | | | | | | | - rewrite video equalizer handling (i teszted with mga g400 [x]mga,xv,xvidix and radeon xv,xvidix ) - fix some small gtk bug - i dunno, i don't remember ... :) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6756 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l to .soarpi2002-06-051-3/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6309 b3059339-0415-0410-9bf9-f77b7e298cf2
* added panscan support for xmga/xvidixpontscho2002-06-051-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6308 b3059339-0415-0410-9bf9-f77b7e298cf2
* pan&scan support with -vo xv by ?? <mplayer@svennevid.net>arpi2002-06-041-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6305 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improvment for spu subtitles.albeu2002-05-171-0/+1
| | | | | | | | | | | | Removed the integreted spudec in vobsub. Various cleanup/bugfix in vobsub (no more auto palette when a true one is here) HW spu rendering moved in spudec because we first need to reassable the packet before sending them to the hw. Spudec is now created only if nedded. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6111 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix playlist bug with gui and rewrite mousecursor show/hide codepontscho2002-04-161-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5652 b3059339-0415-0410-9bf9-f77b7e298cf2
* vo_config_count now counts calls to vo->config()arpi2002-04-071-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5512 b3059339-0415-0410-9bf9-f77b7e298cf2
* VOCTRL_DRAW_IMAGE addedarpi2002-04-061-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5503 b3059339-0415-0410-9bf9-f77b7e298cf2
* disabling direct rendering by default (too buggy and conflicts with osd/sub)arpi2002-03-311-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5432 b3059339-0415-0410-9bf9-f77b7e298cf2
* moved font_laod.harpi2002-03-241-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5295 b3059339-0415-0410-9bf9-f77b7e298cf2
* voctls for decoding aheadnick2002-03-091-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5003 b3059339-0415-0410-9bf9-f77b7e298cf2
* rewrite fullscreen support in some libvo driverpontscho2002-03-071-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4982 b3059339-0415-0410-9bf9-f77b7e298cf2
* direct rendering supportarpi2002-03-071-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4972 b3059339-0415-0410-9bf9-f77b7e298cf2
* 're-include' possibilitynick2002-03-031-0/+4
|</