summaryrefslogtreecommitdiffstats
path: root/libvo/video_out.c
Commit message (Collapse)AuthorAgeFilesLines
* 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-7/+4
|
* Move vo_depthonscreen to x11 structUoti Urpala2008-04-231-1/+0
|
* Move vo_dbpp to options structUoti Urpala2008-04-231-3/+0
|
* Move vo_dx,vo_dy,vo_dwidth,vo_dheight to vo structUoti Urpala2008-04-231-11/+7
|
* Move global vo_config_count to vo structUoti Urpala2008-04-231-4/+13
| | | | | | | | | | | | | | | | | | 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-3/+6
| | | | | | | | 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.
* Allocate vo struct with tallocUoti Urpala2008-04-231-2/+3
| | | | | Also allocate the private vo_xv struct as a child and remove explicit free() for it.
* 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-3/+5
|
* Add new video driver APIUoti Urpala2008-04-231-58/+107
| | | | | | | | | | | | | 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.
* video_out.c: Cosmetic changesUoti Urpala2008-04-231-62/+65
| | | | Reformat some code, rename local variable, remove trailing whitespace.
* Add a separate definition for quartz.diego2008-03-151-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26245 b3059339-0415-0410-9bf9-f77b7e298cf2
* MACOSX_COREVIDEO --> corevideodiego2008-03-151-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26241 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unnecessary #ifdef nesting.diego2008-03-071-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26192 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove pointless #ifdefs around extern declarations.diego2008-02-201-34/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26039 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark several uses of vo_functions_t as const to stop some of the currentreimar2007-12-021-5/+5
| | | | | | | hacks e.g. in vidix code from spreading. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25247 b3059339-0415-0410-9bf9-f77b7e298cf2
* Purge looooong obsolete remnants of vo_fsdga.diego2007-08-291-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24290 b3059339-0415-0410-9bf9-f77b7e298cf2
* add XVR-100 vo, patch by Balatoni Denes (dbalatoni interware hu)reimar2007-08-031-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24004 b3059339-0415-0410-9bf9-f77b7e298cf2
* v4l2 audio/video outputs for linux 2.6.22+ kernels (outputs formerly known ↵ben2007-07-291-0/+6
| | | | | | as ivtv) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23925 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove vo_syncfb, which was unused for 5 years.diego2007-07-201-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23834 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10, checked for the wrong thing. Do aspect scaling only in config_video_outreimar2007-02-251-2/+1
| | | | | | | | if the vo responds that it supports this scheme by providing VOCTRL_UPDATE_SCREENINFO. Fixes vo_xmga git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22342 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix 10 in r22250, do not use screendimensions if not setreimar2007-02-181-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22267 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert r22255 on iive's request.reimar2007-02-181-10/+1
| | | | 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-1/+10
| | | | 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/+22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22250 b3059339-0415-0410-9bf9-f77b7e298cf2
* Create proper define for DFBMGA.diego2006-10-141-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20216 b3059339-0415-0410-9bf9-f77b7e298cf2
* new vo driver for ivtv cards tv-out through internal h/w mpeg decoderben2006-07-191-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19142 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove support for obsolete and non-free divx4/odivx libraries.diego2006-07-141-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19087 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove remnants of old libmp1e support.diego2006-07-121-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19026 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add YUY2 and back end scaling on S3 Virge chips in combination with fbdev.gpoirier2006-05-171-0/+4
| | | | | | | Patch by Mark Sanderson < mmp AH kiora POIS ath POIS cx> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18536 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get ride of the several if(identify) messy lines and rearangment of some of ↵reynaldo2006-04-241-2/+1
| | | | | | the output, both patches by Kiriuja mplayer-patches AT en-directo_net, his changes are barely unrelated, nevertheless Im commiting them thogeter just for the sake of my mental healt, I had both patches already applied on my local three git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18238 b3059339-0415-0410-9bf9-f77b7e298cf2
* Part 5 and final of otvos attila's oattila AT chello-hu mp_msg changes, with ↵reynaldo2006-04-241-3/+3
| | | | | | lots of corrections git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18235 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
* prevent xvmc from been loaded before xv, and generally before any autoprobed ↵iive2006-01-181-3/+3
| | | | | | output git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17424 b3059339-0415-0410-9bf9-f77b7e298cf2
* vo_tdfxfb should be preferred over vo_3dfx.diego2005-12-011-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17070 b3059339-0415-0410-9bf9-f77b7e298cf2
* add a switch, slave command, and vo control to toggle borderless window.joey2005-11-101-0/+1
| | | | | | | includes documentation. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16969 b3059339-0415-0410-9bf9-f77b7e298cf2
* Forgot to actually enable vo_gl on Windows...reimar2005-08-061-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16182 b3059339-0415-0410-9bf9-f77b7e298cf2
* adds some more -identify output, patch by kiriuja < mplayer DASH patches PAM ↵gpoirier2005-06-201-0/+2
| | | | | | en DASH directo POUM net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15790 b3059339-0415-0410-9bf9-f77b7e298cf2
* do not define video_out_macosx if corevideo is not presentnplourde2005-05-051-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15348 b3059339-0415-0410-9bf9-f77b7e298cf2
* macosx core video modulenplourde2005-04-291-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15292 b3059339-0415-0410-9bf9-f77b7e298cf2
* added -wid support for vo_directx.joey2004-12-211-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14208 b3059339-0415-0410-9bf9-f77b7e298cf2
* it's stupid for the default to be something both slower (for xv+dr) and ↵rfelker2004-11-301-1/+1
| | | | | | visually incorrect.. use -nodouble if you want old behavior git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14067 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
* Add --enable and --disable options for vo_pnm and vo_md5sum to configure.ivo2004-10-231-0/+8
| | | | | | | | It's now possible to compile libvo without pnm and/or md5sum support. Default is enable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13745 b3059339-0415-0410-9bf9-f77b7e298cf2
* move the file writers after vo_null so they don't get autoselected - ↵alex2004-10-041-14/+13
| | | | | | following the same logic as in libao2 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13552 b3059339-0415-0410-9bf9-f77b7e298cf2
* Removal of vo_pgm and vo_md5, because they have been replaced by vo_pnmivo2004-09-291-4/+4
| | | | | | | | | | and vo_md5sum. If one tries to use the old video output drivers, a message is printed to direct them to the new drivers. Manual page is updated (or is this called downdated? :-) ). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13508 b3059339-0415-0410-9bf9-f77b7e298cf2
* This patch enables the compilation and linking of vo_md5sum to libvo.ivo2004-09-201-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13399 b3059339-0415-0410-9bf9-f77b7e298cf2
* This patch enables the compilation and linking of vo_pnm (the portableivo2004-09-201-0/+2
| | | | | | | anymap video output driver) to libvo. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13398 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
* moved vo_quartz higher in the listnplourde2004-06-171-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12602 b3059339-0415-0410-9bf9-f77b7e298cf2
* vo_quartz now default vo on OSXnplourde2004-05-301-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12513 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
* libcaca video output driver by Howell Tamalex2004-04-061-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12130 b3059339-0415-0410-9bf9-f77b7e298cf2
* Quartz/MacOSX video output module by Nicolas Plourdealex2004-04-051-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12121 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/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11543 b3059339-0415-0410-9bf9-f77b7e298cf2
* new zoran driver as discussed on the CVS list. Hardware passthrough isrik2003-11-041-0/+2
| | | | | | | | | currently supported. Testing: mplayer file.avi -vc zrmjpeg -vo zr2 -v git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11391 b3059339-0415-0410-9bf9-f77b7e298cf2
* Colorkeying can be disabled. Fbdev, svga and vesa vidix colorkeying supportalex2003-10-171-0/+1
| | | | | | | by Jake Page <jake@CS.Stanford.EDU> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11159 b3059339-0415-0410-9bf9-f77b7e298cf2
* consolevidix -> cvidixfaust32003-10-051-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11018 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
* new vidix vo modules for textmode console and windowsfaust32003-10-021-1/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10980 b3059339-0415-0410-9bf9-f77b7e298cf2
* vo_gl2 port to win32 patch by Tristan Seligmann <mithrandi-mplayer-dev-eng ↵faust32003-09-191-1/+3
| | | | | | at mithrandi.za.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10881 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_fbdev2 written by Joey Parrish with some minor modificationsalex2003-08-311-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10764 b3059339-0415-0410-9bf9-f77b7e298cf2
* TGA image output VO modulearpi2003-08-241-0/+6
| | | | | | | patch by Daniele Forghieri ( guru@digitalfantasy.it ) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10690 b3059339-0415-0410-9bf9-f77b7e298cf2
* basic xvmc image supportiive2003-06-211-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10317 b3059339-0415-0410-9bf9-f77b7e298cf2
* unleakalex2003-05-311-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10221 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000l to the author and for the commiter (me :)alex2003-05-011-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10048 b3059339-0415-0410-9bf9-f77b7e298cf2
* vo_xover is a new vo that should make easy to have x11 support foralbeu2003-03-121-0/+2
| | | | | | | | | | 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
* vo tdfx vid, even faster than tdfxfb and that's just the beginning ;)albeu2003-03-071-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9547 b3059339-0415-0410-9bf9-f77b7e298cf2
* linux->osdeparpi2003-02-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9381 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rearrange the vo and ao driver order to prefer the native drivers and givediego2003-01-031-3/+3
| | | | | | | a better out of the box experience on Cygwin. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8730 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed get_info, using the same sheme as in libmpcodecs insteadalex20